@datarailsshared/datarailsshared 1.6.185 → 1.6.189
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/datarailsshared-datarailsshared-1.6.189.tgz +0 -0
- package/esm2022/lib/dr-avatar/dr-avatar.component.mjs +1 -1
- package/esm2022/lib/dr-dropdown/dr-dropdown.directive.mjs +1 -1
- package/esm2022/lib/dr-error/dr-error.component.mjs +1 -1
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.mjs +9 -10
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.mjs +2 -3
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.mjs +14 -8
- package/esm2022/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-header.component.mjs +6 -6
- package/esm2022/lib/dr-inputs/date-pickers/services/dr-date-picker.service.mjs +2 -1
- package/esm2022/lib/dr-inputs/dr-select/dr-select.component.mjs +2 -2
- package/esm2022/lib/dr-list-overflow/dr-list-overflow.component.mjs +130 -0
- package/esm2022/lib/dr-popover/dr-popover.directive.mjs +1 -1
- package/esm2022/lib/dr-tooltip/dr-tooltip.directive.mjs +1 -1
- package/esm2022/lib/filter-dropdown/filter-dropdown.component.mjs +198 -173
- package/esm2022/lib/models/constants.mjs +1 -1
- package/esm2022/lib/models/dropdown.mjs +1 -1
- package/esm2022/lib/models/popover.mjs +1 -1
- package/esm2022/lib/models/position.mjs +2 -0
- package/esm2022/lib/text-overflow/text-overflow.component.mjs +7 -4
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/datarailsshared-datarailsshared.mjs +481 -342
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-avatar/dr-avatar.component.d.ts +2 -2
- package/lib/dr-dropdown/dr-dropdown.directive.d.ts +3 -2
- package/lib/dr-error/dr-error.component.d.ts +2 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +3 -3
- package/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.d.ts +2 -1
- package/lib/dr-inputs/date-pickers/services/dr-date-picker.service.d.ts +1 -0
- package/lib/dr-list-overflow/dr-list-overflow.component.d.ts +26 -0
- package/lib/dr-popover/dr-popover.directive.d.ts +2 -2
- package/lib/dr-tooltip/dr-tooltip.directive.d.ts +3 -2
- package/lib/filter-dropdown/filter-dropdown.component.d.ts +4 -4
- package/lib/models/constants.d.ts +3 -86
- package/lib/models/dropdown.d.ts +2 -2
- package/lib/models/popover.d.ts +2 -2
- package/lib/models/position.d.ts +1 -0
- package/lib/text-overflow/text-overflow.component.d.ts +3 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -2
- package/datarailsshared-datarailsshared-1.6.185.tgz +0 -0
- package/esm2022/lib/dr-tooltip/enums/tooltip-position.enum.mjs +0 -16
- package/lib/dr-tooltip/enums/tooltip-position.enum.d.ts +0 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, Output, Input, Injectable, inject, ChangeDetectorRef, DestroyRef, ChangeDetectionStrategy, HostBinding, TemplateRef, HostListener, Directive, forwardRef, ViewChild, ContentChild, Pipe, ComponentFactoryResolver, Injector, Inject, Optional, ViewEncapsulation, PLATFORM_ID, ContentChildren, NgModule, ElementRef, Host, ViewContainerRef, ViewChildren, InjectionToken, SkipSelf, booleanAttribute } from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, Output, Input, Injectable, inject, ChangeDetectorRef, DestroyRef, ChangeDetectionStrategy, HostBinding, TemplateRef, HostListener, Directive, forwardRef, ViewChild, ContentChild, Pipe, ComponentFactoryResolver, Injector, Inject, Optional, ViewEncapsulation, PLATFORM_ID, ContentChildren, NgModule, ElementRef, Host, ViewContainerRef, ViewChildren, InjectionToken, SkipSelf, booleanAttribute, Renderer2, numberAttribute } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, isPlatformBrowser, DOCUMENT } from '@angular/common';
|
|
5
5
|
import { MomentDateAdapter, MAT_MOMENT_DATE_ADAPTER_OPTIONS, MatMomentDateModule } from '@angular/material-moment-adapter';
|
|
@@ -383,6 +383,7 @@ class DrDatePickerService {
|
|
|
383
383
|
};
|
|
384
384
|
this.fiscalYearMonthsModifier = 0;
|
|
385
385
|
this.fiscalYearBack = false;
|
|
386
|
+
this.selectCurrentQuarter = false;
|
|
386
387
|
this._innerValue$ = new BehaviorSubject(null);
|
|
387
388
|
this.innerValue$ = this._innerValue$.asObservable();
|
|
388
389
|
}
|
|
@@ -694,7 +695,7 @@ var TooltipTheme;
|
|
|
694
695
|
TooltipTheme["DARK"] = "dark";
|
|
695
696
|
})(TooltipTheme || (TooltipTheme = {}));
|
|
696
697
|
|
|
697
|
-
const _c0$
|
|
698
|
+
const _c0$O = ["*"];
|
|
698
699
|
class TooltipDefaultComponent {
|
|
699
700
|
constructor() {
|
|
700
701
|
this.theme = TooltipTheme.LIGHT;
|
|
@@ -702,7 +703,7 @@ class TooltipDefaultComponent {
|
|
|
702
703
|
/** @nocollapse */ static { this.ɵfac = function TooltipDefaultComponent_Factory(t) { return new (t || TooltipDefaultComponent)(); }; }
|
|
703
704
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipDefaultComponent, selectors: [["dr-tooltip-default"]], hostVars: 2, hostBindings: function TooltipDefaultComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
704
705
|
i0.ɵɵclassMap(ctx.theme);
|
|
705
|
-
} }, inputs: { content: "content", theme: "theme" }, ngContentSelectors: _c0$
|
|
706
|
+
} }, inputs: { content: "content", theme: "theme" }, ngContentSelectors: _c0$O, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
706
707
|
i0.ɵɵprojectionDef();
|
|
707
708
|
i0.ɵɵelement(0, "span", 0);
|
|
708
709
|
i0.ɵɵprojection(1);
|
|
@@ -743,7 +744,7 @@ function TooltipComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
743
744
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
744
745
|
i0.ɵɵproperty("content", ctx_r3.content)("theme", ctx_r3.theme);
|
|
745
746
|
} }
|
|
746
|
-
const _c0$
|
|
747
|
+
const _c0$N = function (a0) { return { "dr-tooltip": a0 }; };
|
|
747
748
|
class TooltipComponent {
|
|
748
749
|
constructor() {
|
|
749
750
|
this.isContentTemplate = false;
|
|
@@ -773,7 +774,7 @@ class TooltipComponent {
|
|
|
773
774
|
} if (rf & 2) {
|
|
774
775
|
const _r2 = i0.ɵɵreference(4);
|
|
775
776
|
i0.ɵɵclassMap(ctx.position + " " + ctx.class + " " + ctx.theme);
|
|
776
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
777
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$N, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
|
|
777
778
|
i0.ɵɵadvance(1);
|
|
778
779
|
i0.ɵɵproperty("ngIf", !(ctx.options == null ? null : ctx.options.withoutArrow));
|
|
779
780
|
i0.ɵɵadvance(1);
|
|
@@ -1115,8 +1116,8 @@ class DrModelDebounceChangeDirective {
|
|
|
1115
1116
|
type: Output
|
|
1116
1117
|
}] }); })();
|
|
1117
1118
|
|
|
1118
|
-
const _c0$
|
|
1119
|
-
const _c1$
|
|
1119
|
+
const _c0$M = ["prefix"];
|
|
1120
|
+
const _c1$l = ["suffix"];
|
|
1120
1121
|
const _c2$c = ["inputRef"];
|
|
1121
1122
|
function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
1122
1123
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
@@ -1328,8 +1329,8 @@ class DrInputComponent {
|
|
|
1328
1329
|
}
|
|
1329
1330
|
/** @nocollapse */ static { this.ɵfac = function DrInputComponent_Factory(t) { return new (t || DrInputComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
1330
1331
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrInputComponent, selectors: [["dr-input"]], contentQueries: function DrInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1331
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
1332
|
-
i0.ɵɵcontentQuery(dirIndex, _c1$
|
|
1332
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$M, 5);
|
|
1333
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$l, 5);
|
|
1333
1334
|
} if (rf & 2) {
|
|
1334
1335
|
let _t;
|
|
1335
1336
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.prefixIcon = _t.first);
|
|
@@ -1452,8 +1453,8 @@ class DrInputComponent {
|
|
|
1452
1453
|
args: ['tabindex']
|
|
1453
1454
|
}] }); })();
|
|
1454
1455
|
|
|
1455
|
-
const _c0$
|
|
1456
|
-
const _c1$
|
|
1456
|
+
const _c0$L = ["labelTemplate"];
|
|
1457
|
+
const _c1$k = ["multiLabelTemplate"];
|
|
1457
1458
|
const _c2$b = ["optionTemplate"];
|
|
1458
1459
|
const _c3$6 = ["optionHeaderTemplate"];
|
|
1459
1460
|
const _c4$4 = ["optionFooterTemplate"];
|
|
@@ -1700,8 +1701,8 @@ class DrSelectComponent {
|
|
|
1700
1701
|
}
|
|
1701
1702
|
/** @nocollapse */ static { this.ɵfac = function DrSelectComponent_Factory(t) { return new (t || DrSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
1702
1703
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1703
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
1704
|
-
i0.ɵɵcontentQuery(dirIndex, _c1$
|
|
1704
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$L, 5);
|
|
1705
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$k, 5);
|
|
1705
1706
|
i0.ɵɵcontentQuery(dirIndex, _c2$b, 5);
|
|
1706
1707
|
i0.ɵɵcontentQuery(dirIndex, _c3$6, 5);
|
|
1707
1708
|
i0.ɵɵcontentQuery(dirIndex, _c4$4, 5);
|
|
@@ -1764,7 +1765,7 @@ class DrSelectComponent {
|
|
|
1764
1765
|
i0.ɵɵproperty("ngIf", ctx.groupBy);
|
|
1765
1766
|
i0.ɵɵadvance(2);
|
|
1766
1767
|
i0.ɵɵproperty("ngIf", ctx.type === "search-input");
|
|
1767
|
-
} }, dependencies: [i1$2.NgControlStatus, i1$2.NgModel, i1.NgIf, i1.NgTemplateOutlet, i3.NgSelectComponent, i3.NgOptgroupTemplateDirective, i3.NgOptionTemplateDirective, i3.NgLabelTemplateDirective, i3.NgMultiLabelTemplateDirective, i3.NgHeaderTemplateDirective, i3.NgFooterTemplateDirective, i3.NgLoadingSpinnerTemplateDirective, DrSpinnerDirective, DrInputComponent], styles: ["[_nghost-%COMP%]{width:100%;height:32px;font-family:Poppins,sans-serif}.textView[_nghost-%COMP%] {width:auto}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}.no-left-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.no-right-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.no-right-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-right:none!important}.no-left-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-left:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:\"\\ea17\";font-size:24px;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:\"\\ea75\";font-size:20px;color:#333}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}.ng-invalid.ng-touched[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] .dr-select__loading[_ngcontent-%COMP%]{position:relative;height:32px;width:24px}.search-input[_nghost-%COMP%]{position:relative}.search-input[_nghost-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-radius:16px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container input{height:100%} ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0} ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px} ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description, ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f} .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;overflow:hidden;pointer-events:none}"] }); }
|
|
1768
|
+
} }, dependencies: [i1$2.NgControlStatus, i1$2.NgModel, i1.NgIf, i1.NgTemplateOutlet, i3.NgSelectComponent, i3.NgOptgroupTemplateDirective, i3.NgOptionTemplateDirective, i3.NgLabelTemplateDirective, i3.NgMultiLabelTemplateDirective, i3.NgHeaderTemplateDirective, i3.NgFooterTemplateDirective, i3.NgLoadingSpinnerTemplateDirective, DrSpinnerDirective, DrInputComponent], styles: ["[_nghost-%COMP%]{width:100%;height:32px;font-family:Poppins,sans-serif}.textView[_nghost-%COMP%] {width:auto}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}.textView[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, .textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}.textView[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}.no-left-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.no-right-border-radius[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.no-right-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-right:none!important}.no-left-border[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-left:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:\"\\ea17\";font-size:24px;color:#6d6e6f}[_nghost-%COMP%] ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:\"\\ea74\";font-size:20px;color:#333}[_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value, [_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}[_nghost-%COMP%] ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container, [_nghost-%COMP%] ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}[_nghost-%COMP%] ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label, [_nghost-%COMP%] ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}.ng-invalid.ng-touched[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-color:#bf1d30}[_nghost-%COMP%] .dr-select__loading[_ngcontent-%COMP%]{position:relative;height:32px;width:24px}.search-input[_nghost-%COMP%]{position:relative}.search-input[_nghost-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container{border-radius:16px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}.search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-input input, .search-input[_nghost-%COMP%] ng-select.ng-select .ng-select-container .ng-value-container input{height:100%} ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0} ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span, ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3} ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333} ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px} ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description, ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f} .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;overflow:hidden;pointer-events:none}"] }); }
|
|
1768
1769
|
}
|
|
1769
1770
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrSelectComponent, [{
|
|
1770
1771
|
type: Component,
|
|
@@ -1774,7 +1775,7 @@ class DrSelectComponent {
|
|
|
1774
1775
|
useExisting: DrSelectComponent,
|
|
1775
1776
|
multi: true,
|
|
1776
1777
|
},
|
|
1777
|
-
], template: "<ng-select\n [(ngModel)]=\"selectedItem\"\n [items]=\"items\"\n [bindLabel]=\"bindLabel\"\n [bindValue]=\"bindValue\"\n [multiple]=\"multiple\"\n [addTag]=\"addTag\"\n [appendTo]=\"appendTo\"\n [clearable]=\"clearable\"\n [searchable]=\"searchable\"\n [hideSelected]=\"hideSelected\"\n [placeholder]=\"placeholder\"\n [loading]=\"loading\"\n [loadingText]=\"loadingText\"\n [readonly]=\"readonly\"\n [closeOnSelect]=\"closeOnSelect\"\n [disabled]=\"disabled\"\n [labelForId]=\"id\"\n [maxSelectedItems]=\"maxSelectedItems\"\n [keyDownFn]=\"keyDownFn\"\n [searchFn]=\"searchFn\"\n [isOpen]=\"(type !== 'search-input' || !!selectComponent.searchTerm?.length) && isOpen\"\n [groupBy]=\"groupBy\"\n [attr.autofocus]=\"autofocus\"\n [selectOnTab]=\"selectOnTabKeyPress\"\n [virtualScroll]=\"virtualScroll\"\n [typeahead]=\"typeahead\"\n (search)=\"search.emit($event)\"\n (scrollToEnd)=\"scrollToEnd.emit($event)\"\n (keydown.tab)=\"onTabKeypress($event)\"\n [compareWith]=\"compareWith\"\n (change)=\"onValueSelected(selectedItem)\"\n (open)=\"open.emit($event); onDropdownOpen()\"\n (close)=\"onClose($event)\"\n class=\"dr-select\"\n [class.ng-select--no-value-padding]=\"noValuePadding\"\n [class.ng-select--multiple-height-increased]=\"multipleHeightIncreased\"\n #selectComponent>\n <ng-template *ngIf=\"optionHeaderTemplate\" ng-header-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"optionHeaderTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template\n ng-header-tmp\n *ngIf=\"!optionHeaderTemplate && isDisplayingSearchInHeader && items?.length >= minItemsToDisplaySearchInHeader\"\n let-item=\"item\">\n <dr-input\n class=\"dr-select__search\"\n [ngModel]=\"selectComponent.searchTerm\"\n (ngModelChange)=\"selectComponent.itemsList.filter($event + '')\"\n type=\"search\">\n </dr-input>\n </ng-template>\n <ng-template *ngIf=\"labelTemplate\" ng-label-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"multiLabelTemplate\" ng-multi-label-tmp let-items=\"items\" let-clear=\"clear\">\n <ng-container [ngTemplateOutlet]=\"multiLabelTemplate\" [ngTemplateOutletContext]=\"{ items: items, clear: clear }\">\n </ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionTemplate\" ng-option-tmp let-item=\"item\" let-item$=\"item$\">\n <ng-container [ngTemplateOutlet]=\"optionTemplate\" [ngTemplateOutletContext]=\"{ item: item, item$: item$ }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionWithDescription\" ng-option-tmp let-item=\"item\">\n <div class=\"dr-select__option-with-desc__wrapper\">\n <div>{{ item.name }}</div>\n <div class=\"dr-select__option-with-desc__description\">{{ item?.description }}</div>\n </div>\n </ng-template>\n <ng-template *ngIf=\"optionFooterTemplate\" ng-footer-tmp let-item=\"item\">\n <ng-container\n [ngTemplateOutlet]=\"optionFooterTemplate\"\n [ngTemplateOutletContext]=\"{ item: item, close: selectComponent.close.bind(selectComponent) }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"groupBy\" ng-optgroup-tmp let-item=\"item\">\n {{ item[groupBy] }}\n </ng-template>\n <ng-template ng-loadingspinner-tmp>\n <div\n *ngIf=\"loading\"\n class=\"dr-select__loading\"\n [drSpinner]=\"loading\"\n [drSpinnerType]=\"'circle'\"\n [drSpinnerSize]=\"'small'\"\n [drSpinnerNoOverlay]=\"true\"></div>\n </ng-template>\n</ng-select>\n<i *ngIf=\"type === 'search-input'\" class=\"search-icon dr-icon-search\"></i>\n", styles: [":host{width:100%;height:32px;font-family:Poppins,sans-serif}:host.textView::ng-deep{width:auto}:host.textView::ng-deep ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}:host.no-left-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}:host.no-right-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}:host.no-right-border ::ng-deep ng-select.ng-select .ng-select-container{border-right:none!important}:host.no-left-border ::ng-deep ng-select.ng-select .ng-select-container{border-left:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:\"\\ea17\";font-size:24px;color:#6d6e6f}:host ::ng-deep ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:\"\\ea75\";font-size:20px;color:#333}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon,:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}:host.ng-invalid.ng-touched::ng-deep ng-select.ng-select .ng-select-container{border-color:#bf1d30}:host .dr-select__loading{position:relative;height:32px;width:24px}:host.search-input{position:relative}:host.search-input .search-icon{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}:host.search-input::ng-deep ng-select.ng-select .ng-select-container{border-radius:16px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container input{height:100%}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f}::ng-deep .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop{position:fixed;inset:0;overflow:hidden;pointer-events:none}\n"] }]
|
|
1778
|
+
], template: "<ng-select\n [(ngModel)]=\"selectedItem\"\n [items]=\"items\"\n [bindLabel]=\"bindLabel\"\n [bindValue]=\"bindValue\"\n [multiple]=\"multiple\"\n [addTag]=\"addTag\"\n [appendTo]=\"appendTo\"\n [clearable]=\"clearable\"\n [searchable]=\"searchable\"\n [hideSelected]=\"hideSelected\"\n [placeholder]=\"placeholder\"\n [loading]=\"loading\"\n [loadingText]=\"loadingText\"\n [readonly]=\"readonly\"\n [closeOnSelect]=\"closeOnSelect\"\n [disabled]=\"disabled\"\n [labelForId]=\"id\"\n [maxSelectedItems]=\"maxSelectedItems\"\n [keyDownFn]=\"keyDownFn\"\n [searchFn]=\"searchFn\"\n [isOpen]=\"(type !== 'search-input' || !!selectComponent.searchTerm?.length) && isOpen\"\n [groupBy]=\"groupBy\"\n [attr.autofocus]=\"autofocus\"\n [selectOnTab]=\"selectOnTabKeyPress\"\n [virtualScroll]=\"virtualScroll\"\n [typeahead]=\"typeahead\"\n (search)=\"search.emit($event)\"\n (scrollToEnd)=\"scrollToEnd.emit($event)\"\n (keydown.tab)=\"onTabKeypress($event)\"\n [compareWith]=\"compareWith\"\n (change)=\"onValueSelected(selectedItem)\"\n (open)=\"open.emit($event); onDropdownOpen()\"\n (close)=\"onClose($event)\"\n class=\"dr-select\"\n [class.ng-select--no-value-padding]=\"noValuePadding\"\n [class.ng-select--multiple-height-increased]=\"multipleHeightIncreased\"\n #selectComponent>\n <ng-template *ngIf=\"optionHeaderTemplate\" ng-header-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"optionHeaderTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template\n ng-header-tmp\n *ngIf=\"!optionHeaderTemplate && isDisplayingSearchInHeader && items?.length >= minItemsToDisplaySearchInHeader\"\n let-item=\"item\">\n <dr-input\n class=\"dr-select__search\"\n [ngModel]=\"selectComponent.searchTerm\"\n (ngModelChange)=\"selectComponent.itemsList.filter($event + '')\"\n type=\"search\">\n </dr-input>\n </ng-template>\n <ng-template *ngIf=\"labelTemplate\" ng-label-tmp let-item=\"item\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ item: item }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"multiLabelTemplate\" ng-multi-label-tmp let-items=\"items\" let-clear=\"clear\">\n <ng-container [ngTemplateOutlet]=\"multiLabelTemplate\" [ngTemplateOutletContext]=\"{ items: items, clear: clear }\">\n </ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionTemplate\" ng-option-tmp let-item=\"item\" let-item$=\"item$\">\n <ng-container [ngTemplateOutlet]=\"optionTemplate\" [ngTemplateOutletContext]=\"{ item: item, item$: item$ }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"optionWithDescription\" ng-option-tmp let-item=\"item\">\n <div class=\"dr-select__option-with-desc__wrapper\">\n <div>{{ item.name }}</div>\n <div class=\"dr-select__option-with-desc__description\">{{ item?.description }}</div>\n </div>\n </ng-template>\n <ng-template *ngIf=\"optionFooterTemplate\" ng-footer-tmp let-item=\"item\">\n <ng-container\n [ngTemplateOutlet]=\"optionFooterTemplate\"\n [ngTemplateOutletContext]=\"{ item: item, close: selectComponent.close.bind(selectComponent) }\"></ng-container>\n </ng-template>\n <ng-template *ngIf=\"groupBy\" ng-optgroup-tmp let-item=\"item\">\n {{ item[groupBy] }}\n </ng-template>\n <ng-template ng-loadingspinner-tmp>\n <div\n *ngIf=\"loading\"\n class=\"dr-select__loading\"\n [drSpinner]=\"loading\"\n [drSpinnerType]=\"'circle'\"\n [drSpinnerSize]=\"'small'\"\n [drSpinnerNoOverlay]=\"true\"></div>\n </ng-template>\n</ng-select>\n<i *ngIf=\"type === 'search-input'\" class=\"search-icon dr-icon-search\"></i>\n", styles: [":host{width:100%;height:32px;font-family:Poppins,sans-serif}:host.textView::ng-deep{width:auto}:host.textView::ng-deep ng-select.ng-select .ng-select-container{border:none!important;cursor:pointer}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0;color:#4646ce}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-value-container:hover{text-decoration-line:underline}:host.textView::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#fff!important;border:none!important;cursor:default}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host.textView::ng-deep ng-select.ng-select.ng-select-disabled .ng-value-container:hover{text-decoration-line:none}:host.no-left-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-left-radius:0!important;border-top-left-radius:0!important}:host.no-right-border-radius ::ng-deep ng-select.ng-select .ng-select-container{border-bottom-right-radius:0!important;border-top-right-radius:0!important}:host.no-right-border ::ng-deep ng-select.ng-select .ng-select-container{border-right:none!important}:host.no-left-border ::ng-deep ng-select.ng-select .ng-select-container{border-left:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px;border:1px solid #9ea1aa;box-shadow:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container:hover{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container:focus-within{border-color:#4646ce}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input{font-size:14px;line-height:24px;font-weight:400;top:0!important;padding:0 50px 0 8px!important;color:#333}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input input::placeholder{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;padding:0 0 0 8px;height:100%;overflow:auto}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{margin-right:7px}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow{border:none;width:auto;height:auto;display:flex;text-decoration-line:none;top:0}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper .ng-arrow:before{font-family:DataRails!important;content:\"\\ea17\";font-size:24px;color:#6d6e6f}:host ::ng-deep ng-select.ng-select.ng-select-opened .ng-select-container{border-radius:6px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{font-size:14px;line-height:24px;font-weight:400;max-height:58px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:12px;line-height:16px;font-weight:400;color:#333;height:24px;padding:2px 16px;margin:2px 4px 2px 0;background:#f0f1f4;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{padding:0!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0!important;width:20px;display:flex;align-items:center;color:transparent;margin-left:4px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:before{font-family:DataRails!important;content:\"\\ea74\";font-size:20px;color:#333}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon,:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#f0f1f4!important;border:1px solid #aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#aeabac!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-arrow:before{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-input input::placeholder{color:#aeabac}:host ::ng-deep ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#bf1d30}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container{max-height:88px}:host ::ng-deep ng-select.ng-select--multiple-height-increased.ng-select-multiple .ng-select-container .ng-value-container{max-height:88px}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value{padding:0}:host ::ng-deep ng-select.ng-select--no-value-padding .ng-select-container .ng-value-container .ng-value .ng-select-user-label,:host ::ng-deep ng-select.ng-select--no-value-padding.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-select-user-label{height:100%}:host.ng-invalid.ng-touched::ng-deep ng-select.ng-select .ng-select-container{border-color:#bf1d30}:host .dr-select__loading{position:relative;height:32px;width:24px}:host.search-input{position:relative}:host.search-input .search-icon{position:absolute;top:4px;right:16px;color:#6d6e6f;z-index:1001}:host.search-input::ng-deep ng-select.ng-select .ng-select-container{border-radius:16px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-arrow-wrapper{display:none!important}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper{display:flex;justify-content:center;align-items:center;right:40px;top:1px;width:24px;height:24px}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-clear-wrapper .ng-clear{font-size:24px;font-weight:300;color:#6d6e6f}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 16px!important;width:calc(100% - 63px)}:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-input input,:host.search-input::ng-deep ng-select.ng-select .ng-select-container .ng-value-container input{height:100%}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select{font-family:Poppins,sans-serif;border:1px solid #dfe0e3;border-radius:4px!important;margin:8px 0;box-shadow:0 4px 8px 1px #00000040;background-color:#fff;overflow:hidden;padding:8px 0}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.textView{width:auto!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:8px 12px;font-size:14px;line-height:22px;background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#f5f5f5}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#eaeaff;color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:400!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled{cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled>div.dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#aeabac}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]{font-size:14px;line-height:22px;color:#aeabac;cursor:default}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:not(:first-of-type){border-top:1px solid #dfe0e3}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-disabled[role=group]:hover{background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper{color:#333}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{max-width:-moz-fit-content;max-width:fit-content;word-break:break-word;white-space:normal;color:#6d6e6f;font-weight:400;font-size:12px;line-height:20px}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select.ng-option-selected.ng-option-marked .dr-select__option-with-desc__wrapper .dr-select__option-with-desc__description{color:#6d6e6f}::ng-deep .ng-dropdown-panel--with-search .ng-dropdown-header{border-bottom:none}.custom-backdrop{position:fixed;inset:0;overflow:hidden;pointer-events:none}\n"] }]
|
|
1778
1779
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, { type: [{
|
|
1779
1780
|
type: Input
|
|
1780
1781
|
}, {
|
|
@@ -1902,8 +1903,8 @@ class DrShowTimeframePipe {
|
|
|
1902
1903
|
}]
|
|
1903
1904
|
}], null, null); })();
|
|
1904
1905
|
|
|
1905
|
-
const _c0$
|
|
1906
|
-
const _c1$
|
|
1906
|
+
const _c0$K = ["class", "component"];
|
|
1907
|
+
const _c1$j = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
|
|
1907
1908
|
function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1908
1909
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
1909
1910
|
i0.ɵɵelementStart(0, "div", 14);
|
|
@@ -1913,7 +1914,7 @@ function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) {
|
|
|
1913
1914
|
} if (rf & 2) {
|
|
1914
1915
|
const tag_r5 = ctx.$implicit;
|
|
1915
1916
|
const ctx_r4 = i0.ɵɵnextContext(3);
|
|
1916
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
1917
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$j, tag_r5.key === ctx_r4.selectedPresetTag))("drTooltip", ctx_r4.selectedPresetTag === tag_r5.key ? "Unselect preset" : "")("drTooltipPosition", "top");
|
|
1917
1918
|
i0.ɵɵadvance(1);
|
|
1918
1919
|
i0.ɵɵtextInterpolate1(" ", tag_r5.label, " ");
|
|
1919
1920
|
} }
|
|
@@ -1961,13 +1962,13 @@ function DrDatePickerCustomHeaderComponent_div_11_div_2_Template(rf, ctx) { if (
|
|
|
1961
1962
|
const quarter_r12 = ctx.$implicit;
|
|
1962
1963
|
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
1963
1964
|
i0.ɵɵclassMap(quarter_r12 === ctx_r11.selectedQuarter ? "selected" : "");
|
|
1964
|
-
i0.ɵɵclassProp("quarter-selector--disabled", ctx_r11.isQuarterDisabled(quarter_r12));
|
|
1965
|
+
i0.ɵɵclassProp("quarter-selector--disabled", ctx_r11.isQuarterDisabled(quarter_r12))("quarter-selector--select-current-quarter", ctx_r11.datePickerService.selectCurrentQuarter);
|
|
1965
1966
|
i0.ɵɵadvance(1);
|
|
1966
1967
|
i0.ɵɵtextInterpolate1(" Q", quarter_r12, " ");
|
|
1967
1968
|
} }
|
|
1968
1969
|
function DrDatePickerCustomHeaderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
1969
1970
|
i0.ɵɵelementStart(0, "div", 16, 17);
|
|
1970
|
-
i0.ɵɵtemplate(2, DrDatePickerCustomHeaderComponent_div_11_div_2_Template, 2,
|
|
1971
|
+
i0.ɵɵtemplate(2, DrDatePickerCustomHeaderComponent_div_11_div_2_Template, 2, 7, "div", 18);
|
|
1971
1972
|
i0.ɵɵelementEnd();
|
|
1972
1973
|
} if (rf & 2) {
|
|
1973
1974
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -2050,7 +2051,10 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
2050
2051
|
_calendar.currentView = this.selectedTimeframe;
|
|
2051
2052
|
this.setPeriodLabels();
|
|
2052
2053
|
if (this.selectedTimeframe === CalendarView.FOR_QUARTERS) {
|
|
2053
|
-
|
|
2054
|
+
const date = this.datePickerService.selectCurrentQuarter
|
|
2055
|
+
? this._calendar.selected ?? this._calendar.activeDate
|
|
2056
|
+
: this._calendar.activeDate;
|
|
2057
|
+
this.selectedQuarter = this.datePickerService.getQuarterAccordingToFiscalYear(date);
|
|
2054
2058
|
}
|
|
2055
2059
|
});
|
|
2056
2060
|
this.listenToCalendarViewChanges();
|
|
@@ -2105,7 +2109,10 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
2105
2109
|
const chosenTimeframeOption = this.timeframeOptions.filter((option) => option.value === this.selectedTimeframe)[0];
|
|
2106
2110
|
this.datePickerService.updateTimeframeAndFormat(chosenTimeframeOption.format);
|
|
2107
2111
|
if (this.selectedTimeframe === CalendarView.FOR_QUARTERS) {
|
|
2108
|
-
|
|
2112
|
+
const date = this.datePickerService.selectCurrentQuarter
|
|
2113
|
+
? this._calendar.selected ?? this._calendar.activeDate
|
|
2114
|
+
: this._calendar.activeDate;
|
|
2115
|
+
this.selectedQuarter = this.datePickerService.getQuarterAccordingToFiscalYear(date);
|
|
2109
2116
|
}
|
|
2110
2117
|
}
|
|
2111
2118
|
get currentViewIsQuarter() {
|
|
@@ -2187,7 +2194,7 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
2187
2194
|
calendar.insertBefore(selector.location.nativeElement, calendar.firstChild);
|
|
2188
2195
|
}
|
|
2189
2196
|
/** @nocollapse */ static { this.ɵfac = function DrDatePickerCustomHeaderComponent_Factory(t) { return new (t || DrDatePickerCustomHeaderComponent)(i0.ɵɵdirectiveInject(i6.MatCalendar), i0.ɵɵdirectiveInject(i1$4.DateAdapter), i0.ɵɵdirectiveInject(MAT_DATE_FORMATS), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
|
|
2190
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$
|
|
2197
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$K, decls: 12, vars: 4, consts: [["class", "dr-datepicker__timeframe-select__wrapper", 4, "ngIf"], [1, "dr-date-paging"], [1, "dr-date-paging", "flip-page-button", 3, "click"], [1, "dr-icon-arrow-left", "presentation_buttons-navigate_input"], [1, "example-header-label"], [3, "click"], [1, "dr-icon-arrow-right", "presentation_buttons-navigate_input"], ["class", "dr-quarterly-datepicker", 4, "ngIf"], [1, "dr-datepicker__timeframe-select__wrapper"], ["class", "dr-datepicker-preset-date", 4, "ngIf"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["id", "preset_tag", "class", "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click", 4, "ngFor", "ngForOf"], ["id", "preset_tag", 1, "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector", 3, "class", "quarter-selector--disabled", "quarter-selector--select-current-quarter", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", 3, "click"]], template: function DrDatePickerCustomHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2191
2198
|
i0.ɵɵtemplate(0, DrDatePickerCustomHeaderComponent_div_0_Template, 3, 2, "div", 0);
|
|
2192
2199
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
|
|
2193
2200
|
i0.ɵɵlistener("click", function DrDatePickerCustomHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
|
|
@@ -2214,11 +2221,11 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
2214
2221
|
i0.ɵɵtextInterpolate(ctx.periodYearLabel);
|
|
2215
2222
|
i0.ɵɵadvance(3);
|
|
2216
2223
|
i0.ɵɵproperty("ngIf", ctx.currentViewIsQuarter);
|
|
2217
|
-
} }, dependencies: [i1$2.NgControlStatus, i1$2.NgModel, i1.NgClass, i1.NgForOf, i1.NgIf, DrTooltipDirective, DrSelectComponent, DrShowTimeframePipe], styles: ["[_nghost-%COMP%]{height:54px;align-items:center;font-family:Poppins;font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper[_ngcontent-%COMP%]{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-datepicker-preset-date[_ngcontent-%COMP%]{display:flex;flex-direction:column}.dr-datepicker-preset-date__tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:8px;padding-bottom:21px;padding-top:10px;font-size:12px}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%]{padding:16px 32px;gap:16px;justify-content:center}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%] .dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{padding:4px 8px;justify-content:center;display:flex;flex:1 0 0}.dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{cursor:pointer;font-weight:400;line-height:20px!important;padding:2px 8px;border:1px solid #9ea1aa;border-radius:18px;background:#fff;margin-right:4px}.dr-datepicker-preset-date__tags__tag--selected[_ngcontent-%COMP%]{color:#4646ce;background:#f2f2fb;border:1px solid #4646ce}.dr-date-paging[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 32px 32px;gap:4px}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]:hover{border-radius:50%;background:#f2f2fb;color:#4646ce}.example-header-label[_ngcontent-%COMP%]{cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]:hover{background:#f2f2fb;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector.selected[_ngcontent-%COMP%]{background-color:#4646ce;color:#f3f7ff;font-weight:600}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled[_ngcontent-%COMP%], .dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled.selected[_ngcontent-%COMP%]{pointer-events:none;background-color:transparent;color:#aeabac;font-weight:400}"], changeDetection: 0 }); }
|
|
2224
|
+
} }, dependencies: [i1$2.NgControlStatus, i1$2.NgModel, i1.NgClass, i1.NgForOf, i1.NgIf, DrTooltipDirective, DrSelectComponent, DrShowTimeframePipe], styles: ["[_nghost-%COMP%]{height:54px;align-items:center;font-family:Poppins;font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper[_ngcontent-%COMP%]{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-datepicker-preset-date[_ngcontent-%COMP%]{display:flex;flex-direction:column}.dr-datepicker-preset-date__tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:8px;padding-bottom:21px;padding-top:10px;font-size:12px}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%]{padding:16px 32px;gap:16px;justify-content:center}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%] .dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{padding:4px 8px;justify-content:center;display:flex;flex:1 0 0}.dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{cursor:pointer;font-weight:400;line-height:20px!important;padding:2px 8px;border:1px solid #9ea1aa;border-radius:18px;background:#fff;margin-right:4px}.dr-datepicker-preset-date__tags__tag--selected[_ngcontent-%COMP%]{color:#4646ce;background:#f2f2fb;border:1px solid #4646ce}.dr-date-paging[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 32px 32px;gap:4px}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]:hover{border-radius:50%;background:#f2f2fb;color:#4646ce}.example-header-label[_ngcontent-%COMP%]{cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]:hover{background:#f2f2fb;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector.selected[_ngcontent-%COMP%]{background-color:#4646ce;color:#f3f7ff;font-weight:600}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled[_ngcontent-%COMP%], .dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled.selected[_ngcontent-%COMP%]{pointer-events:none;background-color:transparent;color:#aeabac;font-weight:400}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--select-current-quarter.quarter-selector--disabled.selected[_ngcontent-%COMP%]{pointer-events:none;background-color:#673ab7;opacity:.4;color:#f2f2fb;font-weight:400}"], changeDetection: 0 }); }
|
|
2218
2225
|
}
|
|
2219
2226
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrDatePickerCustomHeaderComponent, [{
|
|
2220
2227
|
type: Component,
|
|
2221
|
-
args: [{ selector: 'dr-date-picker_custom-header.component', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <div *ngIf=\"datePickerService.isUsingDateTagPresets\" class=\"dr-datepicker-preset-date\">\n <div
|
|
2228
|
+
args: [{ selector: 'dr-date-picker_custom-header.component', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <div *ngIf=\"datePickerService.isUsingDateTagPresets\" class=\"dr-datepicker-preset-date\">\n <div\n class=\"dr-datepicker-preset-date__tags\"\n [ngClass]=\"{ 'dr-datepicker-preset-date__tags--solo': !datePickerService.isUsingTimeFrameSelect }\">\n <div\n *ngFor=\"let tag of datePickerService.availableDateTagPresets\"\n id=\"preset_tag\"\n class=\"dr-datepicker-preset-date__tags__tag\"\n (click)=\"onSelectPresetTag(tag)\"\n [ngClass]=\"{ 'dr-datepicker-preset-date__tags__tag--selected': tag.key === selectedPresetTag }\"\n [drTooltip]=\"selectedPresetTag === tag.key ? 'Unselect preset' : ''\"\n [drTooltipPosition]=\"'top'\">\n {{ tag.label }}\n </div>\n </div>\n </div>\n <dr-select\n *ngIf=\"datePickerService.isUsingTimeFrameSelect\"\n class=\"dr-datepicker__timeframe-select\"\n [ngModel]=\"selectedTimeframe\"\n [items]=\"timeframeOptions | drShowTimeframePipe: datePickerService.availableTimeframes\"\n bindLabel=\"title\"\n bindValue=\"value\"\n (ngModelChange)=\"setTimeframe($event)\">\n </dr-select>\n</div>\n\n<div class=\"dr-date-paging\">\n <div class=\"dr-date-paging flip-page-button\" (click)=\"pagingClicked(false)\">\n <i class=\"dr-icon-arrow-left presentation_buttons-navigate_input\"></i>\n </div>\n <span class=\"example-header-label\">\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_MONTHS)\">{{ periodMonthLabel + ' ' }}</span>\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_YEARS)\">{{ periodYearLabel }}</span>\n </span>\n <div class=\"dr-date-paging flip-page-button\" (click)=\"pagingClicked(true)\">\n <i class=\"dr-icon-arrow-right presentation_buttons-navigate_input\"></i>\n </div>\n</div>\n<div #quarterlyDatePicker class=\"dr-quarterly-datepicker\" *ngIf=\"currentViewIsQuarter\">\n <div\n *ngFor=\"let quarter of quarters\"\n class=\"quarter-selector\"\n (click)=\"onSelectQuarter(quarter)\"\n [class]=\"quarter === selectedQuarter ? 'selected' : ''\"\n [class.quarter-selector--disabled]=\"isQuarterDisabled(quarter)\"\n [class.quarter-selector--select-current-quarter]=\"datePickerService.selectCurrentQuarter\">\n Q{{ quarter }}\n </div>\n</div>\n", styles: [":host{height:54px;align-items:center;font-family:Poppins;font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-datepicker-preset-date{display:flex;flex-direction:column}.dr-datepicker-preset-date__tags{display:flex;flex-wrap:wrap;row-gap:8px;padding-bottom:21px;padding-top:10px;font-size:12px}.dr-datepicker-preset-date__tags--solo{padding:16px 32px;gap:16px;justify-content:center}.dr-datepicker-preset-date__tags--solo .dr-datepicker-preset-date__tags__tag{padding:4px 8px;justify-content:center;display:flex;flex:1 0 0}.dr-datepicker-preset-date__tags__tag{cursor:pointer;font-weight:400;line-height:20px!important;padding:2px 8px;border:1px solid #9ea1aa;border-radius:18px;background:#fff;margin-right:4px}.dr-datepicker-preset-date__tags__tag--selected{color:#4646ce;background:#f2f2fb;border:1px solid #4646ce}.dr-date-paging{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 32px 32px;gap:4px}.dr-date-paging.flip-page-button{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button:hover{border-radius:50%;background:#f2f2fb;color:#4646ce}.example-header-label{cursor:pointer}.dr-quarterly-datepicker{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker .quarter-selector{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker .quarter-selector:hover{background:#f2f2fb;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker .quarter-selector.selected{background-color:#4646ce;color:#f3f7ff;font-weight:600}.dr-quarterly-datepicker .quarter-selector--disabled,.dr-quarterly-datepicker .quarter-selector--disabled.selected{pointer-events:none;background-color:transparent;color:#aeabac;font-weight:400}.dr-quarterly-datepicker .quarter-selector--select-current-quarter.quarter-selector--disabled.selected{pointer-events:none;background-color:#673ab7;opacity:.4;color:#f2f2fb;font-weight:400}\n"] }]
|
|
2222
2229
|
}], function () { return [{ type: i6.MatCalendar }, { type: i1$4.DateAdapter }, { type: CustomDateFormat, decorators: [{
|
|
2223
2230
|
type: Inject,
|
|
2224
2231
|
args: [MAT_DATE_FORMATS]
|
|
@@ -2275,7 +2282,7 @@ function DrButtonComponent_i_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
2275
2282
|
i0.ɵɵclassMap(ctx_r2.iconAfter);
|
|
2276
2283
|
i0.ɵɵstyleProp("font-size", ctx_r2.iconAfterSize)("color", ctx_r2.iconAfterColor || "inherit");
|
|
2277
2284
|
} }
|
|
2278
|
-
const _c0$
|
|
2285
|
+
const _c0$J = ["*"];
|
|
2279
2286
|
class DrButtonComponent {
|
|
2280
2287
|
constructor() {
|
|
2281
2288
|
this.theme = 'primary';
|
|
@@ -2289,7 +2296,7 @@ class DrButtonComponent {
|
|
|
2289
2296
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrButtonComponent, selectors: [["dr-button"]], hostVars: 12, hostBindings: function DrButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
2290
2297
|
i0.ɵɵclassMap(ctx.theme);
|
|
2291
2298
|
i0.ɵɵclassProp("with-icon", ctx.icon)("with-icon-after", ctx.iconAfter)("disabled", ctx.disabled)("loading", ctx.isLoading)("active", ctx.isActive);
|
|
2292
|
-
} }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
2299
|
+
} }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$J, decls: 5, vars: 4, consts: [[3, "disabled"], ["class", "dr-button__icon", 3, "class", "font-size", "color", 4, "ngIf"], ["class", "dr-button__spinner", 4, "ngIf"], ["class", "dr-button__icon dr-button__icon--after", 3, "class", "font-size", "color", 4, "ngIf"], [1, "dr-button__icon"], [1, "dr-button__spinner"], [1, "dr-icon-load"], [1, "dr-button__icon", "dr-button__icon--after"]], template: function DrButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2293
2300
|
i0.ɵɵprojectionDef();
|
|
2294
2301
|
i0.ɵɵelementStart(0, "button", 0);
|
|
2295
2302
|
i0.ɵɵtemplate(1, DrButtonComponent_i_1_Template, 1, 6, "i", 1);
|
|
@@ -2398,7 +2405,7 @@ class DrDatePickerFormatDirective {
|
|
|
2398
2405
|
args: ['drDatePickerFormat']
|
|
2399
2406
|
}] }); })();
|
|
2400
2407
|
|
|
2401
|
-
const _c0$
|
|
2408
|
+
const _c0$I = ["datePicker"];
|
|
2402
2409
|
function DrDatePickerComponent_i_0_Template(rf, ctx) { if (rf & 1) {
|
|
2403
2410
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
2404
2411
|
i0.ɵɵelementStart(0, "i", 2);
|
|
@@ -2527,8 +2534,7 @@ class DrDatePickerComponent {
|
|
|
2527
2534
|
this.placeholder = 'Select...';
|
|
2528
2535
|
this.fiscalYearMonthsModifier = 0;
|
|
2529
2536
|
this.fiscalYearBack = false;
|
|
2530
|
-
|
|
2531
|
-
this.fixForNormalizedValueWithMaxDate = false;
|
|
2537
|
+
this.selectCurrentQuarter = false;
|
|
2532
2538
|
this.destroyed$ = new Subject();
|
|
2533
2539
|
this.calendarViewsTimeframeMapping = {
|
|
2534
2540
|
year: 'multi-year',
|
|
@@ -2587,6 +2593,7 @@ class DrDatePickerComponent {
|
|
|
2587
2593
|
this.datePickerService.fiscalYearMonthsModifier = this.fiscalYearMonthsModifier;
|
|
2588
2594
|
this.datePickerService.fiscalYearBack = this.fiscalYearBack;
|
|
2589
2595
|
this.datePickerService.datepickerFilter = this.dateFilter;
|
|
2596
|
+
this.datePickerService.selectCurrentQuarter = this.selectCurrentQuarter;
|
|
2590
2597
|
}
|
|
2591
2598
|
ngOnDestroy() {
|
|
2592
2599
|
this.destroyed$.next();
|
|
@@ -2602,6 +2609,9 @@ class DrDatePickerComponent {
|
|
|
2602
2609
|
if (changes.fiscalYearBack) {
|
|
2603
2610
|
this.datePickerService.fiscalYearBack = this.fiscalYearBack;
|
|
2604
2611
|
}
|
|
2612
|
+
if (changes.selectCurrentQuarter) {
|
|
2613
|
+
this.datePickerService.selectCurrentQuarter = this.selectCurrentQuarter;
|
|
2614
|
+
}
|
|
2605
2615
|
}
|
|
2606
2616
|
/**
|
|
2607
2617
|
* Updating component inner value according to datepicker timeframe (day, month etc.)
|
|
@@ -2609,7 +2619,7 @@ class DrDatePickerComponent {
|
|
|
2609
2619
|
*/
|
|
2610
2620
|
tryToNormalizeTimeframe() {
|
|
2611
2621
|
const timeframe = this.datePickerService.timeframe;
|
|
2612
|
-
|
|
2622
|
+
const normalizedValue = this.innerValue.clone();
|
|
2613
2623
|
const unit = timeframe === TimeframeOption.WEEK ? 'isoWeek' : timeframe;
|
|
2614
2624
|
switch (this.periodPosition) {
|
|
2615
2625
|
case DatePickerPeriodPosition.START_OF_PERIOD:
|
|
@@ -2657,10 +2667,6 @@ class DrDatePickerComponent {
|
|
|
2657
2667
|
normalizedValue.startOf(unit).set('hours', 12);
|
|
2658
2668
|
break;
|
|
2659
2669
|
}
|
|
2660
|
-
if (this.fixForNormalizedValueWithMaxDate) {
|
|
2661
|
-
const minUnix = Math.min(normalizedValue.unix(), this._max.unix());
|
|
2662
|
-
normalizedValue = moment__default.unix(minUnix).utc();
|
|
2663
|
-
}
|
|
2664
2670
|
this.datePickerService.innerValue = normalizedValue;
|
|
2665
2671
|
}
|
|
2666
2672
|
chosenPeriodHandler(chosenDate, timeframe, picker) {
|
|
@@ -2771,14 +2777,14 @@ class DrDatePickerComponent {
|
|
|
2771
2777
|
}
|
|
2772
2778
|
/** @nocollapse */ static { this.ɵfac = function DrDatePickerComponent_Factory(t) { return new (t || DrDatePickerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.DateAdapter), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
|
|
2773
2779
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerComponent, selectors: [["dr-date-picker"]], viewQuery: function DrDatePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2774
|
-
i0.ɵɵviewQuery(_c0$
|
|
2780
|
+
i0.ɵɵviewQuery(_c0$I, 5);
|
|
2775
2781
|
} if (rf & 2) {
|
|
2776
2782
|
let _t;
|
|
2777
2783
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePicker = _t.first);
|
|
2778
2784
|
} }, hostVars: 7, hostBindings: function DrDatePickerComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
2779
2785
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
2780
2786
|
i0.ɵɵclassProp("use-button-picker", ctx.useButton)("disabled", ctx.disabled)("active", ctx.active);
|
|
2781
|
-
} }, inputs: { id: "id", useButton: "useButton", buttonLabel: "buttonLabel", iconAfterButton: "iconAfterButton", useDarkTheme: "useDarkTheme", format: "format", min: "min", max: "max", startAt: "startAt", periodPosition: "periodPosition", placeholder: "placeholder", disabled: "disabled", fiscalYearMonthsModifier: "fiscalYearMonthsModifier", fiscalYearBack: "fiscalYearBack", datepickerFilter: "datepickerFilter",
|
|
2787
|
+
} }, inputs: { id: "id", useButton: "useButton", buttonLabel: "buttonLabel", iconAfterButton: "iconAfterButton", useDarkTheme: "useDarkTheme", format: "format", min: "min", max: "max", startAt: "startAt", periodPosition: "periodPosition", placeholder: "placeholder", disabled: "disabled", fiscalYearMonthsModifier: "fiscalYearMonthsModifier", fiscalYearBack: "fiscalYearBack", datepickerFilter: "datepickerFilter", selectCurrentQuarter: "selectCurrentQuarter" }, features: [i0.ɵɵProvidersFeature([
|
|
2782
2788
|
{ provide: NG_VALUE_ACCESSOR, useExisting: DrDatePickerComponent, multi: true },
|
|
2783
2789
|
{ provide: DateAdapter, useClass: CustomDateAdapter },
|
|
2784
2790
|
{ provide: MAT_DATE_RANGE_SELECTION_STRATEGY, useClass: WeekSelectionStrategy },
|
|
@@ -2844,7 +2850,7 @@ class DrDatePickerComponent {
|
|
|
2844
2850
|
type: Input
|
|
2845
2851
|
}], datepickerFilter: [{
|
|
2846
2852
|
type: Input
|
|
2847
|
-
}],
|
|
2853
|
+
}], selectCurrentQuarter: [{
|
|
2848
2854
|
type: Input
|
|
2849
2855
|
}], datePicker: [{
|
|
2850
2856
|
type: ViewChild,
|
|
@@ -3978,7 +3984,7 @@ class ListTagComponent {
|
|
|
3978
3984
|
type: Output
|
|
3979
3985
|
}] }); })();
|
|
3980
3986
|
|
|
3981
|
-
const _c0$
|
|
3987
|
+
const _c0$H = ["dynamicInputRef"];
|
|
3982
3988
|
function DrSelectAddItemComponent_div_5_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
3983
3989
|
i0.ɵɵelementStart(0, "p", 12);
|
|
3984
3990
|
i0.ɵɵtext(1);
|
|
@@ -4068,7 +4074,7 @@ class DrSelectAddItemComponent {
|
|
|
4068
4074
|
}
|
|
4069
4075
|
/** @nocollapse */ static { this.ɵfac = function DrSelectAddItemComponent_Factory(t) { return new (t || DrSelectAddItemComponent)(i0.ɵɵdirectiveInject(DrSelectComponent)); }; }
|
|
4070
4076
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectAddItemComponent, selectors: [["dr-select-add-item"]], viewQuery: function DrSelectAddItemComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4071
|
-
i0.ɵɵviewQuery(_c0$
|
|
4077
|
+
i0.ɵɵviewQuery(_c0$H, 5);
|
|
4072
4078
|
} if (rf & 2) {
|
|
4073
4079
|
let _t;
|
|
4074
4080
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);
|
|
@@ -4557,7 +4563,7 @@ class DrTagComponent {
|
|
|
4557
4563
|
type: Output
|
|
4558
4564
|
}] }); })();
|
|
4559
4565
|
|
|
4560
|
-
const _c0$
|
|
4566
|
+
const _c0$G = ["*"];
|
|
4561
4567
|
class RadioButtonComponent {
|
|
4562
4568
|
get disabled() {
|
|
4563
4569
|
return this._disabled;
|
|
@@ -4611,7 +4617,7 @@ class RadioButtonComponent {
|
|
|
4611
4617
|
useExisting: RadioButtonComponent,
|
|
4612
4618
|
multi: true,
|
|
4613
4619
|
},
|
|
4614
|
-
])], ngContentSelectors: _c0$
|
|
4620
|
+
])], ngContentSelectors: _c0$G, decls: 4, vars: 5, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4615
4621
|
i0.ɵɵprojectionDef();
|
|
4616
4622
|
i0.ɵɵelementStart(0, "label")(1, "input", 0);
|
|
4617
4623
|
i0.ɵɵlistener("change", function RadioButtonComponent_Template_input_change_1_listener() { return ctx.valueChanged(ctx.value); })("ngModelChange", function RadioButtonComponent_Template_input_ngModelChange_1_listener($event) { return ctx.modelValue = $event; })("click", function RadioButtonComponent_Template_input_click_1_listener($event) { return ctx.toggleChange($event); });
|
|
@@ -4650,8 +4656,8 @@ class RadioButtonComponent {
|
|
|
4650
4656
|
type: Input
|
|
4651
4657
|
}] }); })();
|
|
4652
4658
|
|
|
4653
|
-
const _c0$
|
|
4654
|
-
const _c1$
|
|
4659
|
+
const _c0$F = [[["dr-radio-button"]]];
|
|
4660
|
+
const _c1$i = ["dr-radio-button"];
|
|
4655
4661
|
class RadioGroupComponent {
|
|
4656
4662
|
get value() {
|
|
4657
4663
|
return this._value;
|
|
@@ -4790,8 +4796,8 @@ class RadioGroupComponent {
|
|
|
4790
4796
|
useExisting: forwardRef((() => RadioGroupComponent)),
|
|
4791
4797
|
multi: true,
|
|
4792
4798
|
},
|
|
4793
|
-
])], ngContentSelectors: _c1$
|
|
4794
|
-
i0.ɵɵprojectionDef(_c0$
|
|
4799
|
+
])], ngContentSelectors: _c1$i, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4800
|
+
i0.ɵɵprojectionDef(_c0$F);
|
|
4795
4801
|
i0.ɵɵprojection(0);
|
|
4796
4802
|
} }, encapsulation: 2, changeDetection: 0 }); }
|
|
4797
4803
|
}
|
|
@@ -4828,8 +4834,8 @@ class RadioGroupComponent {
|
|
|
4828
4834
|
type: Output
|
|
4829
4835
|
}] }); })();
|
|
4830
4836
|
|
|
4831
|
-
const _c0$
|
|
4832
|
-
const _c1$
|
|
4837
|
+
const _c0$E = ["checkboxContent"];
|
|
4838
|
+
const _c1$h = ["*"];
|
|
4833
4839
|
class CheckboxComponent {
|
|
4834
4840
|
get indeterminate() {
|
|
4835
4841
|
return this._indeterminate;
|
|
@@ -4879,7 +4885,7 @@ class CheckboxComponent {
|
|
|
4879
4885
|
}
|
|
4880
4886
|
/** @nocollapse */ static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
4881
4887
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["dr-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4882
|
-
i0.ɵɵviewQuery(_c0$
|
|
4888
|
+
i0.ɵɵviewQuery(_c0$E, 5);
|
|
4883
4889
|
} if (rf & 2) {
|
|
4884
4890
|
let _t;
|
|
4885
4891
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxContent = _t.first);
|
|
@@ -4887,7 +4893,7 @@ class CheckboxComponent {
|
|
|
4887
4893
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
4888
4894
|
i0.ɵɵclassMap(ctx.theme);
|
|
4889
4895
|
i0.ɵɵclassProp("disabled", ctx.disabled)("text-nowrap", ctx.textNowrap);
|
|
4890
|
-
} }, inputs: { id: "id", checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }])], ngContentSelectors: _c1$
|
|
4896
|
+
} }, inputs: { id: "id", checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }])], ngContentSelectors: _c1$h, decls: 5, vars: 9, consts: [["type", "checkbox", 3, "checked", "disabled", "change", "click"], [3, "drTooltip"], ["checkboxContent", ""]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4891
4897
|
i0.ɵɵprojectionDef();
|
|
4892
4898
|
i0.ɵɵelementStart(0, "label")(1, "input", 0);
|
|
4893
4899
|
i0.ɵɵlistener("change", function CheckboxComponent_Template_input_change_1_listener($event) { return ctx.setValue($event); })("click", function CheckboxComponent_Template_input_click_1_listener($event) { return $event.stopPropagation(); });
|
|
@@ -4941,7 +4947,7 @@ class CheckboxComponent {
|
|
|
4941
4947
|
args: ['checkboxContent']
|
|
4942
4948
|
}] }); })();
|
|
4943
4949
|
|
|
4944
|
-
const _c0$
|
|
4950
|
+
const _c0$D = ["*"];
|
|
4945
4951
|
var LinkTheme;
|
|
4946
4952
|
(function (LinkTheme) {
|
|
4947
4953
|
LinkTheme["DEFAULT"] = "DEFAULT";
|
|
@@ -4957,7 +4963,7 @@ class DrLinkComponent {
|
|
|
4957
4963
|
this.theme = LinkTheme.DEFAULT;
|
|
4958
4964
|
}
|
|
4959
4965
|
/** @nocollapse */ static { this.ɵfac = function DrLinkComponent_Factory(t) { return new (t || DrLinkComponent)(); }; }
|
|
4960
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$
|
|
4966
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$D, decls: 2, vars: 7, consts: [[1, "dr-link", 3, "href"]], template: function DrLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4961
4967
|
i0.ɵɵprojectionDef();
|
|
4962
4968
|
i0.ɵɵelementStart(0, "a", 0);
|
|
4963
4969
|
i0.ɵɵprojection(1);
|
|
@@ -4982,8 +4988,8 @@ class DrLinkComponent {
|
|
|
4982
4988
|
type: Input
|
|
4983
4989
|
}] }); })();
|
|
4984
4990
|
|
|
4985
|
-
const _c0$
|
|
4986
|
-
const _c1$
|
|
4991
|
+
const _c0$C = ["class", "component"];
|
|
4992
|
+
const _c1$g = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
|
|
4987
4993
|
function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
4988
4994
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
4989
4995
|
i0.ɵɵelementStart(0, "div", 14);
|
|
@@ -4993,7 +4999,7 @@ function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_div_2_Template(rf, ctx
|
|
|
4993
4999
|
} if (rf & 2) {
|
|
4994
5000
|
const tag_r5 = ctx.$implicit;
|
|
4995
5001
|
const ctx_r4 = i0.ɵɵnextContext(3);
|
|
4996
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
5002
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$g, tag_r5.key === ctx_r4.selectedPresetTag))("drTooltip", ctx_r4.selectedPresetTag === tag_r5.key ? "Unselect preset" : "")("drTooltipPosition", "top");
|
|
4997
5003
|
i0.ɵɵadvance(1);
|
|
4998
5004
|
i0.ɵɵtextInterpolate1(" ", tag_r5.label, " ");
|
|
4999
5005
|
} }
|
|
@@ -5041,13 +5047,13 @@ function DrFiscalMonthCalendarHeaderComponent_div_11_div_2_Template(rf, ctx) { i
|
|
|
5041
5047
|
const quarter_r12 = ctx.$implicit;
|
|
5042
5048
|
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
5043
5049
|
i0.ɵɵclassMap(quarter_r12 === ctx_r11.selectedQuarter ? "selected" : "");
|
|
5044
|
-
i0.ɵɵclassProp("quarter-selector--disabled", ctx_r11.isQuarterDisabled(quarter_r12));
|
|
5050
|
+
i0.ɵɵclassProp("quarter-selector--disabled", ctx_r11.isQuarterDisabled(quarter_r12))("quarter-selector--select-current-quarter", ctx_r11.datePickerService.selectCurrentQuarter);
|
|
5045
5051
|
i0.ɵɵadvance(1);
|
|
5046
5052
|
i0.ɵɵtextInterpolate1(" Q", quarter_r12, " ");
|
|
5047
5053
|
} }
|
|
5048
5054
|
function DrFiscalMonthCalendarHeaderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
5049
5055
|
i0.ɵɵelementStart(0, "div", 16, 17);
|
|
5050
|
-
i0.ɵɵtemplate(2, DrFiscalMonthCalendarHeaderComponent_div_11_div_2_Template, 2,
|
|
5056
|
+
i0.ɵɵtemplate(2, DrFiscalMonthCalendarHeaderComponent_div_11_div_2_Template, 2, 7, "div", 18);
|
|
5051
5057
|
i0.ɵɵelementEnd();
|
|
5052
5058
|
} if (rf & 2) {
|
|
5053
5059
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -5085,7 +5091,7 @@ class DrFiscalMonthCalendarHeaderComponent extends DrDatePickerCustomHeaderCompo
|
|
|
5085
5091
|
});
|
|
5086
5092
|
}
|
|
5087
5093
|
/** @nocollapse */ static { this.ɵfac = /** @pureOrBreakMyCode */ function () { let ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory; return function DrFiscalMonthCalendarHeaderComponent_Factory(t) { return (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory || (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DrFiscalMonthCalendarHeaderComponent)))(t || DrFiscalMonthCalendarHeaderComponent); }; }(); }
|
|
5088
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
5094
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$C, decls: 12, vars: 4, consts: [["class", "dr-datepicker__timeframe-select__wrapper", 4, "ngIf"], [1, "dr-date-paging"], [1, "dr-date-paging", "flip-page-button", 3, "click"], [1, "dr-icon-arrow-left", "presentation_buttons-navigate_input"], [1, "example-header-label"], [3, "click"], [1, "dr-icon-arrow-right", "presentation_buttons-navigate_input"], ["class", "dr-quarterly-datepicker", 4, "ngIf"], [1, "dr-datepicker__timeframe-select__wrapper"], ["class", "dr-datepicker-preset-date", 4, "ngIf"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["id", "preset_tag", "class", "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click", 4, "ngFor", "ngForOf"], ["id", "preset_tag", 1, "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector", 3, "class", "quarter-selector--disabled", "quarter-selector--select-current-quarter", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", 3, "click"]], template: function DrFiscalMonthCalendarHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5089
5095
|
i0.ɵɵtemplate(0, DrFiscalMonthCalendarHeaderComponent_div_0_Template, 3, 2, "div", 0);
|
|
5090
5096
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
|
|
5091
5097
|
i0.ɵɵlistener("click", function DrFiscalMonthCalendarHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
|
|
@@ -5112,11 +5118,11 @@ class DrFiscalMonthCalendarHeaderComponent extends DrDatePickerCustomHeaderCompo
|
|
|
5112
5118
|
i0.ɵɵtextInterpolate(ctx.periodYearLabel);
|
|
5113
5119
|
i0.ɵɵadvance(3);
|
|
5114
5120
|
i0.ɵɵproperty("ngIf", ctx.currentViewIsQuarter);
|
|
5115
|
-
} }, dependencies: [i1$2.NgControlStatus, i1$2.NgModel, i1.NgClass, i1.NgForOf, i1.NgIf, DrTooltipDirective, DrSelectComponent, DrShowTimeframePipe], styles: ["[_nghost-%COMP%]{height:54px;align-items:center;font-family:Poppins;font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper[_ngcontent-%COMP%]{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-datepicker-preset-date[_ngcontent-%COMP%]{display:flex;flex-direction:column}.dr-datepicker-preset-date__tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:8px;padding-bottom:21px;padding-top:10px;font-size:12px}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%]{padding:16px 32px;gap:16px;justify-content:center}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%] .dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{padding:4px 8px;justify-content:center;display:flex;flex:1 0 0}.dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{cursor:pointer;font-weight:400;line-height:20px!important;padding:2px 8px;border:1px solid #9ea1aa;border-radius:18px;background:#fff;margin-right:4px}.dr-datepicker-preset-date__tags__tag--selected[_ngcontent-%COMP%]{color:#4646ce;background:#f2f2fb;border:1px solid #4646ce}.dr-date-paging[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 32px 32px;gap:4px}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]:hover{border-radius:50%;background:#f2f2fb;color:#4646ce}.example-header-label[_ngcontent-%COMP%]{cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]:hover{background:#f2f2fb;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector.selected[_ngcontent-%COMP%]{background-color:#4646ce;color:#f3f7ff;font-weight:600}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled[_ngcontent-%COMP%], .dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled.selected[_ngcontent-%COMP%]{pointer-events:none;background-color:transparent;color:#aeabac;font-weight:400}"], changeDetection: 0 }); }
|
|
5121
|
+
} }, dependencies: [i1$2.NgControlStatus, i1$2.NgModel, i1.NgClass, i1.NgForOf, i1.NgIf, DrTooltipDirective, DrSelectComponent, DrShowTimeframePipe], styles: ["[_nghost-%COMP%]{height:54px;align-items:center;font-family:Poppins;font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper[_ngcontent-%COMP%]{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-datepicker-preset-date[_ngcontent-%COMP%]{display:flex;flex-direction:column}.dr-datepicker-preset-date__tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:8px;padding-bottom:21px;padding-top:10px;font-size:12px}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%]{padding:16px 32px;gap:16px;justify-content:center}.dr-datepicker-preset-date__tags--solo[_ngcontent-%COMP%] .dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{padding:4px 8px;justify-content:center;display:flex;flex:1 0 0}.dr-datepicker-preset-date__tags__tag[_ngcontent-%COMP%]{cursor:pointer;font-weight:400;line-height:20px!important;padding:2px 8px;border:1px solid #9ea1aa;border-radius:18px;background:#fff;margin-right:4px}.dr-datepicker-preset-date__tags__tag--selected[_ngcontent-%COMP%]{color:#4646ce;background:#f2f2fb;border:1px solid #4646ce}.dr-date-paging[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 32px 32px;gap:4px}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button[_ngcontent-%COMP%]:hover{border-radius:50%;background:#f2f2fb;color:#4646ce}.example-header-label[_ngcontent-%COMP%]{cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector[_ngcontent-%COMP%]:hover{background:#f2f2fb;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector.selected[_ngcontent-%COMP%]{background-color:#4646ce;color:#f3f7ff;font-weight:600}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled[_ngcontent-%COMP%], .dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--disabled.selected[_ngcontent-%COMP%]{pointer-events:none;background-color:transparent;color:#aeabac;font-weight:400}.dr-quarterly-datepicker[_ngcontent-%COMP%] .quarter-selector--select-current-quarter.quarter-selector--disabled.selected[_ngcontent-%COMP%]{pointer-events:none;background-color:#673ab7;opacity:.4;color:#f2f2fb;font-weight:400}"], changeDetection: 0 }); }
|
|
5116
5122
|
}
|
|
5117
5123
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrFiscalMonthCalendarHeaderComponent, [{
|
|
5118
5124
|
type: Component,
|
|
5119
|
-
args: [{ selector: 'dr-fiscal-month-calendar-header.component', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <div *ngIf=\"datePickerService.isUsingDateTagPresets\" class=\"dr-datepicker-preset-date\">\n <div
|
|
5125
|
+
args: [{ selector: 'dr-fiscal-month-calendar-header.component', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <div *ngIf=\"datePickerService.isUsingDateTagPresets\" class=\"dr-datepicker-preset-date\">\n <div\n class=\"dr-datepicker-preset-date__tags\"\n [ngClass]=\"{ 'dr-datepicker-preset-date__tags--solo': !datePickerService.isUsingTimeFrameSelect }\">\n <div\n *ngFor=\"let tag of datePickerService.availableDateTagPresets\"\n id=\"preset_tag\"\n class=\"dr-datepicker-preset-date__tags__tag\"\n (click)=\"onSelectPresetTag(tag)\"\n [ngClass]=\"{ 'dr-datepicker-preset-date__tags__tag--selected': tag.key === selectedPresetTag }\"\n [drTooltip]=\"selectedPresetTag === tag.key ? 'Unselect preset' : ''\"\n [drTooltipPosition]=\"'top'\">\n {{ tag.label }}\n </div>\n </div>\n </div>\n <dr-select\n *ngIf=\"datePickerService.isUsingTimeFrameSelect\"\n class=\"dr-datepicker__timeframe-select\"\n [ngModel]=\"selectedTimeframe\"\n [items]=\"timeframeOptions | drShowTimeframePipe: datePickerService.availableTimeframes\"\n bindLabel=\"title\"\n bindValue=\"value\"\n (ngModelChange)=\"setTimeframe($event)\">\n </dr-select>\n</div>\n\n<div class=\"dr-date-paging\">\n <div class=\"dr-date-paging flip-page-button\" (click)=\"pagingClicked(false)\">\n <i class=\"dr-icon-arrow-left presentation_buttons-navigate_input\"></i>\n </div>\n <span class=\"example-header-label\">\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_MONTHS)\">{{ periodMonthLabel + ' ' }}</span>\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_YEARS)\">{{ periodYearLabel }}</span>\n </span>\n <div class=\"dr-date-paging flip-page-button\" (click)=\"pagingClicked(true)\">\n <i class=\"dr-icon-arrow-right presentation_buttons-navigate_input\"></i>\n </div>\n</div>\n<div #quarterlyDatePicker class=\"dr-quarterly-datepicker\" *ngIf=\"currentViewIsQuarter\">\n <div\n *ngFor=\"let quarter of quarters\"\n class=\"quarter-selector\"\n (click)=\"onSelectQuarter(quarter)\"\n [class]=\"quarter === selectedQuarter ? 'selected' : ''\"\n [class.quarter-selector--disabled]=\"isQuarterDisabled(quarter)\"\n [class.quarter-selector--select-current-quarter]=\"datePickerService.selectCurrentQuarter\">\n Q{{ quarter }}\n </div>\n</div>\n", styles: [":host{height:54px;align-items:center;font-family:Poppins;font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-datepicker-preset-date{display:flex;flex-direction:column}.dr-datepicker-preset-date__tags{display:flex;flex-wrap:wrap;row-gap:8px;padding-bottom:21px;padding-top:10px;font-size:12px}.dr-datepicker-preset-date__tags--solo{padding:16px 32px;gap:16px;justify-content:center}.dr-datepicker-preset-date__tags--solo .dr-datepicker-preset-date__tags__tag{padding:4px 8px;justify-content:center;display:flex;flex:1 0 0}.dr-datepicker-preset-date__tags__tag{cursor:pointer;font-weight:400;line-height:20px!important;padding:2px 8px;border:1px solid #9ea1aa;border-radius:18px;background:#fff;margin-right:4px}.dr-datepicker-preset-date__tags__tag--selected{color:#4646ce;background:#f2f2fb;border:1px solid #4646ce}.dr-date-paging{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 32px 32px;gap:4px}.dr-date-paging.flip-page-button{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button:hover{border-radius:50%;background:#f2f2fb;color:#4646ce}.example-header-label{cursor:pointer}.dr-quarterly-datepicker{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker .quarter-selector{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker .quarter-selector:hover{background:#f2f2fb;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker .quarter-selector.selected{background-color:#4646ce;color:#f3f7ff;font-weight:600}.dr-quarterly-datepicker .quarter-selector--disabled,.dr-quarterly-datepicker .quarter-selector--disabled.selected{pointer-events:none;background-color:transparent;color:#aeabac;font-weight:400}.dr-quarterly-datepicker .quarter-selector--select-current-quarter.quarter-selector--disabled.selected{pointer-events:none;background-color:#673ab7;opacity:.4;color:#f2f2fb;font-weight:400}\n"] }]
|
|
5120
5126
|
}], null, null); })();
|
|
5121
5127
|
|
|
5122
5128
|
function DrFiscalMonthCalendarPickerComponent_i_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -5276,22 +5282,6 @@ class DrFiscalMonthCalendarPickerComponent extends DrDatePickerComponent {
|
|
|
5276
5282
|
], template: "<i *ngIf=\"!useButton\" class=\"dr-icon-date\" (click)=\"datePicker.open()\"></i>\n\n<ng-container *ngIf=\"(datePickerService.timeframe$ | async) === 'week'\">\n <input\n [attr.id]=\"id\"\n [ngModel]=\"input.value\"\n (click)=\"datePicker.open()\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [readonly]=\"readonly\"\n [min]=\"_min\"\n [max]=\"_max\" />\n\n <mat-date-range-input [formGroup]=\"rangeForm\" [rangePicker]=\"datePicker\" [dateFilter]=\"dateFilter\" class=\"range-input\">\n <input\n matStartDate\n #input\n [drDatePickerFormat]=\"datePickerService.format$ | async\"\n formControlName=\"start\"\n (dateChange)=\"valueChangedInCalendar(rangeForm.value.start)\" />\n <input matEndDate [drDatePickerFormat]=\"datePickerService.format$ | async\" formControlName=\"end\" />\n </mat-date-range-input>\n\n <mat-date-range-picker\n #datePicker\n [startAt]=\"_startAt\"\n [panelClass]=\"'dr-week-datepicker' + (panelClass ? ' ' + panelClass : '')\"\n [calendarHeaderComponent]=\"customHeader\"\n (yearSelected)=\"chosenPeriodHandler($event, timeframeOption.YEAR, datePicker)\"\n (monthSelected)=\"chosenPeriodHandler($event, timeframeOption.MONTH, datePicker)\"\n (opened)=\"onOpen()\"\n (closed)=\"onCLose()\">\n </mat-date-range-picker>\n</ng-container>\n\n<ng-container *ngIf=\"(datePickerService.timeframe$ | async) !== 'week'\">\n <input\n [attr.id]=\"id\"\n [ngModel]=\"displayValue$ | async\"\n (ngModelChange)=\"valueChangedInCalendar($event)\"\n (click)=\"datePicker.open()\"\n [matDatepicker]=\"datePicker\"\n [matDatepickerFilter]=\"dateFilter\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [drDatePickerFormat]=\"datePickerService.format$ | async\"\n [readonly]=\"readonly\"\n [min]=\"_min\"\n [max]=\"_max\"\n [class.hidden-calendar-input]=\"useButton\" />\n\n <dr-button\n *ngIf=\"useButton\"\n [icon]=\"'dr-icon-date'\"\n [iconAfter]=\"iconAfterButton\"\n (click)=\"datePicker.open()\"\n class=\"datepicker-button\">\n {{ buttonLabel || 'Select Date' }}\n </dr-button>\n\n <mat-datepicker\n #datePicker\n [panelClass]=\"panelClass\"\n [startAt]=\"_startAt\"\n [calendarHeaderComponent]=\"customHeader\"\n (yearSelected)=\"chosenPeriodHandler($event, timeframeOption.YEAR, datePicker)\"\n (monthSelected)=\"chosenPeriodHandler($event, timeframeOption.MONTH, datePicker)\"\n (opened)=\"onOpen()\"\n (closed)=\"onCLose()\">\n </mat-datepicker>\n</ng-container>\n", styles: [":host{position:relative;width:100%;display:flex;flex-direction:row;min-height:32px;height:32px;font-size:14px;font-family:Poppins,sans-serif;background-color:#fff;border:1px solid #9ea1aa;border-radius:6px;color:#333;overflow:hidden;outline:none;cursor:pointer}:host.use-button-picker{border:none}:host:hover{border-color:#9ea1aa}:host.active,:host:focus-within{border-color:#4646ce!important;color:#333}:host.disabled{pointer-events:none;border:1px solid #aeabac;background:#f0f1f4;color:#aeabac}:host.disabled:after{color:#aeabac}:host.ng-valid.ng-dirty{border-color:#037c5a}:host.ng-invalid.ng-dirty:not(:focus-within){border-color:#bf1d30!important}:host.ng-untouched.ng-valid{border-color:#9ea1aa}:host.use-button-picker:after{display:none}:host:not(.use-button-picker):after,:host:not(.use-button-picker):before{position:absolute;display:flex;border-color:#6d6e6f transparent transparent;color:#6d6e6f}:host:not(.use-button-picker):after{font-family:DataRails!important;content:\"\\ea17\";font-size:24px;color:#6d6e6f;top:0;bottom:0;right:8px;pointer-events:none;position:absolute;display:flex;align-items:center;justify-content:center}:host i{display:flex;align-items:center;position:absolute;color:#6d6e6f;left:8px;top:0;bottom:0}:host input{display:flex;flex-grow:1;height:100%;border:none;text-align:left;padding-left:35px;padding-right:25px;cursor:pointer!important;outline:none}:host input.when-quarter{position:absolute;visibility:hidden}:host input:disabled{border:none;color:#aeabac;background:transparent}:host input::-webkit-search-decoration,:host input::-webkit-search-cancel-button,:host input::-webkit-search-results-button,:host input::-webkit-search-results-decoration{-webkit-appearance:none}:host input::placeholder{color:#6d6e6f;font-size:14px;line-height:18px}:host input.hidden-calendar-input{width:0;height:0;padding:0}:host .datepicker-button{width:100%}:host .range-input{position:absolute;height:0;width:0;bottom:0;left:0;z-index:-1}::ng-deep .mat-datepicker-popup .dr-week-datepicker{width:386px!important}::ng-deep .mat-datepicker-popup .dr-week-datepicker .mat-calendar-body-in-range:before{background:initial!important}::ng-deep .mat-datepicker-popup .dr-week-datepicker .mat-calendar-body-in-range .mat-calendar-body-selected,::ng-deep .mat-datepicker-popup .dr-week-datepicker .mat-calendar-body-in-range .mat-calendar-body-cell-content{background:#f2f2fb!important;color:#4646ce!important;font-weight:600!important}::ng-deep .mat-datepicker-popup .mat-datepicker-content{margin:7px 0;box-shadow:0 4px 8px 1px #00000040;border-radius:12px!important}::ng-deep .mat-datepicker-popup .mat-datepicker-content button[disabled]{border:inherit;color:inherit;background-color:inherit}::ng-deep .mat-datepicker-popup .mat-datepicker-content button[disabled]:hover{border:inherit}::ng-deep .mat-datepicker-popup .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),::ng-deep .mat-datepicker-popup .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#fff}::ng-deep .mat-datepicker-popup .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background:#f2f2fb;color:#4646ce;font-weight:600}::ng-deep .mat-datepicker-popup .mat-calendar-body-selected{background-color:#4646ce;color:#f2f2fb;font-weight:600}::ng-deep .mat-datepicker-popup .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:none}::ng-deep .mat-datepicker-popup .mat-button-focus-overlay{background:#f5f5f5}::ng-deep .mat-datepicker-popup .mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:1!important;background:#f5f5f5;transition:opacity .2s cubic-bezier(.35,0,.25,1)}::ng-deep .mat-datepicker-popup .mat-calendar-controls .mat-calendar-period-button:hover{background:#f5f5f5;transition:background .2s cubic-bezier(.35,0,.25,1)}::ng-deep .mat-datepicker-popup .mat-calendar-table-header th{font-size:14px;font-weight:600;color:#333}::ng-deep .mat-datepicker-popup .mat-calendar-table-header-divider{display:none}::ng-deep .mat-datepicker-popup .mat-calendar-body-label{color:#fff;padding:0}::ng-deep .mat-datepicker-popup .mat-calendar-body>tr[aria-hidden=true]>.mat-calendar-body-label{display:none}::ng-deep .mat-datepicker-popup .mat-calendar-content{display:flex}::ng-deep .mat-datepicker-popup .mat-calendar-content dr-week-selector{flex:0}::ng-deep .mat-datepicker-popup .mat-calendar-content mat-month-view,::ng-deep .mat-datepicker-popup .mat-calendar-content mat-multi-year-view,::ng-deep .mat-datepicker-popup .mat-calendar-content mat-year-view{flex:1}\n"] }]
|
|
5277
5283
|
}], null, null); })();
|
|
5278
5284
|
|
|
5279
|
-
var TooltipPosition;
|
|
5280
|
-
(function (TooltipPosition) {
|
|
5281
|
-
TooltipPosition["TOP"] = "top";
|
|
5282
|
-
TooltipPosition["BOTTOM"] = "bottom";
|
|
5283
|
-
TooltipPosition["LEFT"] = "left";
|
|
5284
|
-
TooltipPosition["RIGHT"] = "right";
|
|
5285
|
-
TooltipPosition["TOP_RIGHT"] = "top-right";
|
|
5286
|
-
TooltipPosition["TOP_LEFT"] = "top-left";
|
|
5287
|
-
TooltipPosition["BOTTOM_RIGHT"] = "bottom-right";
|
|
5288
|
-
TooltipPosition["BOTTOM_LEFT"] = "bottom-left";
|
|
5289
|
-
TooltipPosition["RIGHT_TOP"] = "right-top";
|
|
5290
|
-
TooltipPosition["RIGHT_BOTTOM"] = "right-bottom";
|
|
5291
|
-
TooltipPosition["LEFT_TOP"] = "left-top";
|
|
5292
|
-
TooltipPosition["LEFT_BOTTOM"] = "left-bottom";
|
|
5293
|
-
})(TooltipPosition || (TooltipPosition = {}));
|
|
5294
|
-
|
|
5295
5285
|
function DrDatePickerWithTimeframeComponent_dr_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
5296
5286
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
5297
5287
|
i0.ɵɵelementStart(0, "dr-button", 11);
|
|
@@ -5320,7 +5310,7 @@ function DrDatePickerWithTimeframeComponent_dr_button_11_Template(rf, ctx) { if
|
|
|
5320
5310
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
5321
5311
|
i0.ɵɵproperty("disabled", ctx_r4.isNextDateDisabled);
|
|
5322
5312
|
} }
|
|
5323
|
-
const _c0$
|
|
5313
|
+
const _c0$B = function (a0) { return { formattedValue: a0 }; };
|
|
5324
5314
|
class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
5325
5315
|
set dateFormatConfig(value) {
|
|
5326
5316
|
if (value) {
|
|
@@ -5357,7 +5347,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
|
5357
5347
|
this.dateAdapter = dateAdapter;
|
|
5358
5348
|
this.datePickerService = datePickerService;
|
|
5359
5349
|
this.canSelectTimeframe = true;
|
|
5360
|
-
this.datepickerTooltipPosition =
|
|
5350
|
+
this.datepickerTooltipPosition = 'top';
|
|
5361
5351
|
this.datepickerTooltipTimeout = 0;
|
|
5362
5352
|
this.isOpen = false;
|
|
5363
5353
|
this.onChangeFormat = new EventEmitter();
|
|
@@ -5509,7 +5499,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
|
5509
5499
|
i0.ɵɵadvance(1);
|
|
5510
5500
|
i0.ɵɵproperty("drTooltip", ctx.datepickerTooltip)("drTooltipPosition", ctx.datepickerTooltipPosition)("drTooltipMousleaveTimeout", ctx.datepickerTooltipTimeout);
|
|
5511
5501
|
i0.ɵɵadvance(3);
|
|
5512
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c0$
|
|
5502
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c0$B, i0.ɵɵpipeBind1(5, 14, ctx.displayedFormattedValue$)));
|
|
5513
5503
|
i0.ɵɵadvance(4);
|
|
5514
5504
|
i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(10, 16, ctx.displayValue$))("matDatepicker", _r5)("readonly", ctx.readonly)("min", ctx._min)("max", ctx._max);
|
|
5515
5505
|
i0.ɵɵadvance(3);
|
|
@@ -5725,7 +5715,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
5725
5715
|
i0.ɵɵadvance(1);
|
|
5726
5716
|
i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
|
|
5727
5717
|
} }
|
|
5728
|
-
const _c0$
|
|
5718
|
+
const _c0$A = ["*"];
|
|
5729
5719
|
class DrToggleComponent {
|
|
5730
5720
|
set disabled(value) {
|
|
5731
5721
|
this.setDisabledState(value);
|
|
@@ -5770,7 +5760,7 @@ class DrToggleComponent {
|
|
|
5770
5760
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 3, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
5771
5761
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
5772
5762
|
i0.ɵɵclassMap(ctx.elementClass);
|
|
5773
|
-
} }, inputs: { id: "id", toggleTitle: "toggleTitle", toggleTitleRight: "toggleTitleRight", successType: "successType", checkedStatus: "checkedStatus", disabled: "disabled" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }])], ngContentSelectors: _c0$
|
|
5763
|
+
} }, inputs: { id: "id", toggleTitle: "toggleTitle", toggleTitleRight: "toggleTitleRight", successType: "successType", checkedStatus: "checkedStatus", disabled: "disabled" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }])], ngContentSelectors: _c0$A, decls: 7, vars: 10, consts: [["class", "toggle-title mr-3", 4, "ngIf"], [1, "toggle-container"], ["type", "checkbox", 3, "checked", "disabled", "click"], [1, "toggle-body"], ["class", "toggle-title ml-3", 4, "ngIf"], [1, "toggle-title", "mr-3"], [1, "toggle-title", "ml-3"]], template: function DrToggleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5774
5764
|
i0.ɵɵprojectionDef();
|
|
5775
5765
|
i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
|
|
5776
5766
|
i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
|
|
@@ -6373,8 +6363,8 @@ class DateTimePickerComponent {
|
|
|
6373
6363
|
type: Input
|
|
6374
6364
|
}] }); })();
|
|
6375
6365
|
|
|
6376
|
-
const _c0$
|
|
6377
|
-
const _c1$
|
|
6366
|
+
const _c0$z = ["stepTextLabel"];
|
|
6367
|
+
const _c1$f = ["stepper"];
|
|
6378
6368
|
function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
6379
6369
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
6380
6370
|
i0.ɵɵelementStart(0, "div", 7);
|
|
@@ -6604,12 +6594,12 @@ class StepperComponent {
|
|
|
6604
6594
|
}
|
|
6605
6595
|
/** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
|
|
6606
6596
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], contentQueries: function StepperComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
6607
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
6597
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$z, 5);
|
|
6608
6598
|
} if (rf & 2) {
|
|
6609
6599
|
let _t;
|
|
6610
6600
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepTextLabelTemplate = _t.first);
|
|
6611
6601
|
} }, viewQuery: function StepperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6612
|
-
i0.ɵɵviewQuery(_c1$
|
|
6602
|
+
i0.ɵɵviewQuery(_c1$f, 5, ElementRef);
|
|
6613
6603
|
} if (rf & 2) {
|
|
6614
6604
|
let _t;
|
|
6615
6605
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepper = _t.first);
|
|
@@ -6779,7 +6769,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
6779
6769
|
i0.ɵɵtext(1, "Stop generating");
|
|
6780
6770
|
i0.ɵɵelementEnd();
|
|
6781
6771
|
} }
|
|
6782
|
-
const _c0$
|
|
6772
|
+
const _c0$y = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
|
|
6783
6773
|
class DrChatFormComponent {
|
|
6784
6774
|
constructor(cdr, domSanitizer) {
|
|
6785
6775
|
this.cdr = cdr;
|
|
@@ -6935,7 +6925,7 @@ class DrChatFormComponent {
|
|
|
6935
6925
|
const _r1 = i0.ɵɵreference(4);
|
|
6936
6926
|
i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
|
|
6937
6927
|
i0.ɵɵadvance(2);
|
|
6938
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$
|
|
6928
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$y, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
|
|
6939
6929
|
i0.ɵɵadvance(1);
|
|
6940
6930
|
i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
|
|
6941
6931
|
i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
|
|
@@ -7050,7 +7040,7 @@ function DrAvatarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
7050
7040
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
7051
7041
|
i0.ɵɵstyleProp("width", ctx_r0.drAvatarSize || null)("height", ctx_r0.drAvatarSize || null);
|
|
7052
7042
|
} }
|
|
7053
|
-
const _c0$
|
|
7043
|
+
const _c0$x = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
|
|
7054
7044
|
function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
7055
7045
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
7056
7046
|
i0.ɵɵelementStart(0, "div", 5);
|
|
@@ -7064,7 +7054,7 @@ function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
7064
7054
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7065
7055
|
i0.ɵɵclassMap(user_r5.status);
|
|
7066
7056
|
i0.ɵɵstyleProp("width", ctx_r1.drAvatarSize || null)("height", ctx_r1.drAvatarSize || null)("background-color", ctx_r1.getAvatarColor(user_r5));
|
|
7067
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$
|
|
7057
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$x, ctx_r1.showUnassigned && !user_r5.email, ctx_r1.drAvatarIsClickable))("drTooltip", i0.ɵɵpipeBind1(1, 13, user_r5))("drTooltipClass", ctx_r1.drAvatarTooltipClass)("drTooltipPosition", ctx_r1.drAvatarTooltipPosition);
|
|
7068
7058
|
i0.ɵɵadvance(2);
|
|
7069
7059
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), "\n");
|
|
7070
7060
|
} }
|
|
@@ -7340,7 +7330,7 @@ class DrChatMessageFileComponent {
|
|
|
7340
7330
|
type: Input
|
|
7341
7331
|
}] }); })();
|
|
7342
7332
|
|
|
7343
|
-
const _c0$
|
|
7333
|
+
const _c0$w = ["drChatMessageActions"];
|
|
7344
7334
|
function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
7345
7335
|
i0.ɵɵelementContainerStart(0);
|
|
7346
7336
|
i0.ɵɵelement(1, "div", 8);
|
|
@@ -7442,7 +7432,7 @@ class DrChatMessageComponent {
|
|
|
7442
7432
|
}
|
|
7443
7433
|
/** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
|
|
7444
7434
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatMessageComponent, selectors: [["dr-chat-message"]], contentQueries: function DrChatMessageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
7445
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
7435
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$w, 5);
|
|
7446
7436
|
} if (rf & 2) {
|
|
7447
7437
|
let _t;
|
|
7448
7438
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
|
|
@@ -7513,7 +7503,7 @@ class DrChatMessageComponent {
|
|
|
7513
7503
|
args: ['drChatMessageActions']
|
|
7514
7504
|
}] }); })();
|
|
7515
7505
|
|
|
7516
|
-
const _c0$
|
|
7506
|
+
const _c0$v = ["suggestionsContainer"];
|
|
7517
7507
|
function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
7518
7508
|
i0.ɵɵelementContainer(0);
|
|
7519
7509
|
} }
|
|
@@ -7552,14 +7542,14 @@ function DrChatSuggestionsComponent_ng_template_3_div_1_Template(rf, ctx) { if (
|
|
|
7552
7542
|
i0.ɵɵadvance(1);
|
|
7553
7543
|
i0.ɵɵtextInterpolate1(" ", item_r9, " ");
|
|
7554
7544
|
} }
|
|
7555
|
-
const _c1$
|
|
7545
|
+
const _c1$e = function (a0, a1, a2) { return { "chat-suggestions__items--three-cols": a0, "chat-suggestions__items--two-cols": a1, "chat-suggestions__items--one-col": a2 }; };
|
|
7556
7546
|
function DrChatSuggestionsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
7557
7547
|
i0.ɵɵelementStart(0, "div", 8);
|
|
7558
7548
|
i0.ɵɵtemplate(1, DrChatSuggestionsComponent_ng_template_3_div_1_Template, 2, 1, "div", 9);
|
|
7559
7549
|
i0.ɵɵelementEnd();
|
|
7560
7550
|
} if (rf & 2) {
|
|
7561
7551
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
7562
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(2, _c1$
|
|
7552
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(2, _c1$e, ctx_r3.colsCount === 3, ctx_r3.colsCount === 2, ctx_r3.colsCount === 1));
|
|
7563
7553
|
i0.ɵɵadvance(1);
|
|
7564
7554
|
i0.ɵɵproperty("ngForOf", ctx_r3.visibleValues);
|
|
7565
7555
|
} }
|
|
@@ -7658,7 +7648,7 @@ class DrChatSuggestionsComponent {
|
|
|
7658
7648
|
}
|
|
7659
7649
|
/** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
7660
7650
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatSuggestionsComponent, selectors: [["dr-chat-suggestions"]], viewQuery: function DrChatSuggestionsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7661
|
-
i0.ɵɵviewQuery(_c0$
|
|
7651
|
+
i0.ɵɵviewQuery(_c0$v, 5);
|
|
7662
7652
|
} if (rf & 2) {
|
|
7663
7653
|
let _t;
|
|
7664
7654
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
|
|
@@ -7692,8 +7682,8 @@ class DrChatSuggestionsComponent {
|
|
|
7692
7682
|
args: ['suggestionsContainer', { static: false }]
|
|
7693
7683
|
}] }); })();
|
|
7694
7684
|
|
|
7695
|
-
const _c0$
|
|
7696
|
-
const _c1$
|
|
7685
|
+
const _c0$u = ["drChatHeader"];
|
|
7686
|
+
const _c1$d = ["drChatLoader"];
|
|
7697
7687
|
const _c2$6 = ["drChatContent"];
|
|
7698
7688
|
const _c3$4 = ["messagesContainer"];
|
|
7699
7689
|
function DrChatComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -7829,8 +7819,8 @@ class DrChatComponent {
|
|
|
7829
7819
|
/** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
7830
7820
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
7831
7821
|
i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
|
|
7832
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
7833
|
-
i0.ɵɵcontentQuery(dirIndex, _c1$
|
|
7822
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$u, 5);
|
|
7823
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$d, 5);
|
|
7834
7824
|
i0.ɵɵcontentQuery(dirIndex, _c2$6, 5);
|
|
7835
7825
|
i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
|
|
7836
7826
|
} if (rf & 2) {
|
|
@@ -7918,8 +7908,8 @@ class DrChatComponent {
|
|
|
7918
7908
|
args: [DrChatSuggestionsComponent]
|
|
7919
7909
|
}] }); })();
|
|
7920
7910
|
|
|
7921
|
-
const _c0$
|
|
7922
|
-
const _c1$
|
|
7911
|
+
const _c0$t = ["textAreaElement"];
|
|
7912
|
+
const _c1$c = ["fileInput"];
|
|
7923
7913
|
function DrChatFormDropdownComponent_dr_chat_dropped_files_3_Template(rf, ctx) { if (rf & 1) {
|
|
7924
7914
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
7925
7915
|
i0.ɵɵelementStart(0, "dr-chat-dropped-files", 12);
|
|
@@ -8106,8 +8096,8 @@ class DrChatFormDropdownComponent {
|
|
|
8106
8096
|
}
|
|
8107
8097
|
/** @nocollapse */ static { this.ɵfac = function DrChatFormDropdownComponent_Factory(t) { return new (t || DrChatFormDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$5.DomSanitizer)); }; }
|
|
8108
8098
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatFormDropdownComponent, selectors: [["dr-chat-form-dropdown"]], viewQuery: function DrChatFormDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8109
|
-
i0.ɵɵviewQuery(_c0$
|
|
8110
|
-
i0.ɵɵviewQuery(_c1$
|
|
8099
|
+
i0.ɵɵviewQuery(_c0$t, 5);
|
|
8100
|
+
i0.ɵɵviewQuery(_c1$c, 5);
|
|
8111
8101
|
} if (rf & 2) {
|
|
8112
8102
|
let _t;
|
|
8113
8103
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.textAreaElementRef = _t.first);
|
|
@@ -8245,14 +8235,14 @@ class DrChatCustomMessageDirective {
|
|
|
8245
8235
|
type: Input
|
|
8246
8236
|
}] }); })();
|
|
8247
8237
|
|
|
8248
|
-
const _c0$
|
|
8238
|
+
const _c0$s = ["*"];
|
|
8249
8239
|
class DrChatAlertComponent {
|
|
8250
8240
|
constructor() {
|
|
8251
8241
|
this.iconClass = 'dr-icon-info';
|
|
8252
8242
|
this.close = new EventEmitter();
|
|
8253
8243
|
}
|
|
8254
8244
|
/** @nocollapse */ static { this.ɵfac = function DrChatAlertComponent_Factory(t) { return new (t || DrChatAlertComponent)(); }; }
|
|
8255
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$
|
|
8245
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$s, decls: 3, vars: 2, consts: [["theme", "icon", "icon", "dr-icon-exit", "drTooltip", "Close", 1, "chat-alert-close-btn", 3, "click"]], template: function DrChatAlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8256
8246
|
i0.ɵɵprojectionDef();
|
|
8257
8247
|
i0.ɵɵelement(0, "i");
|
|
8258
8248
|
i0.ɵɵprojection(1);
|
|
@@ -8349,7 +8339,7 @@ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8349
8339
|
i0.ɵɵadvance(1);
|
|
8350
8340
|
i0.ɵɵtextInterpolate(ctx_r0.text);
|
|
8351
8341
|
} }
|
|
8352
|
-
const _c0$
|
|
8342
|
+
const _c0$r = ["*"];
|
|
8353
8343
|
const ALERT_THEME_ICONS = {
|
|
8354
8344
|
[DrAlertTheme.SUCCESS]: 'dr-icon-uploaded-success',
|
|
8355
8345
|
[DrAlertTheme.BOLD_ERROR]: 'dr-icon-error',
|
|
@@ -8370,7 +8360,7 @@ class DrAlertComponent {
|
|
|
8370
8360
|
/** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
|
|
8371
8361
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
8372
8362
|
i0.ɵɵclassMap(ctx.elementClass);
|
|
8373
|
-
} }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$
|
|
8363
|
+
} }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$r, decls: 6, vars: 3, consts: [[1, "dr-alert__content-wrapper"], ["class", "dr-alert__text", 4, "ngIf"], [1, "dr-alert__custom-content"], ["contentRef", ""], [1, "dr-alert__text"]], template: function DrAlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8374
8364
|
i0.ɵɵprojectionDef();
|
|
8375
8365
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8376
8366
|
i0.ɵɵelement(1, "i");
|
|
@@ -8416,7 +8406,7 @@ class CodeEditorHintWrapperComponent {
|
|
|
8416
8406
|
}]
|
|
8417
8407
|
}], null, null); })();
|
|
8418
8408
|
|
|
8419
|
-
const _c0$
|
|
8409
|
+
const _c0$q = ["ref"];
|
|
8420
8410
|
class DrCodemirrorComponent {
|
|
8421
8411
|
set options(value) {
|
|
8422
8412
|
this._options = value;
|
|
@@ -8546,7 +8536,7 @@ class DrCodemirrorComponent {
|
|
|
8546
8536
|
}
|
|
8547
8537
|
/** @nocollapse */ static { this.ɵfac = function DrCodemirrorComponent_Factory(t) { return new (t || DrCodemirrorComponent)(i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
8548
8538
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodemirrorComponent, selectors: [["dr-codemirror"]], viewQuery: function DrCodemirrorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8549
|
-
i0.ɵɵviewQuery(_c0$
|
|
8539
|
+
i0.ɵɵviewQuery(_c0$q, 5);
|
|
8550
8540
|
} if (rf & 2) {
|
|
8551
8541
|
let _t;
|
|
8552
8542
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ref = _t.first);
|
|
@@ -8698,7 +8688,7 @@ class DrErrorComponent {
|
|
|
8698
8688
|
args: ['class.no-icon']
|
|
8699
8689
|
}] }); })();
|
|
8700
8690
|
|
|
8701
|
-
const _c0$
|
|
8691
|
+
const _c0$p = ["codeEditor"];
|
|
8702
8692
|
function DrCodeEditorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
8703
8693
|
i0.ɵɵelementStart(0, "span", 4);
|
|
8704
8694
|
i0.ɵɵtext(1);
|
|
@@ -8977,7 +8967,7 @@ class DrCodeEditorComponent {
|
|
|
8977
8967
|
}
|
|
8978
8968
|
/** @nocollapse */ static { this.ɵfac = function DrCodeEditorComponent_Factory(t) { return new (t || DrCodeEditorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
8979
8969
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodeEditorComponent, selectors: [["dr-code-editor"]], viewQuery: function DrCodeEditorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8980
|
-
i0.ɵɵviewQuery(_c0$
|
|
8970
|
+
i0.ɵɵviewQuery(_c0$p, 5);
|
|
8981
8971
|
} if (rf & 2) {
|
|
8982
8972
|
let _t;
|
|
8983
8973
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.codeEditor = _t.first);
|
|
@@ -9745,7 +9735,7 @@ const getAlignmentDimension = (position) => {
|
|
|
9745
9735
|
return DrPopoverAlignmentDimension.Width;
|
|
9746
9736
|
};
|
|
9747
9737
|
|
|
9748
|
-
const _c0$
|
|
9738
|
+
const _c0$o = ["popoverContainer"];
|
|
9749
9739
|
function DrPopoverComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
9750
9740
|
i0.ɵɵelementContainer(0);
|
|
9751
9741
|
} }
|
|
@@ -9835,7 +9825,7 @@ class DrPopoverComponent {
|
|
|
9835
9825
|
}
|
|
9836
9826
|
/** @nocollapse */ static { this.ɵfac = function DrPopoverComponent_Factory(t) { return new (t || DrPopoverComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(DrPopoverRef)); }; }
|
|
9837
9827
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrPopoverComponent, selectors: [["dr-popover"]], viewQuery: function DrPopoverComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9838
|
-
i0.ɵɵviewQuery(_c0$
|
|
9828
|
+
i0.ɵɵviewQuery(_c0$o, 7, ElementRef);
|
|
9839
9829
|
} if (rf & 2) {
|
|
9840
9830
|
let _t;
|
|
9841
9831
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverContainer = _t.first);
|
|
@@ -10158,7 +10148,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
10158
10148
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
10159
10149
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10160
10150
|
};
|
|
10161
|
-
const _c0$
|
|
10151
|
+
const _c0$n = ["menuContainer"];
|
|
10162
10152
|
function DrDropdownComponent_dr_dropdown_item_4_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
10163
10153
|
i0.ɵɵelement(0, "i", 11);
|
|
10164
10154
|
} if (rf & 2) {
|
|
@@ -10208,12 +10198,12 @@ function DrDropdownComponent_dr_dropdown_item_4_ng_container_2_Template(rf, ctx)
|
|
|
10208
10198
|
i0.ɵɵadvance(1);
|
|
10209
10199
|
i0.ɵɵproperty("ngIf", ctx_r5.hasChildren(act_r2));
|
|
10210
10200
|
} }
|
|
10211
|
-
const _c1$
|
|
10201
|
+
const _c1$b = function (a0) { return { $implicit: a0 }; };
|
|
10212
10202
|
function DrDropdownComponent_dr_dropdown_item_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
10213
10203
|
i0.ɵɵelementContainer(0, 17);
|
|
10214
10204
|
} if (rf & 2) {
|
|
10215
10205
|
const act_r2 = i0.ɵɵnextContext().$implicit;
|
|
10216
|
-
i0.ɵɵproperty("ngTemplateOutlet", act_r2.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$
|
|
10206
|
+
i0.ɵɵproperty("ngTemplateOutlet", act_r2.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$b, act_r2));
|
|
10217
10207
|
} }
|
|
10218
10208
|
const _c2$4 = function () { return { withoutArrow: true }; };
|
|
10219
10209
|
function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -10354,7 +10344,7 @@ class DrDropdownComponent {
|
|
|
10354
10344
|
}
|
|
10355
10345
|
/** @nocollapse */ static { this.ɵfac = function DrDropdownComponent_Factory(t) { return new (t || DrDropdownComponent)(); }; }
|
|
10356
10346
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownComponent, selectors: [["dr-dropdown"]], viewQuery: function DrDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10357
|
-
i0.ɵɵviewQuery(_c0$
|
|
10347
|
+
i0.ɵɵviewQuery(_c0$n, 7);
|
|
10358
10348
|
} if (rf & 2) {
|
|
10359
10349
|
let _t;
|
|
10360
10350
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
|
|
@@ -10593,8 +10583,8 @@ class DrDropdownChildDirective {
|
|
|
10593
10583
|
}]
|
|
10594
10584
|
}], null, null); })();
|
|
10595
10585
|
|
|
10596
|
-
const _c0$
|
|
10597
|
-
const _c1$
|
|
10586
|
+
const _c0$m = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
|
|
10587
|
+
const _c1$a = ["[dropdownItemContent]", "[dropdownItemActions]"];
|
|
10598
10588
|
class DrDropdownItemComponent {
|
|
10599
10589
|
constructor() {
|
|
10600
10590
|
this.role = 'option';
|
|
@@ -10602,8 +10592,8 @@ class DrDropdownItemComponent {
|
|
|
10602
10592
|
/** @nocollapse */ static { this.ɵfac = function DrDropdownItemComponent_Factory(t) { return new (t || DrDropdownItemComponent)(); }; }
|
|
10603
10593
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownItemComponent, selectors: [["dr-dropdown-item"]], hostVars: 1, hostBindings: function DrDropdownItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10604
10594
|
i0.ɵɵattribute("role", ctx.role);
|
|
10605
|
-
} }, inputs: { selected: "selected", disabled: "disabled", divider: "divider" }, ngContentSelectors: _c1$
|
|
10606
|
-
i0.ɵɵprojectionDef(_c0$
|
|
10595
|
+
} }, inputs: { selected: "selected", disabled: "disabled", divider: "divider" }, ngContentSelectors: _c1$a, decls: 5, vars: 6, consts: [[1, "dr-dropdown-item"], [1, "dr-dropdown-text"], [1, "dr-dropdown-actions"]], template: function DrDropdownItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10596
|
+
i0.ɵɵprojectionDef(_c0$m);
|
|
10607
10597
|
i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
|
|
10608
10598
|
i0.ɵɵprojection(2);
|
|
10609
10599
|
i0.ɵɵelementEnd();
|
|
@@ -10645,7 +10635,7 @@ class DrDropdownItemShowPipe {
|
|
|
10645
10635
|
function DrTabComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
10646
10636
|
i0.ɵɵprojection(0);
|
|
10647
10637
|
} }
|
|
10648
|
-
const _c0$
|
|
10638
|
+
const _c0$l = ["*"];
|
|
10649
10639
|
class DrTabComponent {
|
|
10650
10640
|
constructor() { }
|
|
10651
10641
|
ngOnInit() { }
|
|
@@ -10655,7 +10645,7 @@ class DrTabComponent {
|
|
|
10655
10645
|
} if (rf & 2) {
|
|
10656
10646
|
let _t;
|
|
10657
10647
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
|
|
10658
|
-
} }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$
|
|
10648
|
+
} }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$l, decls: 1, vars: 0, template: function DrTabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10659
10649
|
i0.ɵɵprojectionDef();
|
|
10660
10650
|
i0.ɵɵtemplate(0, DrTabComponent_ng_template_0_Template, 1, 0, "ng-template");
|
|
10661
10651
|
} }, encapsulation: 2 }); }
|
|
@@ -10930,8 +10920,8 @@ class DrTabsComponent {
|
|
|
10930
10920
|
args: [DrTabComponent]
|
|
10931
10921
|
}] }); })();
|
|
10932
10922
|
|
|
10933
|
-
const _c0$
|
|
10934
|
-
const _c1$
|
|
10923
|
+
const _c0$k = [[["dr-accordion-item"]]];
|
|
10924
|
+
const _c1$9 = ["dr-accordion-item"];
|
|
10935
10925
|
class DrAccordionComponent {
|
|
10936
10926
|
constructor() {
|
|
10937
10927
|
this.openCloseItems = new Subject();
|
|
@@ -10964,8 +10954,8 @@ class DrAccordionComponent {
|
|
|
10964
10954
|
/** @nocollapse */ static { this.ɵfac = function DrAccordionComponent_Factory(t) { return new (t || DrAccordionComponent)(); }; }
|
|
10965
10955
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionComponent, selectors: [["dr-accordion"]], hostVars: 2, hostBindings: function DrAccordionComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10966
10956
|
i0.ɵɵclassMap(ctx.theme);
|
|
10967
|
-
} }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$
|
|
10968
|
-
i0.ɵɵprojectionDef(_c0$
|
|
10957
|
+
} }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$9, decls: 1, vars: 0, template: function DrAccordionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10958
|
+
i0.ɵɵprojectionDef(_c0$k);
|
|
10969
10959
|
i0.ɵɵprojection(0);
|
|
10970
10960
|
} }, styles: ["[_nghost-%COMP%]{display:block;box-shadow:#2c33491a 0 5px 10px}.borderless[_nghost-%COMP%]{box-shadow:none}"], changeDetection: 0 }); }
|
|
10971
10961
|
}
|
|
@@ -10982,8 +10972,8 @@ class DrAccordionComponent {
|
|
|
10982
10972
|
args: ['class']
|
|
10983
10973
|
}] }); })();
|
|
10984
10974
|
|
|
10985
|
-
const _c0$
|
|
10986
|
-
const _c1$
|
|
10975
|
+
const _c0$j = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
|
|
10976
|
+
const _c1$8 = ["dr-accordion-item-header", "dr-accordion-item-body"];
|
|
10987
10977
|
class DrAccordionItemComponent {
|
|
10988
10978
|
/**
|
|
10989
10979
|
* Item is collapse (`true` by default)
|
|
@@ -11083,8 +11073,8 @@ class DrAccordionItemComponent {
|
|
|
11083
11073
|
/** @nocollapse */ static { this.ɵfac = function DrAccordionItemComponent_Factory(t) { return new (t || DrAccordionItemComponent)(i0.ɵɵdirectiveInject(DrAccordionComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
11084
11074
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemComponent, selectors: [["dr-accordion-item"]], hostVars: 6, hostBindings: function DrAccordionItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
11085
11075
|
i0.ɵɵclassProp("collapsed", ctx.collapsed)("expanded", ctx.expanded)("disabled", ctx.disabled);
|
|
11086
|
-
} }, inputs: { collapsed: "collapsed", expanded: "expanded", disabled: "disabled" }, outputs: { collapsedChange: "collapsedChange" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$
|
|
11087
|
-
i0.ɵɵprojectionDef(_c0$
|
|
11076
|
+
} }, inputs: { collapsed: "collapsed", expanded: "expanded", disabled: "disabled" }, outputs: { collapsedChange: "collapsedChange" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$8, decls: 2, vars: 0, template: function DrAccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11077
|
+
i0.ɵɵprojectionDef(_c0$j);
|
|
11088
11078
|
i0.ɵɵprojection(0);
|
|
11089
11079
|
i0.ɵɵprojection(1, 1);
|
|
11090
11080
|
} }, styles: ["[_nghost-%COMP%]{background-color:#fff;color:#222b45;font-family:Poppins,sans-serif;font-size:16px;font-weight:400;line-height:1.25rem;display:flex;flex-direction:column}"], changeDetection: 0 }); }
|
|
@@ -11126,8 +11116,8 @@ function DrAccordionItemHeaderComponent_i_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
11126
11116
|
i0.ɵɵclassMap("dr-accordion-item-header-icon " + ctx_r0.icon);
|
|
11127
11117
|
i0.ɵɵclassProp("dr-accordion-item-header-icon--additional-padding", ctx_r0.chevronPosition === "left");
|
|
11128
11118
|
} }
|
|
11129
|
-
const _c0$
|
|
11130
|
-
const _c1$
|
|
11119
|
+
const _c0$i = function (a0) { return { rotationDegree: a0 }; };
|
|
11120
|
+
const _c1$7 = function (a0, a1) { return { value: a0, params: a1 }; };
|
|
11131
11121
|
function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
11132
11122
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
11133
11123
|
i0.ɵɵelementStart(0, "i", 2);
|
|
@@ -11136,7 +11126,7 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11136
11126
|
} if (rf & 2) {
|
|
11137
11127
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
11138
11128
|
i0.ɵɵclassMap(ctx_r1.chevronIconClass);
|
|
11139
|
-
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$
|
|
11129
|
+
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$7, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$i, ctx_r1.chevronRotationDegree)));
|
|
11140
11130
|
} }
|
|
11141
11131
|
const _c2$3 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
|
|
11142
11132
|
const _c3$1 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
|
|
@@ -11265,8 +11255,8 @@ class DrAccordionItemHeaderComponent {
|
|
|
11265
11255
|
args: ['keydown.enter']
|
|
11266
11256
|
}] }); })();
|
|
11267
11257
|
|
|
11268
|
-
const _c0$
|
|
11269
|
-
const _c1$
|
|
11258
|
+
const _c0$h = function (a0) { return { value: a0 }; };
|
|
11259
|
+
const _c1$6 = ["*"];
|
|
11270
11260
|
const accordionItemBodyTrigger = trigger('accordionItemBody', [
|
|
11271
11261
|
state('collapsed', style({
|
|
11272
11262
|
overflow: 'hidden',
|
|
@@ -11297,13 +11287,13 @@ class DrAccordionItemBodyComponent {
|
|
|
11297
11287
|
this.destroy$.complete();
|
|
11298
11288
|
}
|
|
11299
11289
|
/** @nocollapse */ static { this.ɵfac = function DrAccordionItemBodyComponent_Factory(t) { return new (t || DrAccordionItemBodyComponent)(i0.ɵɵdirectiveInject(DrAccordionItemComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
11300
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemBodyComponent, selectors: [["dr-accordion-item-body"]], ngContentSelectors: _c1$
|
|
11290
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemBodyComponent, selectors: [["dr-accordion-item-body"]], ngContentSelectors: _c1$6, decls: 3, vars: 3, consts: [[1, "item-body"]], template: function DrAccordionItemBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11301
11291
|
i0.ɵɵprojectionDef();
|
|
11302
11292
|
i0.ɵɵelementStart(0, "div")(1, "div", 0);
|
|
11303
11293
|
i0.ɵɵprojection(2);
|
|
11304
11294
|
i0.ɵɵelementEnd()();
|
|
11305
11295
|
} if (rf & 2) {
|
|
11306
|
-
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$
|
|
11296
|
+
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$h, ctx.state));
|
|
11307
11297
|
} }, styles: [".item-body[_ngcontent-%COMP%]{flex:1;-ms-flex:1 1 auto;overflow:auto;position:relative}"], data: { animation: [accordionItemBodyTrigger] }, changeDetection: 0 }); }
|
|
11308
11298
|
}
|
|
11309
11299
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAccordionItemBodyComponent, [{
|
|
@@ -11319,13 +11309,13 @@ class DrAccordionItemBodyComponent {
|
|
|
11319
11309
|
type: Host
|
|
11320
11310
|
}] }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
11321
11311
|
|
|
11322
|
-
const _c0$
|
|
11323
|
-
const _c1$
|
|
11312
|
+
const _c0$g = [[["dr-layout-header"]], [["dr-layout-body"]]];
|
|
11313
|
+
const _c1$5 = ["dr-layout-header", "dr-layout-body"];
|
|
11324
11314
|
class DrLayoutComponent {
|
|
11325
11315
|
constructor() { }
|
|
11326
11316
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutComponent_Factory(t) { return new (t || DrLayoutComponent)(); }; }
|
|
11327
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutComponent, selectors: [["dr-layout"]], ngContentSelectors: _c1$
|
|
11328
|
-
i0.ɵɵprojectionDef(_c0$
|
|
11317
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutComponent, selectors: [["dr-layout"]], ngContentSelectors: _c1$5, decls: 6, vars: 0, consts: [[1, "dr-layout"], [1, "dr-layout__container"], [1, "content"], [1, "columns"]], template: function DrLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11318
|
+
i0.ɵɵprojectionDef(_c0$g);
|
|
11329
11319
|
i0.ɵɵelementStart(0, "div", 0);
|
|
11330
11320
|
i0.ɵɵprojection(1);
|
|
11331
11321
|
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3);
|
|
@@ -11338,11 +11328,11 @@ class DrLayoutComponent {
|
|
|
11338
11328
|
args: [{ selector: 'dr-layout', template: "<div class=\"dr-layout\">\n <ng-content select=\"dr-layout-header\"></ng-content>\n <div class=\"dr-layout__container\">\n <div class=\"content\">\n <div class=\"columns\">\n <ng-content select=\"dr-layout-body\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{font-size:16px;font-weight:400;font-family:Poppins,sans-serif;line-height:1.25rem;-webkit-font-smoothing:antialiased}:host .dr-layout{display:flex;flex-direction:column;min-height:100vh;font-size:16px;font-weight:400;line-height:1.4rem}:host .dr-layout ::ng-deep dr-layout-header{display:block;position:fixed;top:0;left:0;right:0;z-index:1040}:host .dr-layout ::ng-deep dr-layout-header nav{align-items:center;justify-content:flex-start;display:flex}:host .dr-layout__container{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row}:host .dr-layout__container .content{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0}:host .dr-layout__container .content .columns{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row;width:100%}:host .dr-layout__container .content .columns ::ng-deep dr-layout-body{flex:1 0;min-width:0}\n"] }]
|
|
11339
11329
|
}], function () { return []; }, null); })();
|
|
11340
11330
|
|
|
11341
|
-
const _c0$
|
|
11331
|
+
const _c0$f = ["*"];
|
|
11342
11332
|
class DrLayoutHeaderComponent {
|
|
11343
11333
|
constructor() { }
|
|
11344
11334
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutHeaderComponent_Factory(t) { return new (t || DrLayoutHeaderComponent)(); }; }
|
|
11345
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$
|
|
11335
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$f, decls: 2, vars: 0, template: function DrLayoutHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11346
11336
|
i0.ɵɵprojectionDef();
|
|
11347
11337
|
i0.ɵɵelementStart(0, "nav");
|
|
11348
11338
|
i0.ɵɵprojection(1);
|
|
@@ -11361,11 +11351,11 @@ class DrLayoutHeaderComponent {
|
|
|
11361
11351
|
}]
|
|
11362
11352
|
}], function () { return []; }, null); })();
|
|
11363
11353
|
|
|
11364
|
-
const _c0$
|
|
11354
|
+
const _c0$e = ["*"];
|
|
11365
11355
|
class DrLayoutBodyComponent {
|
|
11366
11356
|
constructor() { }
|
|
11367
11357
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutBodyComponent_Factory(t) { return new (t || DrLayoutBodyComponent)(); }; }
|
|
11368
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$
|
|
11358
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$e, decls: 1, vars: 0, template: function DrLayoutBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11369
11359
|
i0.ɵɵprojectionDef();
|
|
11370
11360
|
i0.ɵɵprojection(0);
|
|
11371
11361
|
} }, encapsulation: 2 }); }
|
|
@@ -11387,7 +11377,7 @@ function DrDetailsListComponent_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
11387
11377
|
i0.ɵɵadvance(1);
|
|
11388
11378
|
i0.ɵɵtextInterpolate(item_r1);
|
|
11389
11379
|
} }
|
|
11390
|
-
const _c0$
|
|
11380
|
+
const _c0$d = function (a0) { return { value: a0 }; };
|
|
11391
11381
|
class DrDetailsListComponent {
|
|
11392
11382
|
set items(val) {
|
|
11393
11383
|
if (!val) {
|
|
@@ -11434,7 +11424,7 @@ class DrDetailsListComponent {
|
|
|
11434
11424
|
i0.ɵɵadvance(1);
|
|
11435
11425
|
i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
|
|
11436
11426
|
i0.ɵɵadvance(1);
|
|
11437
|
-
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$
|
|
11427
|
+
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$d, ctx.state));
|
|
11438
11428
|
i0.ɵɵadvance(1);
|
|
11439
11429
|
i0.ɵɵproperty("ngForOf", ctx.list);
|
|
11440
11430
|
} }, dependencies: [i1.NgForOf], styles: ["[_nghost-%COMP%]{font-family:Poppins,sans-serif;font-size:14px;line-height:22px;color:#6d6e6f;font-weight:400}[_nghost-%COMP%] .details[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .details__header[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer}[_nghost-%COMP%] .details__header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%] .details__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-left:28px;margin:8px 0}[_nghost-%COMP%] .details__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:disc}"], data: { animation: [
|
|
@@ -11478,8 +11468,8 @@ class DrDetailsListComponent {
|
|
|
11478
11468
|
type: Input
|
|
11479
11469
|
}] }); })();
|
|
11480
11470
|
|
|
11481
|
-
const _c0$
|
|
11482
|
-
const _c1$
|
|
11471
|
+
const _c0$c = ["content"];
|
|
11472
|
+
const _c1$4 = function (a0, a1) { return { "dr-icon-maximize": a0, "dr-icon-minimize": a1 }; };
|
|
11483
11473
|
function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
11484
11474
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
11485
11475
|
i0.ɵɵelementStart(0, "i", 11);
|
|
@@ -11487,7 +11477,7 @@ function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11487
11477
|
i0.ɵɵelementEnd();
|
|
11488
11478
|
} if (rf & 2) {
|
|
11489
11479
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
11490
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$
|
|
11480
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$4, !ctx_r0.isMaximized, ctx_r0.isMaximized));
|
|
11491
11481
|
} }
|
|
11492
11482
|
function DialogWrapperComponent_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
11493
11483
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
@@ -11673,7 +11663,7 @@ class DialogWrapperComponent {
|
|
|
11673
11663
|
}
|
|
11674
11664
|
/** @nocollapse */ static { this.ɵfac = function DialogWrapperComponent_Factory(t) { return new (t || DialogWrapperComponent)(i0.ɵɵdirectiveInject(i1$6.MatLegacyDialogRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(MAT_LEGACY_DIALOG_DATA)); }; }
|
|
11675
11665
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DialogWrapperComponent, selectors: [["dr-dialog-wrapper"]], viewQuery: function DialogWrapperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11676
|
-
i0.ɵɵviewQuery(_c0$
|
|
11666
|
+
i0.ɵɵviewQuery(_c0$c, 5, ViewContainerRef);
|
|
11677
11667
|
} if (rf & 2) {
|
|
11678
11668
|
let _t;
|
|
11679
11669
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
|
|
@@ -11876,8 +11866,8 @@ function DialogModalWrapperComponent_form_7_div_2_label_9_Template(rf, ctx) { if
|
|
|
11876
11866
|
i0.ɵɵadvance(1);
|
|
11877
11867
|
i0.ɵɵtextInterpolate1(" ", ctx_r19.dialogData.serverErrorMessage, " ");
|
|
11878
11868
|
} }
|
|
11879
|
-
const _c0$
|
|
11880
|
-
const _c1$
|
|
11869
|
+
const _c0$b = function (a0) { return { display: a0 }; };
|
|
11870
|
+
const _c1$3 = function (a0, a1) { return { "col-md-10": a0, "col-md-12": a1 }; };
|
|
11881
11871
|
function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
11882
11872
|
i0.ɵɵelementStart(0, "div", 16);
|
|
11883
11873
|
i0.ɵɵtemplate(1, DialogModalWrapperComponent_form_7_div_2_label_1_Template, 2, 2, "label", 17);
|
|
@@ -11894,11 +11884,11 @@ function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1
|
|
|
11894
11884
|
const field_r11 = ctx.$implicit;
|
|
11895
11885
|
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
11896
11886
|
i0.ɵɵclassMap(field_r11.formGroupClass);
|
|
11897
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$
|
|
11887
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$b, field_r11.isLabelFullWidth ? "block" : "flex"));
|
|
11898
11888
|
i0.ɵɵadvance(1);
|
|
11899
11889
|
i0.ɵɵproperty("ngIf", field_r11.label && field_r11.type !== ctx_r10.dialogFieldType.CHECKBOX);
|
|
11900
11890
|
i0.ɵɵadvance(1);
|
|
11901
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(14, _c1$
|
|
11891
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(14, _c1$3, field_r11.label && !field_r11.isLabelFullWidth, !field_r11.label || field_r11.isLabelFullWidth));
|
|
11902
11892
|
i0.ɵɵadvance(1);
|
|
11903
11893
|
i0.ɵɵproperty("ngIf", field_r11.type === ctx_r10.dialogFieldType.SELECT);
|
|
11904
11894
|
i0.ɵɵadvance(1);
|
|
@@ -12602,7 +12592,7 @@ function TreeviewItemComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
12602
12592
|
i0.ɵɵadvance(1);
|
|
12603
12593
|
i0.ɵɵproperty("ngForOf", ctx_r2.item.children);
|
|
12604
12594
|
} }
|
|
12605
|
-
const _c0$
|
|
12595
|
+
const _c0$a = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
|
|
12606
12596
|
function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
12607
12597
|
i0.ɵɵelementStart(0, "div", 1);
|
|
12608
12598
|
i0.ɵɵtemplate(1, TreeviewItemComponent_div_0_ng_template_1_Template, 0, 0, "ng-template", 2);
|
|
@@ -12611,7 +12601,7 @@ function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
12611
12601
|
} if (rf & 2) {
|
|
12612
12602
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
12613
12603
|
i0.ɵɵadvance(1);
|
|
12614
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$
|
|
12604
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$a, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
|
|
12615
12605
|
i0.ɵɵadvance(1);
|
|
12616
12606
|
i0.ɵɵproperty("ngIf", !ctx_r0.item.collapsed);
|
|
12617
12607
|
} }
|
|
@@ -13768,7 +13758,7 @@ class DrImageCropperCanvasService {
|
|
|
13768
13758
|
type: Injectable
|
|
13769
13759
|
}], null, null); })();
|
|
13770
13760
|
|
|
13771
|
-
const _c0$
|
|
13761
|
+
const _c0$9 = ["imageCanvas"];
|
|
13772
13762
|
class DrImageCropperComponent {
|
|
13773
13763
|
constructor(canvasService) {
|
|
13774
13764
|
this.canvasService = canvasService;
|
|
@@ -13826,7 +13816,7 @@ class DrImageCropperComponent {
|
|
|
13826
13816
|
}
|
|
13827
13817
|
/** @nocollapse */ static { this.ɵfac = function DrImageCropperComponent_Factory(t) { return new (t || DrImageCropperComponent)(i0.ɵɵdirectiveInject(DrImageCropperCanvasService)); }; }
|
|
13828
13818
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrImageCropperComponent, selectors: [["dr-image-cropper"]], viewQuery: function DrImageCropperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13829
|
-
i0.ɵɵviewQuery(_c0$
|
|
13819
|
+
i0.ɵɵviewQuery(_c0$9, 7);
|
|
13830
13820
|
} if (rf & 2) {
|
|
13831
13821
|
let _t;
|
|
13832
13822
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.canvasElement = _t.first);
|
|
@@ -14269,13 +14259,13 @@ function DrChipComponent_i_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14269
14259
|
i0.ɵɵlistener("click", function DrChipComponent_i_4_Template_i_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.remove.next(null)); });
|
|
14270
14260
|
i0.ɵɵelementEnd();
|
|
14271
14261
|
} }
|
|
14272
|
-
const _c0$
|
|
14262
|
+
const _c0$8 = ["*"];
|
|
14273
14263
|
class DrChipComponent {
|
|
14274
14264
|
constructor() {
|
|
14275
14265
|
this.remove = new EventEmitter();
|
|
14276
14266
|
}
|
|
14277
14267
|
/** @nocollapse */ static { this.ɵfac = function DrChipComponent_Factory(t) { return new (t || DrChipComponent)(); }; }
|
|
14278
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChipComponent, selectors: [["dr-chip"]], inputs: { label: "label", icon: "icon", removable: "removable" }, outputs: { remove: "remove" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
14268
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChipComponent, selectors: [["dr-chip"]], inputs: { label: "label", icon: "icon", removable: "removable" }, outputs: { remove: "remove" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$8, decls: 5, vars: 4, consts: [["class", "chip__icon", 3, "class", 4, "ngIf"], [1, "chip__label"], [4, "ngIf"], ["class", "chip__remove dr-icon-exit", 3, "click", 4, "ngIf"], [1, "chip__icon"], [1, "chip__remove", "dr-icon-exit", 3, "click"]], template: function DrChipComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14279
14269
|
i0.ɵɵprojectionDef();
|
|
14280
14270
|
i0.ɵɵtemplate(0, DrChipComponent_i_0_Template, 1, 2, "i", 0);
|
|
14281
14271
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -14306,8 +14296,8 @@ class DrChipComponent {
|
|
|
14306
14296
|
type: Output
|
|
14307
14297
|
}] }); })();
|
|
14308
14298
|
|
|
14309
|
-
const _c0$
|
|
14310
|
-
const _c1$
|
|
14299
|
+
const _c0$7 = ["carouselContainer"];
|
|
14300
|
+
const _c1$2 = ["carouselItem"];
|
|
14311
14301
|
function DrGalleryComponent_dr_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
14312
14302
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14313
14303
|
i0.ɵɵelementStart(0, "dr-button", 5);
|
|
@@ -14532,8 +14522,8 @@ class DrGalleryComponent {
|
|
|
14532
14522
|
let _t;
|
|
14533
14523
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
|
|
14534
14524
|
} }, viewQuery: function DrGalleryComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14535
|
-
i0.ɵɵviewQuery(_c0$
|
|
14536
|
-
i0.ɵɵviewQuery(_c1$
|
|
14525
|
+
i0.ɵɵviewQuery(_c0$7, 5);
|
|
14526
|
+
i0.ɵɵviewQuery(_c1$2, 5);
|
|
14537
14527
|
} if (rf & 2) {
|
|
14538
14528
|
let _t;
|
|
14539
14529
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerRef = _t.first);
|
|
@@ -14594,7 +14584,7 @@ function DrProgressBarComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14594
14584
|
i0.ɵɵadvance(1);
|
|
14595
14585
|
i0.ɵɵtextInterpolate1("", ctx_r0.progress || 0, "%");
|
|
14596
14586
|
} }
|
|
14597
|
-
const _c0$
|
|
14587
|
+
const _c0$6 = ["*"];
|
|
14598
14588
|
class DrProgressBarComponent {
|
|
14599
14589
|
constructor() {
|
|
14600
14590
|
/**
|
|
@@ -14606,7 +14596,7 @@ class DrProgressBarComponent {
|
|
|
14606
14596
|
/** @nocollapse */ static { this.ɵfac = function DrProgressBarComponent_Factory(t) { return new (t || DrProgressBarComponent)(); }; }
|
|
14607
14597
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrProgressBarComponent, selectors: [["dr-progress-bar"]], hostVars: 2, hostBindings: function DrProgressBarComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
14608
14598
|
i0.ɵɵclassMap(ctx.theme);
|
|
14609
|
-
} }, inputs: { progress: "progress", showValue: "showValue", theme: "theme" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
14599
|
+
} }, inputs: { progress: "progress", showValue: "showValue", theme: "theme" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$6, decls: 5, vars: 3, consts: [[1, "progress-bar__background"], [1, "progress-bar__background__fill"], [1, "progress-bar__value"], [4, "ngIf"]], template: function DrProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14610
14600
|
i0.ɵɵprojectionDef();
|
|
14611
14601
|
i0.ɵɵelementStart(0, "div", 0);
|
|
14612
14602
|
i0.ɵɵelement(1, "div", 1);
|
|
@@ -14637,7 +14627,7 @@ class DrProgressBarComponent {
|
|
|
14637
14627
|
args: ['class']
|
|
14638
14628
|
}] }); })();
|
|
14639
14629
|
|
|
14640
|
-
const _c0$
|
|
14630
|
+
const _c0$5 = ["*"];
|
|
14641
14631
|
class DrBadgeComponent {
|
|
14642
14632
|
constructor() {
|
|
14643
14633
|
this.color = 'stone';
|
|
@@ -14649,7 +14639,7 @@ class DrBadgeComponent {
|
|
|
14649
14639
|
/** @nocollapse */ static { this.ɵfac = function DrBadgeComponent_Factory(t) { return new (t || DrBadgeComponent)(); }; }
|
|
14650
14640
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrBadgeComponent, selectors: [["dr-badge"]], hostVars: 2, hostBindings: function DrBadgeComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
14651
14641
|
i0.ɵɵclassMap(ctx.elementClasses);
|
|
14652
|
-
} }, inputs: { color: "color", size: "size" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
14642
|
+
} }, inputs: { color: "color", size: "size" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$5, decls: 1, vars: 0, template: function DrBadgeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14653
14643
|
i0.ɵɵprojectionDef();
|
|
14654
14644
|
i0.ɵɵprojection(0);
|
|
14655
14645
|
} }, styles: ["[_nghost-%COMP%]{display:inline-flex;align-items:center;color:#333;border-radius:4px;box-sizing:border-box;font-size:12px;line-height:16px;font-weight:500}.small[_nghost-%COMP%]{gap:2px;padding:2px 4px}.medium[_nghost-%COMP%]{gap:4px;padding:4px 8px}.light-purple[_nghost-%COMP%]{background-color:#dfd9ff}.water[_nghost-%COMP%]{background-color:#d9f2ff}.baby-blue[_nghost-%COMP%]{background-color:#d9e6ff}.baby-pink[_nghost-%COMP%]{background-color:#ffdbf1}.light-turquoise[_nghost-%COMP%]{background-color:#d6fcf9}.bright-green[_nghost-%COMP%]{background-color:#d9ffea}.stone[_nghost-%COMP%]{background-color:#f6f4f4}.peach[_nghost-%COMP%]{background-color:#ffe5b4}.soft-coral[_nghost-%COMP%]{background-color:#ffd2c2}.pale-yellow[_nghost-%COMP%]{background-color:#fffacd}.pastel-olive[_nghost-%COMP%]{background-color:#dce2b9}.powder-blue-grey[_nghost-%COMP%]{background-color:#d3dbe3}.muted-plum[_nghost-%COMP%]{background-color:#e7c7db}"], changeDetection: 0 }); }
|
|
@@ -14732,7 +14722,7 @@ class BottomPositionStrategy {
|
|
|
14732
14722
|
}
|
|
14733
14723
|
}
|
|
14734
14724
|
|
|
14735
|
-
const _c0$
|
|
14725
|
+
const _c0$4 = ["handleRef"];
|
|
14736
14726
|
function DrawerContainer_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14737
14727
|
i0.ɵɵelement(0, "div", 3, 4);
|
|
14738
14728
|
} }
|
|
@@ -14846,7 +14836,7 @@ class DrawerContainer extends CdkDialogContainer {
|
|
|
14846
14836
|
/** @nocollapse */ static { this.ɵfac = function DrawerContainer_Factory(t) { return new (t || DrawerContainer)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$8.FocusTrapFactory), i0.ɵɵdirectiveInject(DOCUMENT, 8), i0.ɵɵdirectiveInject(DrawerConfig), i0.ɵɵdirectiveInject(i1$8.InteractivityChecker), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.OverlayRef), i0.ɵɵdirectiveInject(i1$8.FocusMonitor)); }; }
|
|
14847
14837
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrawerContainer, selectors: [["dr-drawer-container"]], viewQuery: function DrawerContainer_Query(rf, ctx) { if (rf & 1) {
|
|
14848
14838
|
i0.ɵɵviewQuery(CdkPortalOutlet, 7);
|
|
14849
|
-
i0.ɵɵviewQuery(_c0$
|
|
14839
|
+
i0.ɵɵviewQuery(_c0$4, 5);
|
|
14850
14840
|
} if (rf & 2) {
|
|
14851
14841
|
let _t;
|
|
14852
14842
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._portalOutlet = _t.first);
|
|
@@ -15316,7 +15306,7 @@ function SeparateTableComponent_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
15316
15306
|
function SeparateTableComponent_div_2_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15317
15307
|
i0.ɵɵelementContainer(0);
|
|
15318
15308
|
} }
|
|
15319
|
-
const _c0$
|
|
15309
|
+
const _c0$3 = function (a0, a1) { return { $implicit: a0, column: a1 }; };
|
|
15320
15310
|
function SeparateTableComponent_div_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
15321
15311
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
15322
15312
|
i0.ɵɵelementStart(0, "div", 11);
|
|
@@ -15330,7 +15320,7 @@ function SeparateTableComponent_div_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
15330
15320
|
const _r1 = i0.ɵɵreference(4);
|
|
15331
15321
|
i0.ɵɵproperty("ngStyle", column_r11.styles);
|
|
15332
15322
|
i0.ɵɵadvance(1);
|
|
15333
|
-
i0.ɵɵproperty("ngTemplateOutlet", column_r11.cellTemplate || _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c0$
|
|
15323
|
+
i0.ɵɵproperty("ngTemplateOutlet", column_r11.cellTemplate || _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c0$3, row_r3, column_r11));
|
|
15334
15324
|
} }
|
|
15335
15325
|
function SeparateTableComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
15336
15326
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
@@ -15447,15 +15437,142 @@ class ElementOverflowDirective {
|
|
|
15447
15437
|
type: Input
|
|
15448
15438
|
}] }); })();
|
|
15449
15439
|
|
|
15440
|
+
const _c0$2 = ["container"];
|
|
15441
|
+
function DrListOverflowComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
15442
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
15443
|
+
i0.ɵɵtext(1, "...");
|
|
15444
|
+
i0.ɵɵelementEnd();
|
|
15445
|
+
} }
|
|
15446
|
+
function DrListOverflowComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
15447
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
15448
|
+
i0.ɵɵtext(1);
|
|
15449
|
+
i0.ɵɵelementEnd();
|
|
15450
|
+
} if (rf & 2) {
|
|
15451
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
15452
|
+
i0.ɵɵstyleProp("width", ctx_r2.drListCounterWidth, "px");
|
|
15453
|
+
i0.ɵɵadvance(1);
|
|
15454
|
+
i0.ɵɵtextInterpolate1(", +", ctx_r2.overflowed, "");
|
|
15455
|
+
} }
|
|
15456
|
+
const _c1$1 = ["*"];
|
|
15457
|
+
/**
|
|
15458
|
+
* Calculate number in HORIZONTAL list that has been overflowed
|
|
15459
|
+
*/
|
|
15460
|
+
class DrListOverflowComponent {
|
|
15461
|
+
constructor() {
|
|
15462
|
+
this.drListCounterWidth = 25;
|
|
15463
|
+
/** Number of items that have been overflowed */
|
|
15464
|
+
this.drListOverflowedChange = new EventEmitter();
|
|
15465
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
15466
|
+
this.renderer = inject(Renderer2);
|
|
15467
|
+
this.mutationObserver = new MutationObserver(() => this.calculate());
|
|
15468
|
+
this.overflowed = 0;
|
|
15469
|
+
this.hasEllipsis = false;
|
|
15470
|
+
this.usedWidth = 0;
|
|
15471
|
+
}
|
|
15472
|
+
get hasOverflowed() {
|
|
15473
|
+
return !!this.overflowed || this.hasEllipsis;
|
|
15474
|
+
}
|
|
15475
|
+
ngOnInit() {
|
|
15476
|
+
this.mutationObserver.observe(this.container.nativeElement, { childList: true, subtree: false });
|
|
15477
|
+
}
|
|
15478
|
+
ngOnDestroy() {
|
|
15479
|
+
this.mutationObserver.disconnect();
|
|
15480
|
+
}
|
|
15481
|
+
calculate() {
|
|
15482
|
+
const container = this.container.nativeElement;
|
|
15483
|
+
const items = Array.from(container.children);
|
|
15484
|
+
let usedWidth = 0;
|
|
15485
|
+
let rendered = 0;
|
|
15486
|
+
this.usedWidth = 0;
|
|
15487
|
+
this.overflowed = 0; // to get container without the counter
|
|
15488
|
+
this.hasEllipsis = false;
|
|
15489
|
+
this.cdr.detectChanges();
|
|
15490
|
+
if (items.length === 0) {
|
|
15491
|
+
console.error('No items found in dr-list-overflow. Please make sure all children are a HTMLElements and not just plain text node.');
|
|
15492
|
+
}
|
|
15493
|
+
for (const [index, child] of items.entries()) {
|
|
15494
|
+
const prev = items[index - 1];
|
|
15495
|
+
const prevUsedWidth = usedWidth;
|
|
15496
|
+
usedWidth += child.getBoundingClientRect().width; // we need clientRect width, as offsetWidth is an integer
|
|
15497
|
+
// we need this as the container is flexible and can be wider (we don't know the exact width at the start)
|
|
15498
|
+
this.updateWidth(usedWidth);
|
|
15499
|
+
const containerWidth = container.getBoundingClientRect().width; // we need clientRect width, as clientWidth is an integer
|
|
15500
|
+
const isOverflowed = this.usedWidth > containerWidth;
|
|
15501
|
+
const isOverflowedPrevWithCounter = prev && prevUsedWidth > containerWidth - this.drListCounterWidth;
|
|
15502
|
+
// if the first item is larger than the container - we need to render it anyway, but with ellipsis
|
|
15503
|
+
if (isOverflowed && rendered === 0) {
|
|
15504
|
+
rendered++;
|
|
15505
|
+
this.hasEllipsis = true;
|
|
15506
|
+
break;
|
|
15507
|
+
}
|
|
15508
|
+
// if an item is overflowed and counter makes prev item overflow as well - we need to hide this and prev items
|
|
15509
|
+
if (isOverflowed && isOverflowedPrevWithCounter) {
|
|
15510
|
+
rendered--;
|
|
15511
|
+
this.updateWidth(prevUsedWidth - prev.getBoundingClientRect().width);
|
|
15512
|
+
break;
|
|
15513
|
+
}
|
|
15514
|
+
// if an item is overflowed - hide it
|
|
15515
|
+
if (isOverflowed) {
|
|
15516
|
+
this.updateWidth(prevUsedWidth);
|
|
15517
|
+
break;
|
|
15518
|
+
}
|
|
15519
|
+
rendered++;
|
|
15520
|
+
}
|
|
15521
|
+
// "hide" all overflowed items so they don't appear in innerText (textContent still includes all text, even hidden items)
|
|
15522
|
+
// this prevents tests from picking up overflowed text
|
|
15523
|
+
items.forEach((item, index) => this.renderer.setStyle(item, 'visibility', index < rendered ? 'visible' : 'hidden'));
|
|
15524
|
+
this.overflowed = items.length - rendered;
|
|
15525
|
+
this.drListOverflowedChange.emit(this.overflowed);
|
|
15526
|
+
this.cdr.markForCheck();
|
|
15527
|
+
}
|
|
15528
|
+
/** Immediately update the container width to check whether items are overflowing or the container just became wider */
|
|
15529
|
+
updateWidth(width) {
|
|
15530
|
+
this.usedWidth = width;
|
|
15531
|
+
this.renderer.setStyle(this.container.nativeElement, 'width', `${width}px`);
|
|
15532
|
+
}
|
|
15533
|
+
/** @nocollapse */ static { this.ɵfac = function DrListOverflowComponent_Factory(t) { return new (t || DrListOverflowComponent)(); }; }
|
|
15534
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrListOverflowComponent, selectors: [["dr-list-overflow"], ["", "drListOverflow", ""]], viewQuery: function DrListOverflowComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15535
|
+
i0.ɵɵviewQuery(_c0$2, 7);
|
|
15536
|
+
} if (rf & 2) {
|
|
15537
|
+
let _t;
|
|
15538
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
15539
|
+
} }, inputs: { drListCounterWidth: ["drListCounterWidth", "drListCounterWidth", numberAttribute] }, outputs: { drListOverflowedChange: "drListOverflowedChange" }, exportAs: ["listOverflow"], standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$1, decls: 5, vars: 2, consts: [[1, "overflow-container"], ["container", ""], ["class", "overflow-ellipsis", 4, "ngIf"], ["class", "overflow-counter", 3, "width", 4, "ngIf"], [1, "overflow-ellipsis"], [1, "overflow-counter"]], template: function DrListOverflowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15540
|
+
i0.ɵɵprojectionDef();
|
|
15541
|
+
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
15542
|
+
i0.ɵɵprojection(2);
|
|
15543
|
+
i0.ɵɵelementEnd();
|
|
15544
|
+
i0.ɵɵtemplate(3, DrListOverflowComponent_div_3_Template, 2, 0, "div", 2);
|
|
15545
|
+
i0.ɵɵtemplate(4, DrListOverflowComponent_div_4_Template, 2, 3, "div", 3);
|
|
15546
|
+
} if (rf & 2) {
|
|
15547
|
+
i0.ɵɵadvance(3);
|
|
15548
|
+
i0.ɵɵproperty("ngIf", ctx.hasEllipsis);
|
|
15549
|
+
i0.ɵɵadvance(1);
|
|
15550
|
+
i0.ɵɵproperty("ngIf", ctx.overflowed);
|
|
15551
|
+
} }, dependencies: [CommonModule, i1.NgIf], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;max-width:100%;min-width:0}.overflow-container[_ngcontent-%COMP%]{position:relative;display:flex;max-width:100%;overflow:hidden;white-space:nowrap}.overflow-container[_ngcontent-%COMP%] >*{flex-shrink:0;white-space:nowrap}.overflow-ellipsis[_ngcontent-%COMP%], .overflow-counter[_ngcontent-%COMP%]{text-align:left;white-space:nowrap}"] }); }
|
|
15552
|
+
}
|
|
15553
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrListOverflowComponent, [{
|
|
15554
|
+
type: Component,
|
|
15555
|
+
args: [{ standalone: true, exportAs: 'listOverflow', selector: 'dr-list-overflow, [drListOverflow]', imports: [CommonModule], template: "<div #container class=\"overflow-container\">\n <ng-content></ng-content>\n</div>\n\n<div *ngIf=\"hasEllipsis\" class=\"overflow-ellipsis\">...</div>\n<div *ngIf=\"overflowed\" class=\"overflow-counter\" [style.width.px]=\"drListCounterWidth\">, +{{ overflowed }}</div>\n", styles: [":host{display:flex;align-items:center;max-width:100%;min-width:0}.overflow-container{position:relative;display:flex;max-width:100%;overflow:hidden;white-space:nowrap}.overflow-container ::ng-deep>*{flex-shrink:0;white-space:nowrap}.overflow-ellipsis,.overflow-counter{text-align:left;white-space:nowrap}\n"] }]
|
|
15556
|
+
}], null, { drListCounterWidth: [{
|
|
15557
|
+
type: Input,
|
|
15558
|
+
args: [{ transform: numberAttribute }]
|
|
15559
|
+
}], drListOverflowedChange: [{
|
|
15560
|
+
type: Output
|
|
15561
|
+
}], container: [{
|
|
15562
|
+
type: ViewChild,
|
|
15563
|
+
args: ['container', { static: true }]
|
|
15564
|
+
}] }); })();
|
|
15565
|
+
|
|
15450
15566
|
const _c0$1 = ["*"];
|
|
15451
15567
|
class TextOverflowComponent {
|
|
15452
15568
|
constructor() {
|
|
15453
15569
|
this.overflowType = 'horizontal';
|
|
15454
15570
|
this.showTooltip = true;
|
|
15571
|
+
this.tooltipPosition = 'top';
|
|
15455
15572
|
this.isOverflow = false;
|
|
15456
15573
|
}
|
|
15457
15574
|
/** @nocollapse */ static { this.ɵfac = function TextOverflowComponent_Factory(t) { return new (t || TextOverflowComponent)(); }; }
|
|
15458
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TextOverflowComponent, selectors: [["dr-text-overflow"]], inputs: { overflowType: "overflowType", showTooltip: "showTooltip" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$1, decls: 3, vars:
|
|
15575
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TextOverflowComponent, selectors: [["dr-text-overflow"]], inputs: { overflowType: "overflowType", showTooltip: "showTooltip", tooltipPosition: "tooltipPosition" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$1, decls: 3, vars: 4, consts: [[1, "overflow-element", 3, "drElementOverflow", "drElementOverflowType", "drTooltip", "drTooltipPosition", "drElementOverflowChange"], ["el", ""]], template: function TextOverflowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15459
15576
|
i0.ɵɵprojectionDef();
|
|
15460
15577
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
15461
15578
|
i0.ɵɵlistener("drElementOverflowChange", function TextOverflowComponent_Template_div_drElementOverflowChange_0_listener($event) { return ctx.isOverflow = $event; });
|
|
@@ -15463,16 +15580,18 @@ class TextOverflowComponent {
|
|
|
15463
15580
|
i0.ɵɵelementEnd();
|
|
15464
15581
|
} if (rf & 2) {
|
|
15465
15582
|
const _r0 = i0.ɵɵreference(1);
|
|
15466
|
-
i0.ɵɵproperty("drElementOverflow", ctx.isOverflow)("drElementOverflowType", ctx.overflowType)("drTooltip", ctx.showTooltip && ctx.isOverflow && _r0.innerText);
|
|
15583
|
+
i0.ɵɵproperty("drElementOverflow", ctx.isOverflow)("drElementOverflowType", ctx.overflowType)("drTooltip", ctx.showTooltip && ctx.isOverflow && _r0.innerText)("drTooltipPosition", ctx.tooltipPosition);
|
|
15467
15584
|
} }, dependencies: [CommonModule, ElementOverflowDirective, DrTooltipModule, DrTooltipDirective], styles: ["[_nghost-%COMP%]{overflow:hidden}[_nghost-%COMP%] .overflow-element[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:100%;white-space:nowrap}"], changeDetection: 0 }); }
|
|
15468
15585
|
}
|
|
15469
15586
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextOverflowComponent, [{
|
|
15470
15587
|
type: Component,
|
|
15471
|
-
args: [{ selector: 'dr-text-overflow', standalone: true, imports: [CommonModule, ElementOverflowDirective, DrTooltipModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"overflow-element\"\n #el\n [(drElementOverflow)]=\"isOverflow\"\n [drElementOverflowType]=\"overflowType\"\n [drTooltip]=\"showTooltip && isOverflow && el.innerText\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{overflow:hidden}:host .overflow-element{text-overflow:ellipsis;overflow:hidden;width:100%;white-space:nowrap}\n"] }]
|
|
15588
|
+
args: [{ selector: 'dr-text-overflow', standalone: true, imports: [CommonModule, ElementOverflowDirective, DrTooltipModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"overflow-element\"\n #el\n [(drElementOverflow)]=\"isOverflow\"\n [drElementOverflowType]=\"overflowType\"\n [drTooltip]=\"showTooltip && isOverflow && el.innerText\"\n [drTooltipPosition]=\"tooltipPosition\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{overflow:hidden}:host .overflow-element{text-overflow:ellipsis;overflow:hidden;width:100%;white-space:nowrap}\n"] }]
|
|
15472
15589
|
}], null, { overflowType: [{
|
|
15473
15590
|
type: Input
|
|
15474
15591
|
}], showTooltip: [{
|
|
15475
15592
|
type: Input
|
|
15593
|
+
}], tooltipPosition: [{
|
|
15594
|
+
type: Input
|
|
15476
15595
|
}] }); })();
|
|
15477
15596
|
|
|
15478
15597
|
class TruncateTextDirective {
|
|
@@ -15656,228 +15775,237 @@ class SearchPipe {
|
|
|
15656
15775
|
|
|
15657
15776
|
const _c0 = ["dropdownItemTemplate"];
|
|
15658
15777
|
const _c1 = ["labelItemTemplate"];
|
|
15659
|
-
function
|
|
15660
|
-
i0.ɵɵelementContainerStart(0);
|
|
15661
|
-
i0.ɵɵtext(1, ",");
|
|
15662
|
-
i0.ɵɵelementContainerEnd();
|
|
15663
|
-
} }
|
|
15664
|
-
const _c2 = function (a0) { return { $implicit: a0 }; };
|
|
15665
|
-
function FilterDropdownComponent_ng_container_3_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15666
|
-
i0.ɵɵelementContainerStart(0);
|
|
15667
|
-
i0.ɵɵtemplate(1, FilterDropdownComponent_ng_container_3_ng_container_1_ng_container_1_ng_container_1_Template, 2, 0, "ng-container", 9);
|
|
15668
|
-
i0.ɵɵelementContainer(2, 10);
|
|
15669
|
-
i0.ɵɵelementContainerEnd();
|
|
15670
|
-
} if (rf & 2) {
|
|
15671
|
-
const item_r14 = ctx.$implicit;
|
|
15672
|
-
const i_r15 = ctx.index;
|
|
15673
|
-
const ctx_r12 = i0.ɵɵnextContext(3);
|
|
15674
|
-
const _r7 = i0.ɵɵreference(11);
|
|
15675
|
-
i0.ɵɵadvance(1);
|
|
15676
|
-
i0.ɵɵproperty("ngIf", i_r15);
|
|
15677
|
-
i0.ɵɵadvance(1);
|
|
15678
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r12.labelItemTemplate || _r7)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c2, item_r14));
|
|
15679
|
-
} }
|
|
15680
|
-
function FilterDropdownComponent_ng_container_3_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
15681
|
-
i0.ɵɵelementContainerStart(0);
|
|
15682
|
-
i0.ɵɵtext(1);
|
|
15683
|
-
i0.ɵɵelementContainerEnd();
|
|
15684
|
-
} if (rf & 2) {
|
|
15685
|
-
const ctx_r13 = i0.ɵɵnextContext(3);
|
|
15686
|
-
i0.ɵɵadvance(1);
|
|
15687
|
-
i0.ɵɵtextInterpolate1(" + ", ctx_r13.selectedArr.length - ctx_r13.showInLabelLimit, "");
|
|
15688
|
-
} }
|
|
15689
|
-
function FilterDropdownComponent_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15778
|
+
function FilterDropdownComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15690
15779
|
i0.ɵɵelementContainerStart(0);
|
|
15691
|
-
i0.ɵɵ
|
|
15692
|
-
i0.ɵɵpipe(2, "slice");
|
|
15693
|
-
i0.ɵɵtemplate(3, FilterDropdownComponent_ng_container_3_ng_container_1_ng_container_3_Template, 2, 1, "ng-container", 9);
|
|
15780
|
+
i0.ɵɵelementContainer(1, 12);
|
|
15694
15781
|
i0.ɵɵelementContainerEnd();
|
|
15695
15782
|
} if (rf & 2) {
|
|
15696
|
-
|
|
15783
|
+
i0.ɵɵnextContext(2);
|
|
15784
|
+
const _r10 = i0.ɵɵreference(15);
|
|
15697
15785
|
i0.ɵɵadvance(1);
|
|
15698
|
-
i0.ɵɵproperty("
|
|
15699
|
-
i0.ɵɵadvance(2);
|
|
15700
|
-
i0.ɵɵproperty("ngIf", ctx_r11.selectedArr.length > ctx_r11.showInLabelLimit);
|
|
15786
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r10);
|
|
15701
15787
|
} }
|
|
15702
|
-
function
|
|
15788
|
+
function FilterDropdownComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
15703
15789
|
i0.ɵɵelementContainerStart(0);
|
|
15704
|
-
i0.ɵɵtemplate(1,
|
|
15790
|
+
i0.ɵɵtemplate(1, FilterDropdownComponent_ng_container_5_ng_container_1_Template, 2, 1, "ng-container", 4);
|
|
15705
15791
|
i0.ɵɵelementContainerEnd();
|
|
15706
15792
|
} if (rf & 2) {
|
|
15707
|
-
const
|
|
15708
|
-
const
|
|
15793
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
15794
|
+
const _r2 = i0.ɵɵreference(7);
|
|
15709
15795
|
i0.ɵɵadvance(1);
|
|
15710
|
-
i0.ɵɵproperty("ngIf",
|
|
15796
|
+
i0.ɵɵproperty("ngIf", ctx_r1.selectedArr.length <= ctx_r1.showManyLimit)("ngIfElse", _r2);
|
|
15711
15797
|
} }
|
|
15712
|
-
function
|
|
15713
|
-
i0.ɵɵ
|
|
15798
|
+
function FilterDropdownComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
15799
|
+
i0.ɵɵelementStart(0, "span");
|
|
15800
|
+
i0.ɵɵtext(1, "Many");
|
|
15801
|
+
i0.ɵɵelementEnd();
|
|
15714
15802
|
} }
|
|
15715
|
-
function
|
|
15803
|
+
function FilterDropdownComponent_ng_template_8_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
15716
15804
|
i0.ɵɵelementContainerStart(0);
|
|
15717
|
-
i0.ɵɵelementStart(1, "span",
|
|
15805
|
+
i0.ɵɵelementStart(1, "span", 13);
|
|
15718
15806
|
i0.ɵɵtext(2, "None");
|
|
15719
15807
|
i0.ɵɵelementEnd();
|
|
15720
15808
|
i0.ɵɵelementContainerEnd();
|
|
15721
15809
|
} }
|
|
15722
|
-
function
|
|
15723
|
-
i0.ɵɵtemplate(0,
|
|
15810
|
+
function FilterDropdownComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
15811
|
+
i0.ɵɵtemplate(0, FilterDropdownComponent_ng_template_8_ng_container_0_Template, 3, 0, "ng-container", 4);
|
|
15724
15812
|
} if (rf & 2) {
|
|
15725
|
-
const
|
|
15726
|
-
const
|
|
15727
|
-
i0.ɵɵproperty("ngIf",
|
|
15813
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
15814
|
+
const _r6 = i0.ɵɵreference(11);
|
|
15815
|
+
i0.ɵɵproperty("ngIf", ctx_r5.useNoneTemplate && !ctx_r5.isSelectedAll)("ngIfElse", _r6);
|
|
15728
15816
|
} }
|
|
15729
|
-
function
|
|
15730
|
-
i0.ɵɵelementStart(0, "span",
|
|
15817
|
+
function FilterDropdownComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
15818
|
+
i0.ɵɵelementStart(0, "span", 13);
|
|
15731
15819
|
i0.ɵɵtext(1, "All");
|
|
15732
15820
|
i0.ɵɵelementEnd();
|
|
15733
15821
|
} }
|
|
15734
|
-
function
|
|
15822
|
+
function FilterDropdownComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
15735
15823
|
i0.ɵɵtext(0);
|
|
15736
15824
|
} if (rf & 2) {
|
|
15737
15825
|
const item_r18 = ctx.$implicit;
|
|
15738
|
-
const
|
|
15739
|
-
i0.ɵɵ
|
|
15826
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
15827
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r9._item(item_r18), "");
|
|
15828
|
+
} }
|
|
15829
|
+
function FilterDropdownComponent_ng_template_14_span_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15830
|
+
i0.ɵɵelementContainerStart(0);
|
|
15831
|
+
i0.ɵɵtext(1, ",");
|
|
15832
|
+
i0.ɵɵelementContainerEnd();
|
|
15833
|
+
} }
|
|
15834
|
+
const _c2 = function (a0) { return { $implicit: a0 }; };
|
|
15835
|
+
function FilterDropdownComponent_ng_template_14_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
15836
|
+
i0.ɵɵelementStart(0, "span");
|
|
15837
|
+
i0.ɵɵtemplate(1, FilterDropdownComponent_ng_template_14_span_0_ng_container_1_Template, 2, 0, "ng-container", 15);
|
|
15838
|
+
i0.ɵɵelementContainer(2, 16);
|
|
15839
|
+
i0.ɵɵelementEnd();
|
|
15840
|
+
} if (rf & 2) {
|
|
15841
|
+
const item_r20 = ctx.$implicit;
|
|
15842
|
+
const i_r21 = ctx.index;
|
|
15843
|
+
const ctx_r19 = i0.ɵɵnextContext(2);
|
|
15844
|
+
const _r8 = i0.ɵɵreference(13);
|
|
15845
|
+
i0.ɵɵadvance(1);
|
|
15846
|
+
i0.ɵɵproperty("ngIf", i_r21);
|
|
15847
|
+
i0.ɵɵadvance(1);
|
|
15848
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r19.labelItemTemplate || _r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c2, item_r20));
|
|
15849
|
+
} }
|
|
15850
|
+
function FilterDropdownComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
15851
|
+
i0.ɵɵtemplate(0, FilterDropdownComponent_ng_template_14_span_0_Template, 3, 5, "span", 14);
|
|
15852
|
+
} if (rf & 2) {
|
|
15853
|
+
const ctx_r11 = i0.ɵɵnextContext();
|
|
15854
|
+
i0.ɵɵproperty("ngForOf", ctx_r11.selectedArr);
|
|
15740
15855
|
} }
|
|
15741
|
-
function
|
|
15742
|
-
|
|
15743
|
-
i0.ɵɵ
|
|
15744
|
-
i0.ɵɵ
|
|
15856
|
+
function FilterDropdownComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
15857
|
+
i0.ɵɵelementStart(0, "dr-tooltip-default");
|
|
15858
|
+
i0.ɵɵtext(1);
|
|
15859
|
+
i0.ɵɵelementContainer(2, 12);
|
|
15860
|
+
i0.ɵɵelementEnd();
|
|
15861
|
+
} if (rf & 2) {
|
|
15862
|
+
const ctx_r13 = i0.ɵɵnextContext();
|
|
15863
|
+
const _r10 = i0.ɵɵreference(15);
|
|
15864
|
+
i0.ɵɵadvance(1);
|
|
15865
|
+
i0.ɵɵtextInterpolate1("", ctx_r13.label, ": ");
|
|
15866
|
+
i0.ɵɵadvance(1);
|
|
15867
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r10);
|
|
15868
|
+
} }
|
|
15869
|
+
function FilterDropdownComponent_ng_template_18_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
15870
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
15871
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "dr-input", 27, 28);
|
|
15872
|
+
i0.ɵɵlistener("ngModelChange", function FilterDropdownComponent_ng_template_18_div_0_div_1_Template_dr_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r33.search = $event); });
|
|
15745
15873
|
i0.ɵɵelementEnd()();
|
|
15746
15874
|
} if (rf & 2) {
|
|
15747
|
-
const
|
|
15875
|
+
const ctx_r26 = i0.ɵɵnextContext(3);
|
|
15748
15876
|
i0.ɵɵadvance(1);
|
|
15749
|
-
i0.ɵɵclassProp("with-value",
|
|
15750
|
-
i0.ɵɵproperty("clearable", true)("ngModel",
|
|
15877
|
+
i0.ɵɵclassProp("with-value", ctx_r26.search);
|
|
15878
|
+
i0.ɵɵproperty("clearable", true)("ngModel", ctx_r26.search);
|
|
15751
15879
|
} }
|
|
15752
|
-
function
|
|
15753
|
-
const
|
|
15754
|
-
i0.ɵɵelementStart(0, "a",
|
|
15755
|
-
i0.ɵɵlistener("click", function
|
|
15880
|
+
function FilterDropdownComponent_ng_template_18_div_0_a_5_Template(rf, ctx) { if (rf & 1) {
|
|
15881
|
+
const _r36 = i0.ɵɵgetCurrentView();
|
|
15882
|
+
i0.ɵɵelementStart(0, "a", 29);
|
|
15883
|
+
i0.ɵɵlistener("click", function FilterDropdownComponent_ng_template_18_div_0_a_5_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r36); const ctx_r35 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r35.onSelectAll()); });
|
|
15756
15884
|
i0.ɵɵtext(1);
|
|
15757
15885
|
i0.ɵɵelementEnd();
|
|
15758
15886
|
} if (rf & 2) {
|
|
15759
|
-
const
|
|
15887
|
+
const ctx_r27 = i0.ɵɵnextContext(3);
|
|
15760
15888
|
i0.ɵɵadvance(1);
|
|
15761
|
-
i0.ɵɵtextInterpolate(
|
|
15889
|
+
i0.ɵɵtextInterpolate(ctx_r27.isSelectedAll ? "Select none" : "Select all");
|
|
15762
15890
|
} }
|
|
15763
|
-
function
|
|
15764
|
-
i0.ɵɵelement(0, "dr-checkbox",
|
|
15891
|
+
function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_dr_checkbox_3_Template(rf, ctx) { if (rf & 1) {
|
|
15892
|
+
i0.ɵɵelement(0, "dr-checkbox", 37);
|
|
15765
15893
|
} if (rf & 2) {
|
|
15766
|
-
const
|
|
15767
|
-
const
|
|
15768
|
-
i0.ɵɵproperty("checkedStatus",
|
|
15894
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
15895
|
+
const _r39 = i0.ɵɵreference(1);
|
|
15896
|
+
i0.ɵɵproperty("checkedStatus", _r39.selected)("disabled", item_r38.disabled);
|
|
15769
15897
|
} }
|
|
15770
|
-
function
|
|
15771
|
-
i0.ɵɵelementStart(0, "
|
|
15898
|
+
function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
15899
|
+
i0.ɵɵelementStart(0, "dr-text-overflow");
|
|
15772
15900
|
i0.ɵɵtext(1);
|
|
15773
15901
|
i0.ɵɵelementEnd();
|
|
15774
15902
|
} if (rf & 2) {
|
|
15775
|
-
const
|
|
15776
|
-
const
|
|
15903
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
15904
|
+
const ctx_r42 = i0.ɵɵnextContext(4);
|
|
15777
15905
|
i0.ɵɵadvance(1);
|
|
15778
|
-
i0.ɵɵtextInterpolate1("
|
|
15906
|
+
i0.ɵɵtextInterpolate1("", ctx_r42._item(item_r38), " ");
|
|
15779
15907
|
} }
|
|
15780
|
-
function
|
|
15781
|
-
const
|
|
15782
|
-
i0.ɵɵelementStart(0, "dr-dropdown-item",
|
|
15783
|
-
i0.ɵɵlistener("keyup.enter", function
|
|
15784
|
-
i0.ɵɵelementContainerStart(2,
|
|
15785
|
-
i0.ɵɵtemplate(3,
|
|
15786
|
-
i0.ɵɵelementContainerStart(4,
|
|
15787
|
-
i0.ɵɵelementContainer(5,
|
|
15908
|
+
function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_Template(rf, ctx) { if (rf & 1) {
|
|
15909
|
+
const _r46 = i0.ɵɵgetCurrentView();
|
|
15910
|
+
i0.ɵɵelementStart(0, "dr-dropdown-item", 32, 33);
|
|
15911
|
+
i0.ɵɵlistener("keyup.enter", function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_Template_dr_dropdown_item_keyup_enter_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r46); const item_r38 = restoredCtx.$implicit; const _r39 = i0.ɵɵreference(1); const ctx_r45 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(!_r39.selected && ctx_r45.selectedChange.emit(item_r38)); })("click", function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_Template_dr_dropdown_item_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r46); const item_r38 = restoredCtx.$implicit; const _r39 = i0.ɵɵreference(1); const close_r23 = i0.ɵɵnextContext(3).closePopover; const ctx_r47 = i0.ɵɵnextContext(); return i0.ɵɵresetView(!_r39.disabled && ctx_r47.onSelectedItemChanged(item_r38, _r39.selected, close_r23)); });
|
|
15912
|
+
i0.ɵɵelementContainerStart(2, 34);
|
|
15913
|
+
i0.ɵɵtemplate(3, FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_dr_checkbox_3_Template, 1, 2, "dr-checkbox", 35);
|
|
15914
|
+
i0.ɵɵelementContainerStart(4, 34);
|
|
15915
|
+
i0.ɵɵelementContainer(5, 16);
|
|
15788
15916
|
i0.ɵɵelementContainerEnd();
|
|
15789
|
-
i0.ɵɵtemplate(6,
|
|
15917
|
+
i0.ɵɵtemplate(6, FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_ng_template_6_Template, 2, 1, "ng-template", null, 36, i0.ɵɵtemplateRefExtractor);
|
|
15790
15918
|
i0.ɵɵelementContainerEnd();
|
|
15791
15919
|
i0.ɵɵelementEnd();
|
|
15792
15920
|
} if (rf & 2) {
|
|
15793
|
-
const
|
|
15794
|
-
const
|
|
15795
|
-
const
|
|
15796
|
-
i0.ɵɵproperty("selected",
|
|
15921
|
+
const item_r38 = ctx.$implicit;
|
|
15922
|
+
const _r41 = i0.ɵɵreference(7);
|
|
15923
|
+
const ctx_r37 = i0.ɵɵnextContext(4);
|
|
15924
|
+
i0.ɵɵproperty("selected", ctx_r37.isSelected(item_r38))("disabled", item_r38.disabled);
|
|
15797
15925
|
i0.ɵɵadvance(3);
|
|
15798
|
-
i0.ɵɵproperty("ngIf",
|
|
15926
|
+
i0.ɵɵproperty("ngIf", ctx_r37.multiple);
|
|
15799
15927
|
i0.ɵɵadvance(2);
|
|
15800
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
15928
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r37.dropdownItemTemplate || _r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(5, _c2, item_r38));
|
|
15801
15929
|
} }
|
|
15802
|
-
function
|
|
15803
|
-
i0.ɵɵelementStart(0, "dr-dropdown",
|
|
15804
|
-
i0.ɵɵtemplate(1,
|
|
15930
|
+
function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_Template(rf, ctx) { if (rf & 1) {
|
|
15931
|
+
i0.ɵɵelementStart(0, "dr-dropdown", 30);
|
|
15932
|
+
i0.ɵɵtemplate(1, FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_item_1_Template, 8, 7, "dr-dropdown-item", 31);
|
|
15805
15933
|
i0.ɵɵelementEnd();
|
|
15806
15934
|
} if (rf & 2) {
|
|
15807
|
-
const
|
|
15808
|
-
const
|
|
15935
|
+
const filteredItems_r25 = i0.ɵɵnextContext().ngLet;
|
|
15936
|
+
const ctx_r28 = i0.ɵɵnextContext(2);
|
|
15809
15937
|
i0.ɵɵadvance(1);
|
|
15810
|
-
i0.ɵɵproperty("ngForOf",
|
|
15938
|
+
i0.ɵɵproperty("ngForOf", filteredItems_r25)("ngForTrackBy", ctx_r28.trackByFn);
|
|
15811
15939
|
} }
|
|
15812
|
-
function
|
|
15813
|
-
i0.ɵɵelementStart(0, "div",
|
|
15940
|
+
function FilterDropdownComponent_ng_template_18_div_0_ng_template_7_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
15941
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
15814
15942
|
i0.ɵɵtext(1);
|
|
15815
15943
|
i0.ɵɵelementEnd();
|
|
15816
15944
|
} if (rf & 2) {
|
|
15817
|
-
const
|
|
15945
|
+
const ctx_r50 = i0.ɵɵnextContext(4);
|
|
15818
15946
|
i0.ɵɵadvance(1);
|
|
15819
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
15947
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r50.noItemsPlaceholder, " ");
|
|
15820
15948
|
} }
|
|
15821
|
-
function
|
|
15822
|
-
i0.ɵɵtemplate(0,
|
|
15949
|
+
function FilterDropdownComponent_ng_template_18_div_0_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
15950
|
+
i0.ɵɵtemplate(0, FilterDropdownComponent_ng_template_18_div_0_ng_template_7_div_0_Template, 2, 1, "div", 38);
|
|
15823
15951
|
} if (rf & 2) {
|
|
15824
|
-
const
|
|
15825
|
-
i0.ɵɵproperty("ngIf",
|
|
15952
|
+
const ctx_r30 = i0.ɵɵnextContext(3);
|
|
15953
|
+
i0.ɵɵproperty("ngIf", ctx_r30.noItemsPlaceholder);
|
|
15826
15954
|
} }
|
|
15827
|
-
function
|
|
15828
|
-
const
|
|
15829
|
-
i0.ɵɵelementStart(0, "dr-button",
|
|
15830
|
-
i0.ɵɵlistener("click", function
|
|
15955
|
+
function FilterDropdownComponent_ng_template_18_div_0_div_9_dr_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
15956
|
+
const _r54 = i0.ɵɵgetCurrentView();
|
|
15957
|
+
i0.ɵɵelementStart(0, "dr-button", 43);
|
|
15958
|
+
i0.ɵɵlistener("click", function FilterDropdownComponent_ng_template_18_div_0_div_9_dr_button_1_Template_dr_button_click_0_listener() { i0.ɵɵrestoreView(_r54); const close_r23 = i0.ɵɵnextContext(3).closePopover; const ctx_r52 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r52.onClear(close_r23)); });
|
|
15831
15959
|
i0.ɵɵtext(1, " Clear ");
|
|
15832
15960
|
i0.ɵɵelementEnd();
|
|
15833
15961
|
} }
|
|
15834
|
-
function
|
|
15835
|
-
const
|
|
15836
|
-
i0.ɵɵelementStart(0, "div",
|
|
15837
|
-
i0.ɵɵtemplate(1,
|
|
15838
|
-
i0.ɵɵelementStart(2, "dr-button",
|
|
15839
|
-
i0.ɵɵlistener("click", function
|
|
15962
|
+
function FilterDropdownComponent_ng_template_18_div_0_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
15963
|
+
const _r57 = i0.ɵɵgetCurrentView();
|
|
15964
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
15965
|
+
i0.ɵɵtemplate(1, FilterDropdownComponent_ng_template_18_div_0_div_9_dr_button_1_Template, 2, 0, "dr-button", 41);
|
|
15966
|
+
i0.ɵɵelementStart(2, "dr-button", 42);
|
|
15967
|
+
i0.ɵɵlistener("click", function FilterDropdownComponent_ng_template_18_div_0_div_9_Template_dr_button_click_2_listener() { i0.ɵɵrestoreView(_r57); const close_r23 = i0.ɵɵnextContext(2).closePopover; const ctx_r55 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r55.onApply(close_r23)); });
|
|
15840
15968
|
i0.ɵɵtext(3, "Apply");
|
|
15841
15969
|
i0.ɵɵelementEnd()();
|
|
15842
15970
|
} if (rf & 2) {
|
|
15843
|
-
const
|
|
15971
|
+
const ctx_r31 = i0.ɵɵnextContext(3);
|
|
15844
15972
|
i0.ɵɵadvance(1);
|
|
15845
|
-
i0.ɵɵproperty("ngIf",
|
|
15973
|
+
i0.ɵɵproperty("ngIf", ctx_r31.clearable && ctx_r31.hasSelection);
|
|
15846
15974
|
} }
|
|
15847
|
-
function
|
|
15848
|
-
i0.ɵɵelementStart(0, "div",
|
|
15849
|
-
i0.ɵɵtemplate(1,
|
|
15850
|
-
i0.ɵɵelementStart(2, "div",
|
|
15975
|
+
function FilterDropdownComponent_ng_template_18_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
15976
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
15977
|
+
i0.ɵɵtemplate(1, FilterDropdownComponent_ng_template_18_div_0_div_1_Template, 3, 4, "div", 19);
|
|
15978
|
+
i0.ɵɵelementStart(2, "div", 20)(3, "div", 21);
|
|
15851
15979
|
i0.ɵɵtext(4);
|
|
15852
15980
|
i0.ɵɵelementEnd();
|
|
15853
|
-
i0.ɵɵtemplate(5,
|
|
15981
|
+
i0.ɵɵtemplate(5, FilterDropdownComponent_ng_template_18_div_0_a_5_Template, 2, 1, "a", 22);
|
|
15854
15982
|
i0.ɵɵelementEnd();
|
|
15855
|
-
i0.ɵɵtemplate(6,
|
|
15856
|
-
i0.ɵɵtemplate(7,
|
|
15857
|
-
i0.ɵɵtemplate(9,
|
|
15983
|
+
i0.ɵɵtemplate(6, FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_Template, 2, 2, "dr-dropdown", 23);
|
|
15984
|
+
i0.ɵɵtemplate(7, FilterDropdownComponent_ng_template_18_div_0_ng_template_7_Template, 1, 1, "ng-template", null, 24, i0.ɵɵtemplateRefExtractor);
|
|
15985
|
+
i0.ɵɵtemplate(9, FilterDropdownComponent_ng_template_18_div_0_div_9_Template, 4, 1, "div", 25);
|
|
15858
15986
|
i0.ɵɵelementEnd();
|
|
15859
15987
|
} if (rf & 2) {
|
|
15860
|
-
const
|
|
15861
|
-
const
|
|
15862
|
-
const
|
|
15863
|
-
i0.ɵɵproperty("ngClass",
|
|
15988
|
+
const filteredItems_r25 = ctx.ngLet;
|
|
15989
|
+
const _r29 = i0.ɵɵreference(8);
|
|
15990
|
+
const ctx_r24 = i0.ɵɵnextContext(2);
|
|
15991
|
+
i0.ɵɵproperty("ngClass", ctx_r24.dropdownClass);
|
|
15864
15992
|
i0.ɵɵadvance(1);
|
|
15865
|
-
i0.ɵɵproperty("ngIf",
|
|
15993
|
+
i0.ɵɵproperty("ngIf", ctx_r24.showSearch);
|
|
15866
15994
|
i0.ɵɵadvance(3);
|
|
15867
|
-
i0.ɵɵtextInterpolate1("Filter by ",
|
|
15995
|
+
i0.ɵɵtextInterpolate1("Filter by ", ctx_r24.label, "");
|
|
15868
15996
|
i0.ɵɵadvance(1);
|
|
15869
|
-
i0.ɵɵproperty("ngIf",
|
|
15997
|
+
i0.ɵɵproperty("ngIf", ctx_r24.showSelectAll);
|
|
15870
15998
|
i0.ɵɵadvance(1);
|
|
15871
|
-
i0.ɵɵproperty("ngIf",
|
|
15999
|
+
i0.ɵɵproperty("ngIf", filteredItems_r25.length)("ngIfElse", _r29);
|
|
15872
16000
|
i0.ɵɵadvance(3);
|
|
15873
|
-
i0.ɵɵproperty("ngIf",
|
|
16001
|
+
i0.ɵɵproperty("ngIf", ctx_r24.multiple);
|
|
15874
16002
|
} }
|
|
15875
|
-
function
|
|
15876
|
-
i0.ɵɵtemplate(0,
|
|
16003
|
+
function FilterDropdownComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
|
|
16004
|
+
i0.ɵɵtemplate(0, FilterDropdownComponent_ng_template_18_div_0_Template, 10, 7, "div", 17);
|
|
15877
16005
|
i0.ɵɵpipe(1, "search");
|
|
15878
16006
|
} if (rf & 2) {
|
|
15879
|
-
const
|
|
15880
|
-
i0.ɵɵproperty("ngLet", i0.ɵɵpipeBind3(1, 1,
|
|
16007
|
+
const ctx_r15 = i0.ɵɵnextContext();
|
|
16008
|
+
i0.ɵɵproperty("ngLet", i0.ɵɵpipeBind3(1, 1, ctx_r15.items, ctx_r15.search, ctx_r15.searchBy));
|
|
15881
16009
|
} }
|
|
15882
16010
|
class FilterDropdownComponent {
|
|
15883
16011
|
constructor() {
|
|
@@ -15889,13 +16017,13 @@ class FilterDropdownComponent {
|
|
|
15889
16017
|
this.noItemsPlaceholder = 'No items found';
|
|
15890
16018
|
this.dropdownClass = '';
|
|
15891
16019
|
this.dropdownPosition = 'bottom-right';
|
|
16020
|
+
this.overflowTooltipPosition = 'bottom';
|
|
15892
16021
|
this.searchBy = [];
|
|
15893
16022
|
this.multiple = false;
|
|
15894
16023
|
this.clearable = false;
|
|
15895
16024
|
this.trackBy = null;
|
|
15896
16025
|
this.showSearchLimit = 10;
|
|
15897
|
-
this.showManyLimit =
|
|
15898
|
-
this.showInLabelLimit = 3;
|
|
16026
|
+
this.showManyLimit = 9; // from 10 show counter
|
|
15899
16027
|
this.useNoneTemplate = false;
|
|
15900
16028
|
this._selected = null;
|
|
15901
16029
|
this._selectedOriginal = null;
|
|
@@ -15983,35 +16111,44 @@ class FilterDropdownComponent {
|
|
|
15983
16111
|
let _t;
|
|
15984
16112
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownItemTemplate = _t.first);
|
|
15985
16113
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.labelItemTemplate = _t.first);
|
|
15986
|
-
} }, inputs: { disabled: ["disabled", "disabled", booleanAttribute], items: "items", label: "label", selectedUser: "selectedUser", users: "users", noItemsPlaceholder: "noItemsPlaceholder", dropdownClass: "dropdownClass", dropdownPosition: "dropdownPosition", bindValue: "bindValue", displayValue: "displayValue", searchBy: "searchBy", multiple: ["multiple", "multiple", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], trackBy: "trackBy", showSearchLimit: "showSearchLimit", showManyLimit: "showManyLimit",
|
|
16114
|
+
} }, inputs: { disabled: ["disabled", "disabled", booleanAttribute], items: "items", label: "label", selectedUser: "selectedUser", users: "users", noItemsPlaceholder: "noItemsPlaceholder", dropdownClass: "dropdownClass", dropdownPosition: "dropdownPosition", overflowTooltipPosition: "overflowTooltipPosition", bindValue: "bindValue", displayValue: "displayValue", searchBy: "searchBy", multiple: ["multiple", "multiple", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], trackBy: "trackBy", showSearchLimit: "showSearchLimit", showManyLimit: "showManyLimit", selected: "selected", useNoneTemplate: "useNoneTemplate" }, outputs: { selectedChange: "selectedChange" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], decls: 20, vars: 9, consts: [["theme", "dropdown", "iconAfter", "dr-icon-arrow-down", "iconAfterSize", "18", 3, "drTooltip", "drTooltipPosition", "drPopover", "isActive", "disabled", "drPopoverPosition", "drPopoverClose", "click"], [1, "filter-label"], ["drListOverflow", "", 1, "filter-value"], ["listOverflowRef", "listOverflow"], [4, "ngIf", "ngIfElse"], ["manyTemplate", ""], ["noSelection", ""], ["allTemplate", ""], ["defaultLabelTemplate", ""], ["valueTemplate", ""], ["tooltipTemplate", ""], ["popover", ""], [3, "ngTemplateOutlet"], [1, "filter-value-all"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "dropdown__wrapper", "tabindex", "0", 3, "ngClass", 4, "ngLet"], ["tabindex", "0", 1, "dropdown__wrapper", 3, "ngClass"], ["class", "dropdown__search", 4, "ngIf"], [1, "dropdown__header"], [1, "dropdown__header-title"], ["href", "javascript: void(0)", "class", "dropdown__header-select-all", 3, "click", 4, "ngIf"], ["class", "dr-filter-list", "tabindex", "0", 4, "ngIf", "ngIfElse"], ["noDataPlaceholder", ""], ["class", "dropdown__actions", 4, "ngIf"], [1, "dropdown__search"], ["data-analytics", "filter-dropdown_input-0", "drAutofocus", "", "type", "search", "tabindex", "0", "placeholder", "Search", 3, "clearable", "ngModel", "ngModelChange"], ["searchRef", ""], ["href", "javascript: void(0)", 1, "dropdown__header-select-all", 3, "click"], ["tabindex", "0", 1, "dr-filter-list"], ["class", "dr-filter-list__item", "tabindex", "0", 3, "selected", "disabled", "keyup.enter", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["tabindex", "0", 1, "dr-filter-list__item", 3, "selected", "disabled", "keyup.enter", "click"], ["itemRef", ""], ["dropdownItemContent", ""], ["data-analytics", "filter-dropdown_checkbox-0", "class", "dr-filter-list__item-checkbox", 3, "checkedStatus", "disabled", 4, "ngIf"], ["defaultDropdownItemTemplate", ""], ["data-analytics", "filter-dropdown_checkbox-0", 1, "dr-filter-list__item-checkbox", 3, "checkedStatus", "disabled"], ["class", "dropdown__no-result", 4, "ngIf"], [1, "dropdown__no-result"], [1, "dropdown__actions"], ["theme", "secondary", "data-analytics", "filter-dropdown_button-1", "class", "dropdown__clear", 3, "click", 4, "ngIf"], ["data-analytics", "filter-dropdown_button-0", 3, "click"], ["theme", "secondary", "data-analytics", "filter-dropdown_button-1", 1, "dropdown__clear", 3, "click"]], template: function FilterDropdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15987
16115
|
i0.ɵɵelementStart(0, "dr-button", 0);
|
|
15988
16116
|
i0.ɵɵlistener("drPopoverClose", function FilterDropdownComponent_Template_dr_button_drPopoverClose_0_listener() { return ctx.onPopoverClose(); })("click", function FilterDropdownComponent_Template_dr_button_click_0_listener($event) { return $event.stopPropagation(); });
|
|
15989
|
-
i0.ɵɵ
|
|
15990
|
-
i0.ɵɵ
|
|
15991
|
-
i0.ɵɵtemplate(3, FilterDropdownComponent_ng_container_3_Template, 2, 2, "ng-container", 2);
|
|
16117
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
16118
|
+
i0.ɵɵtext(2);
|
|
15992
16119
|
i0.ɵɵelementEnd();
|
|
15993
|
-
i0.ɵɵ
|
|
15994
|
-
i0.ɵɵtemplate(
|
|
15995
|
-
i0.ɵɵtemplate(8, FilterDropdownComponent_ng_template_8_Template, 2, 0, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
|
15996
|
-
i0.ɵɵtemplate(10, FilterDropdownComponent_ng_template_10_Template, 1, 1, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
16120
|
+
i0.ɵɵelementStart(3, "span", 2, 3);
|
|
16121
|
+
i0.ɵɵtemplate(5, FilterDropdownComponent_ng_container_5_Template, 2, 2, "ng-container", 4);
|
|
15997
16122
|
i0.ɵɵelementEnd();
|
|
15998
|
-
i0.ɵɵtemplate(
|
|
16123
|
+
i0.ɵɵtemplate(6, FilterDropdownComponent_ng_template_6_Template, 2, 0, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
|
16124
|
+
i0.ɵɵtemplate(8, FilterDropdownComponent_ng_template_8_Template, 1, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
16125
|
+
i0.ɵɵtemplate(10, FilterDropdownComponent_ng_template_10_Template, 2, 0, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
16126
|
+
i0.ɵɵtemplate(12, FilterDropdownComponent_ng_template_12_Template, 1, 1, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
|
|
16127
|
+
i0.ɵɵelementEnd();
|
|
16128
|
+
i0.ɵɵtemplate(14, FilterDropdownComponent_ng_template_14_Template, 1, 1, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
16129
|
+
i0.ɵɵtemplate(16, FilterDropdownComponent_ng_template_16_Template, 3, 2, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
|
16130
|
+
i0.ɵɵtemplate(18, FilterDropdownComponent_ng_template_18_Template, 2, 5, "ng-template", null, 11, i0.ɵɵtemplateRefExtractor);
|
|
15999
16131
|
} if (rf & 2) {
|
|
16000
|
-
const
|
|
16001
|
-
const
|
|
16002
|
-
|
|
16003
|
-
i0.ɵɵ
|
|
16004
|
-
i0.ɵɵ
|
|
16132
|
+
const _r0 = i0.ɵɵreference(4);
|
|
16133
|
+
const _r4 = i0.ɵɵreference(9);
|
|
16134
|
+
const _r12 = i0.ɵɵreference(17);
|
|
16135
|
+
const _r14 = i0.ɵɵreference(19);
|
|
16136
|
+
i0.ɵɵproperty("drTooltip", ctx.hasSelection && (_r0.hasOverflowed || ctx.selectedArr.length > ctx.showManyLimit) && _r12)("drTooltipPosition", ctx.overflowTooltipPosition)("drPopover", _r14)("isActive", ctx.hasSelection)("disabled", ctx.disabled)("drPopoverPosition", ctx.dropdownPosition);
|
|
16005
16137
|
i0.ɵɵadvance(2);
|
|
16006
|
-
i0.ɵɵ
|
|
16007
|
-
|
|
16138
|
+
i0.ɵɵtextInterpolate1("", ctx.label, ":");
|
|
16139
|
+
i0.ɵɵadvance(3);
|
|
16140
|
+
i0.ɵɵproperty("ngIf", ctx.hasSelection)("ngIfElse", _r4);
|
|
16141
|
+
} }, dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, DrTooltipModule, DrTooltipDirective, TooltipDefaultComponent, DrPopoverModule, DrPopoverDirective, DrDropdownModule, DrDropdownComponent, DrDropdownItemComponent, DrInputsModule, CheckboxComponent, DrInputComponent, DrButtonComponent, SearchPipe,
|
|
16008
16142
|
FormsModule, i1$2.NgControlStatus, i1$2.NgModel, LetDirective,
|
|
16009
|
-
AutofocusDirective
|
|
16143
|
+
AutofocusDirective,
|
|
16144
|
+
TextOverflowComponent,
|
|
16145
|
+
DrListOverflowComponent], styles: ["[_nghost-%COMP%] dr-button, [_nghost-%COMP%] dr-button>button{max-width:100%}.filter-label[_ngcontent-%COMP%]{padding-right:.3em}.filter-value[_ngcontent-%COMP%]{font-weight:600}.filter-value-all[_ngcontent-%COMP%]{font-weight:400}.dropdown__wrapper[_ngcontent-%COMP%]{min-width:250px;padding:8px 0 0}.dropdown__wrapper[_ngcontent-%COMP%] .dr-dropdown__container{padding:0;max-height:none;overflow:visible}.dropdown__wrapper[_ngcontent-%COMP%] .dr-dropdown-item.item-disabled{cursor:not-allowed}.dropdown__wrapper[_ngcontent-%COMP%] .dr-filter-list[_ngcontent-%COMP%]{overflow:auto;display:block;max-height:180px}.dropdown__wrapper[_ngcontent-%COMP%] .dr-filter-list__item[_ngcontent-%COMP%]{margin-bottom:4px}.dropdown__wrapper[_ngcontent-%COMP%] .dr-filter-list__item[_ngcontent-%COMP%] .dr-dropdown-item{padding:0 16px;height:32px}.dropdown__wrapper[_ngcontent-%COMP%] .dr-filter-list__item[_ngcontent-%COMP%] .dr-dropdown-item .text-ellipsis{text-overflow:ellipsis;overflow:hidden}.dropdown__wrapper[_ngcontent-%COMP%] .dr-filter-list__item-checkbox[_ngcontent-%COMP%]{margin-right:4px;pointer-events:none}.dropdown__wrapper[_ngcontent-%COMP%] .dr-filter-list__item-checkbox[_ngcontent-%COMP%] label input+span{margin:0}.dropdown__wrapper[_ngcontent-%COMP%] .dr-filter-list__item-checkbox[_ngcontent-%COMP%] label input+span:before{margin:3px}.dropdown__search[_ngcontent-%COMP%]{padding:4px 8px}.dropdown__header[_ngcontent-%COMP%]{font-size:12px;line-height:16px;font-weight:400;display:flex;align-items:center;margin:2px 0;padding:4px 16px;white-space:nowrap}.dropdown__header-title[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;color:#6d6e6f;text-transform:uppercase}.dropdown__header-select-all[_ngcontent-%COMP%]{color:#4646ce;margin-left:8px;text-decoration:none}.dropdown__header-select-all[_ngcontent-%COMP%]:hover{text-decoration:underline}.dropdown__actions[_ngcontent-%COMP%]{gap:8px;padding:8px 16px;display:flex;justify-content:flex-end;border-top:1px solid #dbdee3}.dropdown__no-result[_ngcontent-%COMP%]{padding:4px 16px 16px}"], changeDetection: 0 }); }
|
|
16010
16146
|
}
|
|
16011
16147
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterDropdownComponent, [{
|
|
16012
16148
|
type: Component,
|
|
16013
16149
|
args: [{ selector: 'dr-filter-dropdown', standalone: true, imports: [
|
|
16014
16150
|
CommonModule,
|
|
16151
|
+
DrTooltipModule,
|
|
16015
16152
|
DrPopoverModule,
|
|
16016
16153
|
DrDropdownModule,
|
|
16017
16154
|
DrInputsModule,
|
|
@@ -16020,7 +16157,9 @@ class FilterDropdownComponent {
|
|
|
16020
16157
|
LetDirective,
|
|
16021
16158
|
AutofocusDirective,
|
|
16022
16159
|
DrButtonComponent,
|
|
16023
|
-
|
|
16160
|
+
TextOverflowComponent,
|
|
16161
|
+
DrListOverflowComponent,
|
|
16162
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dr-button\n theme=\"dropdown\"\n iconAfter=\"dr-icon-arrow-down\"\n iconAfterSize=\"18\"\n [drTooltip]=\"hasSelection && (listOverflowRef.hasOverflowed || selectedArr.length > showManyLimit) && tooltipTemplate\"\n [drTooltipPosition]=\"overflowTooltipPosition\"\n [drPopover]=\"popover\"\n (drPopoverClose)=\"onPopoverClose()\"\n (click)=\"$event.stopPropagation()\"\n [isActive]=\"hasSelection\"\n [disabled]=\"disabled\"\n [drPopoverPosition]=\"dropdownPosition\">\n <span class=\"filter-label\">{{ label }}:</span>\n\n <span drListOverflow #listOverflowRef=\"listOverflow\" class=\"filter-value\">\n <ng-container *ngIf=\"hasSelection; else noSelection\">\n <ng-container *ngIf=\"selectedArr.length <= showManyLimit; else manyTemplate\">\n <ng-container [ngTemplateOutlet]=\"valueTemplate\"></ng-container>\n </ng-container>\n </ng-container>\n </span>\n <ng-template #manyTemplate><span>Many</span></ng-template>\n <ng-template #noSelection>\n <ng-container *ngIf=\"useNoneTemplate && !isSelectedAll; else allTemplate\">\n <span class=\"filter-value-all\">None</span>\n </ng-container>\n </ng-template>\n <ng-template #allTemplate><span class=\"filter-value-all\">All</span></ng-template>\n <ng-template #defaultLabelTemplate let-item> {{ _item(item) }}</ng-template>\n</dr-button>\n\n<ng-template #valueTemplate>\n <span *ngFor=\"let item of selectedArr; let i = index\">\n <ng-container *ngIf=\"i\">,</ng-container>\n <ng-container\n [ngTemplateOutlet]=\"labelItemTemplate || defaultLabelTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\">\n </ng-container>\n </span>\n</ng-template>\n\n<ng-template #tooltipTemplate>\n <dr-tooltip-default>{{ label }}: <ng-container [ngTemplateOutlet]=\"valueTemplate\"></ng-container></dr-tooltip-default>\n</ng-template>\n\n<ng-template #popover let-close=\"closePopover\">\n <div\n class=\"dropdown__wrapper\"\n [ngClass]=\"dropdownClass\"\n tabindex=\"0\"\n *ngLet=\"items | search: search : searchBy as filteredItems\">\n <div class=\"dropdown__search\" *ngIf=\"showSearch\">\n <dr-input\n data-analytics=\"filter-dropdown_input-0\"\n drAutofocus\n #searchRef\n [class.with-value]=\"search\"\n type=\"search\"\n tabindex=\"0\"\n placeholder=\"Search\"\n [clearable]=\"true\"\n [(ngModel)]=\"search\" />\n </div>\n\n <div class=\"dropdown__header\">\n <div class=\"dropdown__header-title\">Filter by {{ label }}</div>\n <a *ngIf=\"showSelectAll\" href=\"javascript: void(0)\" (click)=\"onSelectAll()\" class=\"dropdown__header-select-all\">{{\n isSelectedAll ? 'Select none' : 'Select all'\n }}</a>\n </div>\n\n <dr-dropdown class=\"dr-filter-list\" *ngIf=\"filteredItems.length; else noDataPlaceholder\" tabindex=\"0\">\n <dr-dropdown-item\n *ngFor=\"let item of filteredItems; trackBy: trackByFn\"\n class=\"dr-filter-list__item\"\n [selected]=\"isSelected(item)\"\n [disabled]=\"item.disabled\"\n tabindex=\"0\"\n #itemRef\n (keyup.enter)=\"!itemRef.selected && selectedChange.emit(item)\"\n (click)=\"!itemRef.disabled && onSelectedItemChanged(item, itemRef.selected, close)\">\n <ng-container dropdownItemContent>\n <dr-checkbox\n data-analytics=\"filter-dropdown_checkbox-0\"\n *ngIf=\"multiple\"\n class=\"dr-filter-list__item-checkbox\"\n [checkedStatus]=\"itemRef.selected\"\n [disabled]=\"item.disabled\" />\n <ng-container dropdownItemContent>\n <ng-container\n [ngTemplateOutlet]=\"dropdownItemTemplate || defaultDropdownItemTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n </ng-container>\n\n <ng-template #defaultDropdownItemTemplate>\n <dr-text-overflow>{{ _item(item) }} </dr-text-overflow>\n </ng-template>\n </ng-container>\n </dr-dropdown-item>\n </dr-dropdown>\n\n <ng-template #noDataPlaceholder>\n <div class=\"dropdown__no-result\" *ngIf=\"noItemsPlaceholder\">\n {{ noItemsPlaceholder }}\n </div>\n </ng-template>\n\n <div *ngIf=\"multiple\" class=\"dropdown__actions\">\n <dr-button\n *ngIf=\"clearable && hasSelection\"\n theme=\"secondary\"\n data-analytics=\"filter-dropdown_button-1\"\n class=\"dropdown__clear\"\n (click)=\"onClear(close)\">\n Clear\n </dr-button>\n <dr-button data-analytics=\"filter-dropdown_button-0\" (click)=\"onApply(close)\">Apply</dr-button>\n </div>\n </div>\n</ng-template>\n", styles: [":host::ng-deep dr-button,:host::ng-deep dr-button>button{max-width:100%}.filter-label{padding-right:.3em}.filter-value{font-weight:600}.filter-value-all{font-weight:400}.dropdown__wrapper{min-width:250px;padding:8px 0 0}.dropdown__wrapper::ng-deep .dr-dropdown__container{padding:0;max-height:none;overflow:visible}.dropdown__wrapper::ng-deep .dr-dropdown-item.item-disabled{cursor:not-allowed}.dropdown__wrapper .dr-filter-list{overflow:auto;display:block;max-height:180px}.dropdown__wrapper .dr-filter-list__item{margin-bottom:4px}.dropdown__wrapper .dr-filter-list__item::ng-deep .dr-dropdown-item{padding:0 16px;height:32px}.dropdown__wrapper .dr-filter-list__item::ng-deep .dr-dropdown-item .text-ellipsis{text-overflow:ellipsis;overflow:hidden}.dropdown__wrapper .dr-filter-list__item-checkbox{margin-right:4px;pointer-events:none}.dropdown__wrapper .dr-filter-list__item-checkbox::ng-deep label input+span{margin:0}.dropdown__wrapper .dr-filter-list__item-checkbox::ng-deep label input+span:before{margin:3px}.dropdown__search{padding:4px 8px}.dropdown__header{font-size:12px;line-height:16px;font-weight:400;display:flex;align-items:center;margin:2px 0;padding:4px 16px;white-space:nowrap}.dropdown__header-title{flex-grow:1;overflow:hidden;text-overflow:ellipsis;color:#6d6e6f;text-transform:uppercase}.dropdown__header-select-all{color:#4646ce;margin-left:8px;text-decoration:none}.dropdown__header-select-all:hover{text-decoration:underline}.dropdown__actions{gap:8px;padding:8px 16px;display:flex;justify-content:flex-end;border-top:1px solid #dbdee3}.dropdown__no-result{padding:4px 16px 16px}\n"] }]
|
|
16024
16163
|
}], null, { dropdownItemTemplate: [{
|
|
16025
16164
|
type: ContentChild,
|
|
16026
16165
|
args: ['dropdownItemTemplate', { read: TemplateRef }]
|
|
@@ -16048,6 +16187,8 @@ class FilterDropdownComponent {
|
|
|
16048
16187
|
type: Input
|
|
16049
16188
|
}], dropdownPosition: [{
|
|
16050
16189
|
type: Input
|
|
16190
|
+
}], overflowTooltipPosition: [{
|
|
16191
|
+
type: Input
|
|
16051
16192
|
}], bindValue: [{
|
|
16052
16193
|
type: Input
|
|
16053
16194
|
}], displayValue: [{
|
|
@@ -16066,8 +16207,6 @@ class FilterDropdownComponent {
|
|
|
16066
16207
|
type: Input
|
|
16067
16208
|
}], showManyLimit: [{
|
|
16068
16209
|
type: Input
|
|
16069
|
-
}], showInLabelLimit: [{
|
|
16070
|
-
type: Input
|
|
16071
16210
|
}], selected: [{
|
|
16072
16211
|
type: Input,
|
|
16073
16212
|
args: [{ required: true }]
|
|
@@ -16081,5 +16220,5 @@ class FilterDropdownComponent {
|
|
|
16081
16220
|
* Generated bundle index. Do not edit.
|
|
16082
16221
|
*/
|
|
16083
16222
|
|
|
16084
|
-
export { AnyTagComponent, AutofocusDirective, BadgeStatus, CHAT_MESSAGE_TYPE, CROP_IMAGE_MODES, CalendarView, ChatMessage, ChatRole, CheckboxComponent, ClickOutsideDirective, ClickOutsideModule, CodeEditorHintWrapperComponent, CustomDateAdapter, CustomDateFormat, DEFAULT_LINK_FONT_SIZE, DEFAULT_LINK_FONT_WEIGHT, DIALOG_BUTTON_LABEL, DIALOG_FIELD_TYPE, DIALOG_SIZE, DR_DRAWER_DATA, DR_DRAWER_DEFAULT_OPTIONS, DR_SHINE_ANIMATION_CLASS, DataAnalyticsService, DateFromats, DatePickerPeriodPosition, DateTagComponent, DateTagModule, DateTags, DateTimePickerComponent, DayTagComponent, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, DrBadgeComponent, DrBadgeStatusComponent, DrBadgeStatusModule, DrButtonComponent, DrChatAlertComponent, DrChatComponent, DrChatCustomMessageDirective, DrChatDroppedFilesComponent, DrChatFormComponent, DrChatFormDropdownComponent, DrChatMessageComponent, DrChatMessageFileComponent, DrChatMessageTextComponent, DrChatModule, DrChatSuggestionsComponent, DrChipComponent, DrCodeEditorComponent, DrCodeEditorModule, DrCodemirrorComponent, DrDatePickerComponent, DrDatePickerCustomHeaderComponent, DrDatePickerFormatDirective, DrDatePickerRangeComponent, DrDatePickerWithTimeframeComponent, DrDetailsListComponent, DrDetailsListModule, DrDialogModule, DrDotFlashingComponent, DrDropdownChildDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemComponent, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownService, DrErrorComponent, DrErrorModule, DrFiscalMonthCalendarHeaderComponent, DrFiscalMonthCalendarPickerComponent, DrGalleryComponent, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrProgressBarComponent, DrScenarioConfigurationComponent, DrScenarioModule, DrScenarioTagConfigurationComponent, DrSelectAddItemComponent, DrSelectComponent, DrSharedUtils, DrShineAnimationDirective, DrShowTimeframePipe, DrSliderComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrStepperModule, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagModule, DrTagsConstructorComponent, DrTagsConstructorModule, DrToastrModule, DrToastrService, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, Drawer, DrawerConfig, DrawerContainer, DrawerModule, DrawerRef, DropdownInstanceService, ElementOverflowDirective, FeedbackSentiment, FilterDropdownComponent, FilterPipe, FiscalMonthAdapter, ForecastTagComponent, ForecastTagService, GMT_OFFSETS, ICodeEditorHintIcon, IMAGE_TYPES, ImgPipe, LOCAL_TIME_ZONE_OFFSET, LetContext, LetDirective, LinkTheme, ListTagComponent, ListTagModule, MonthTagComponent, OrderDownlineTreeviewEventParser, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, SearchPipe, SeparateTableColumnDirective, SeparateTableComponent, StepWizardDirective, StepperComponent, StepperWizardComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TextOverflowComponent, TimePickerComponent, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth,
|
|
16223
|
+
export { AnyTagComponent, AutofocusDirective, BadgeStatus, CHAT_MESSAGE_TYPE, CROP_IMAGE_MODES, CalendarView, ChatMessage, ChatRole, CheckboxComponent, ClickOutsideDirective, ClickOutsideModule, CodeEditorHintWrapperComponent, CustomDateAdapter, CustomDateFormat, DEFAULT_LINK_FONT_SIZE, DEFAULT_LINK_FONT_WEIGHT, DIALOG_BUTTON_LABEL, DIALOG_FIELD_TYPE, DIALOG_SIZE, DR_DRAWER_DATA, DR_DRAWER_DEFAULT_OPTIONS, DR_SHINE_ANIMATION_CLASS, DataAnalyticsService, DateFromats, DatePickerPeriodPosition, DateTagComponent, DateTagModule, DateTags, DateTimePickerComponent, DayTagComponent, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, DrBadgeComponent, DrBadgeStatusComponent, DrBadgeStatusModule, DrButtonComponent, DrChatAlertComponent, DrChatComponent, DrChatCustomMessageDirective, DrChatDroppedFilesComponent, DrChatFormComponent, DrChatFormDropdownComponent, DrChatMessageComponent, DrChatMessageFileComponent, DrChatMessageTextComponent, DrChatModule, DrChatSuggestionsComponent, DrChipComponent, DrCodeEditorComponent, DrCodeEditorModule, DrCodemirrorComponent, DrDatePickerComponent, DrDatePickerCustomHeaderComponent, DrDatePickerFormatDirective, DrDatePickerRangeComponent, DrDatePickerWithTimeframeComponent, DrDetailsListComponent, DrDetailsListModule, DrDialogModule, DrDotFlashingComponent, DrDropdownChildDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemComponent, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownService, DrErrorComponent, DrErrorModule, DrFiscalMonthCalendarHeaderComponent, DrFiscalMonthCalendarPickerComponent, DrGalleryComponent, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrListOverflowComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrProgressBarComponent, DrScenarioConfigurationComponent, DrScenarioModule, DrScenarioTagConfigurationComponent, DrSelectAddItemComponent, DrSelectComponent, DrSharedUtils, DrShineAnimationDirective, DrShowTimeframePipe, DrSliderComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrStepperModule, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagModule, DrTagsConstructorComponent, DrTagsConstructorModule, DrToastrModule, DrToastrService, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, Drawer, DrawerConfig, DrawerContainer, DrawerModule, DrawerRef, DropdownInstanceService, ElementOverflowDirective, FeedbackSentiment, FilterDropdownComponent, FilterPipe, FiscalMonthAdapter, ForecastTagComponent, ForecastTagService, GMT_OFFSETS, ICodeEditorHintIcon, IMAGE_TYPES, ImgPipe, LOCAL_TIME_ZONE_OFFSET, LetContext, LetDirective, LinkTheme, ListTagComponent, ListTagModule, MonthTagComponent, OrderDownlineTreeviewEventParser, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, SearchPipe, SeparateTableColumnDirective, SeparateTableComponent, StepWizardDirective, StepperComponent, StepperWizardComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TextOverflowComponent, TimePickerComponent, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth, TooltipTheme, TrackByPropertyDirective, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, TruncateTextDirective, WeekTagComponent, YearTagComponent, getGMTLabel };
|
|
16085
16224
|
//# sourceMappingURL=datarailsshared-datarailsshared.mjs.map
|