@datarailsshared/datarailsshared 1.6.93 → 1.6.97
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.97.tgz +0 -0
- package/esm2022/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.mjs +12 -6
- package/esm2022/lib/dr-dialog/interfaces/dialog-data.mjs +1 -1
- package/esm2022/lib/text-overflow/element-overflow.directive.mjs +48 -0
- package/esm2022/lib/text-overflow/text-overflow.component.mjs +34 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +178 -99
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.d.ts +1 -0
- package/lib/dr-dialog/interfaces/dialog-data.d.ts +2 -0
- package/lib/text-overflow/element-overflow.directive.d.ts +15 -0
- package/lib/text-overflow/text-overflow.component.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/datarailsshared-datarailsshared-1.6.93.tgz +0 -0
|
@@ -9,7 +9,7 @@ import * as moment from 'moment';
|
|
|
9
9
|
import moment__default from 'moment';
|
|
10
10
|
import * as i1$2 from '@angular/forms';
|
|
11
11
|
import { NG_VALUE_ACCESSOR, FormBuilder, FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
12
|
-
import { Observable, BehaviorSubject, distinctUntilChanged, Subject, startWith, takeUntil, noop as noop$3, combineLatest, from, merge as merge$1, fromEvent, filter as filter$1, switchMap as switchMap$1, map as map$2, observeOn, asyncScheduler, withLatestFrom, first as first$1, interval, throwError, finalize as finalize$1, tap as tap$1, defer } from 'rxjs';
|
|
12
|
+
import { Observable, BehaviorSubject, distinctUntilChanged, Subject, startWith, takeUntil, noop as noop$3, combineLatest, from, merge as merge$1, fromEvent, filter as filter$1, switchMap as switchMap$1, map as map$2, observeOn, asyncScheduler, withLatestFrom, first as first$1, interval, throwError, finalize as finalize$1, tap as tap$1, defer, throttleTime } from 'rxjs';
|
|
13
13
|
import * as _ from 'lodash';
|
|
14
14
|
import { isNil, isObject, cloneDeep, find, indexOf, reduce, map as map$1, isNumber, merge, forEach, some, orderBy, filter as filter$2, includes, pull, concat, isString, isBoolean } from 'lodash';
|
|
15
15
|
import { skip, debounceTime, filter, distinctUntilChanged as distinctUntilChanged$1, takeUntil as takeUntil$1, startWith as startWith$1, map, tap, shareReplay, switchMap, first, catchError, finalize, take } from 'rxjs/operators';
|
|
@@ -640,7 +640,7 @@ var TooltipTheme;
|
|
|
640
640
|
TooltipTheme["DARK"] = "dark";
|
|
641
641
|
})(TooltipTheme || (TooltipTheme = {}));
|
|
642
642
|
|
|
643
|
-
const _c0$
|
|
643
|
+
const _c0$K = ["*"];
|
|
644
644
|
class TooltipDefaultComponent {
|
|
645
645
|
constructor() {
|
|
646
646
|
this.theme = TooltipTheme.LIGHT;
|
|
@@ -648,7 +648,7 @@ class TooltipDefaultComponent {
|
|
|
648
648
|
/** @nocollapse */ static { this.ɵfac = function TooltipDefaultComponent_Factory(t) { return new (t || TooltipDefaultComponent)(); }; }
|
|
649
649
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipDefaultComponent, selectors: [["dr-tooltip-default"]], hostVars: 2, hostBindings: function TooltipDefaultComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
650
650
|
i0.ɵɵclassMap(ctx.theme);
|
|
651
|
-
} }, inputs: { content: "content", theme: "theme" }, ngContentSelectors: _c0$
|
|
651
|
+
} }, inputs: { content: "content", theme: "theme" }, ngContentSelectors: _c0$K, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
652
652
|
i0.ɵɵprojectionDef();
|
|
653
653
|
i0.ɵɵelement(0, "span", 0);
|
|
654
654
|
i0.ɵɵprojection(1);
|
|
@@ -689,7 +689,7 @@ function TooltipComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
689
689
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
690
690
|
i0.ɵɵproperty("content", ctx_r3.content)("theme", ctx_r3.theme);
|
|
691
691
|
} }
|
|
692
|
-
const _c0$
|
|
692
|
+
const _c0$J = function (a0) { return { "dr-tooltip": a0 }; };
|
|
693
693
|
class TooltipComponent {
|
|
694
694
|
constructor() {
|
|
695
695
|
this.isContentTemplate = false;
|
|
@@ -719,7 +719,7 @@ class TooltipComponent {
|
|
|
719
719
|
} if (rf & 2) {
|
|
720
720
|
const _r2 = i0.ɵɵreference(4);
|
|
721
721
|
i0.ɵɵclassMap(ctx.position + " " + ctx.class + " " + ctx.theme);
|
|
722
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
722
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$J, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
|
|
723
723
|
i0.ɵɵadvance(1);
|
|
724
724
|
i0.ɵɵproperty("ngIf", !(ctx.options == null ? null : ctx.options.withoutArrow));
|
|
725
725
|
i0.ɵɵadvance(1);
|
|
@@ -1061,7 +1061,7 @@ class DrModelDebounceChangeDirective {
|
|
|
1061
1061
|
type: Output
|
|
1062
1062
|
}] }); })();
|
|
1063
1063
|
|
|
1064
|
-
const _c0$
|
|
1064
|
+
const _c0$I = ["prefix"];
|
|
1065
1065
|
const _c1$j = ["suffix"];
|
|
1066
1066
|
const _c2$9 = ["inputRef"];
|
|
1067
1067
|
function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1274,7 +1274,7 @@ class DrInputComponent {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
/** @nocollapse */ static { this.ɵfac = function DrInputComponent_Factory(t) { return new (t || DrInputComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
1276
1276
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrInputComponent, selectors: [["dr-input"]], contentQueries: function DrInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1277
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
1277
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$I, 5);
|
|
1278
1278
|
i0.ɵɵcontentQuery(dirIndex, _c1$j, 5);
|
|
1279
1279
|
} if (rf & 2) {
|
|
1280
1280
|
let _t;
|
|
@@ -1398,7 +1398,7 @@ class DrInputComponent {
|
|
|
1398
1398
|
args: ['tabindex']
|
|
1399
1399
|
}] }); })();
|
|
1400
1400
|
|
|
1401
|
-
const _c0$
|
|
1401
|
+
const _c0$H = ["labelTemplate"];
|
|
1402
1402
|
const _c1$i = ["multiLabelTemplate"];
|
|
1403
1403
|
const _c2$8 = ["optionTemplate"];
|
|
1404
1404
|
const _c3$6 = ["optionHeaderTemplate"];
|
|
@@ -1640,7 +1640,7 @@ class DrSelectComponent {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
/** @nocollapse */ static { this.ɵfac = function DrSelectComponent_Factory(t) { return new (t || DrSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
1642
1642
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1643
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
1643
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$H, 5);
|
|
1644
1644
|
i0.ɵɵcontentQuery(dirIndex, _c1$i, 5);
|
|
1645
1645
|
i0.ɵɵcontentQuery(dirIndex, _c2$8, 5);
|
|
1646
1646
|
i0.ɵɵcontentQuery(dirIndex, _c3$6, 5);
|
|
@@ -1832,7 +1832,7 @@ class DrShowTimeframePipe {
|
|
|
1832
1832
|
}]
|
|
1833
1833
|
}], null, null); })();
|
|
1834
1834
|
|
|
1835
|
-
const _c0$
|
|
1835
|
+
const _c0$G = ["class", "component"];
|
|
1836
1836
|
const _c1$h = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
|
|
1837
1837
|
function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1838
1838
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -2108,7 +2108,7 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
2108
2108
|
calendar.insertBefore(selector.location.nativeElement, calendar.firstChild);
|
|
2109
2109
|
}
|
|
2110
2110
|
/** @nocollapse */ static { this.ɵfac = function DrDatePickerCustomHeaderComponent_Factory(t) { return new (t || DrDatePickerCustomHeaderComponent)(i0.ɵɵdirectiveInject(i5.MatCalendar), i0.ɵɵdirectiveInject(i1$4.DateAdapter), i0.ɵɵdirectiveInject(MAT_DATE_FORMATS), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
|
|
2111
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$
|
|
2111
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$G, 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"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags"], ["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"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", 3, "click"]], template: function DrDatePickerCustomHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2112
2112
|
i0.ɵɵtemplate(0, DrDatePickerCustomHeaderComponent_div_0_Template, 4, 6, "div", 0);
|
|
2113
2113
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
|
|
2114
2114
|
i0.ɵɵlistener("click", function DrDatePickerCustomHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
|
|
@@ -2221,7 +2221,7 @@ class DrDatePickerFormatDirective {
|
|
|
2221
2221
|
args: ['drDatePickerFormat']
|
|
2222
2222
|
}] }); })();
|
|
2223
2223
|
|
|
2224
|
-
const _c0$
|
|
2224
|
+
const _c0$F = ["datePicker"];
|
|
2225
2225
|
function DrDatePickerComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2226
2226
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
2227
2227
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -2569,7 +2569,7 @@ class DrDatePickerComponent {
|
|
|
2569
2569
|
}
|
|
2570
2570
|
/** @nocollapse */ static { this.ɵfac = function DrDatePickerComponent_Factory(t) { return new (t || DrDatePickerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.DateAdapter), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
|
|
2571
2571
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerComponent, selectors: [["dr-date-picker"]], viewQuery: function DrDatePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2572
|
-
i0.ɵɵviewQuery(_c0$
|
|
2572
|
+
i0.ɵɵviewQuery(_c0$F, 5);
|
|
2573
2573
|
} if (rf & 2) {
|
|
2574
2574
|
let _t;
|
|
2575
2575
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePicker = _t.first);
|
|
@@ -3771,7 +3771,7 @@ function DrButtonComponent_i_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
3771
3771
|
i0.ɵɵclassMap(ctx_r2.iconAfter);
|
|
3772
3772
|
i0.ɵɵstyleProp("font-size", ctx_r2.iconAfterSize)("color", ctx_r2.iconAfterColor || "inherit");
|
|
3773
3773
|
} }
|
|
3774
|
-
const _c0$
|
|
3774
|
+
const _c0$E = ["*"];
|
|
3775
3775
|
class DrButtonComponent {
|
|
3776
3776
|
constructor() {
|
|
3777
3777
|
this.theme = 'primary';
|
|
@@ -3785,7 +3785,7 @@ class DrButtonComponent {
|
|
|
3785
3785
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrButtonComponent, selectors: [["dr-button"]], hostVars: 12, hostBindings: function DrButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
3786
3786
|
i0.ɵɵclassMap(ctx.theme);
|
|
3787
3787
|
i0.ɵɵclassProp("with-icon", ctx.icon)("with-icon-after", ctx.iconAfter)("disabled", ctx.disabled)("loading", ctx.isLoading)("active", ctx.isActive);
|
|
3788
|
-
} }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, ngContentSelectors: _c0$
|
|
3788
|
+
} }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, ngContentSelectors: _c0$E, 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) {
|
|
3789
3789
|
i0.ɵɵprojectionDef();
|
|
3790
3790
|
i0.ɵɵelementStart(0, "button", 0);
|
|
3791
3791
|
i0.ɵɵtemplate(1, DrButtonComponent_i_1_Template, 1, 6, "i", 1);
|
|
@@ -3846,7 +3846,7 @@ class DrButtonComponent {
|
|
|
3846
3846
|
args: ['class.active']
|
|
3847
3847
|
}] }); })();
|
|
3848
3848
|
|
|
3849
|
-
const _c0$
|
|
3849
|
+
const _c0$D = ["dynamicInputRef"];
|
|
3850
3850
|
function DrSelectAddItemComponent_div_5_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
3851
3851
|
i0.ɵɵelementStart(0, "p", 12);
|
|
3852
3852
|
i0.ɵɵtext(1);
|
|
@@ -3936,7 +3936,7 @@ class DrSelectAddItemComponent {
|
|
|
3936
3936
|
}
|
|
3937
3937
|
/** @nocollapse */ static { this.ɵfac = function DrSelectAddItemComponent_Factory(t) { return new (t || DrSelectAddItemComponent)(i0.ɵɵdirectiveInject(DrSelectComponent)); }; }
|
|
3938
3938
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectAddItemComponent, selectors: [["dr-select-add-item"]], viewQuery: function DrSelectAddItemComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3939
|
-
i0.ɵɵviewQuery(_c0$
|
|
3939
|
+
i0.ɵɵviewQuery(_c0$D, 5);
|
|
3940
3940
|
} if (rf & 2) {
|
|
3941
3941
|
let _t;
|
|
3942
3942
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);
|
|
@@ -4396,7 +4396,7 @@ class DrTagComponent {
|
|
|
4396
4396
|
type: Output
|
|
4397
4397
|
}] }); })();
|
|
4398
4398
|
|
|
4399
|
-
const _c0$
|
|
4399
|
+
const _c0$C = ["*"];
|
|
4400
4400
|
class RadioButtonComponent {
|
|
4401
4401
|
get disabled() {
|
|
4402
4402
|
return this._disabled;
|
|
@@ -4450,7 +4450,7 @@ class RadioButtonComponent {
|
|
|
4450
4450
|
useExisting: RadioButtonComponent,
|
|
4451
4451
|
multi: true,
|
|
4452
4452
|
},
|
|
4453
|
-
])], ngContentSelectors: _c0$
|
|
4453
|
+
])], ngContentSelectors: _c0$C, decls: 4, vars: 5, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4454
4454
|
i0.ɵɵprojectionDef();
|
|
4455
4455
|
i0.ɵɵelementStart(0, "label")(1, "input", 0);
|
|
4456
4456
|
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); });
|
|
@@ -4489,7 +4489,7 @@ class RadioButtonComponent {
|
|
|
4489
4489
|
type: Input
|
|
4490
4490
|
}] }); })();
|
|
4491
4491
|
|
|
4492
|
-
const _c0$
|
|
4492
|
+
const _c0$B = [[["dr-radio-button"]]];
|
|
4493
4493
|
const _c1$g = ["dr-radio-button"];
|
|
4494
4494
|
class RadioGroupComponent {
|
|
4495
4495
|
get value() {
|
|
@@ -4630,7 +4630,7 @@ class RadioGroupComponent {
|
|
|
4630
4630
|
multi: true,
|
|
4631
4631
|
},
|
|
4632
4632
|
])], ngContentSelectors: _c1$g, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4633
|
-
i0.ɵɵprojectionDef(_c0$
|
|
4633
|
+
i0.ɵɵprojectionDef(_c0$B);
|
|
4634
4634
|
i0.ɵɵprojection(0);
|
|
4635
4635
|
} }, encapsulation: 2, changeDetection: 0 }); }
|
|
4636
4636
|
}
|
|
@@ -4667,7 +4667,7 @@ class RadioGroupComponent {
|
|
|
4667
4667
|
type: Output
|
|
4668
4668
|
}] }); })();
|
|
4669
4669
|
|
|
4670
|
-
const _c0$
|
|
4670
|
+
const _c0$A = ["checkboxContent"];
|
|
4671
4671
|
const _c1$f = ["*"];
|
|
4672
4672
|
class CheckboxComponent {
|
|
4673
4673
|
get indeterminate() {
|
|
@@ -4718,7 +4718,7 @@ class CheckboxComponent {
|
|
|
4718
4718
|
}
|
|
4719
4719
|
/** @nocollapse */ static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
4720
4720
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["dr-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4721
|
-
i0.ɵɵviewQuery(_c0$
|
|
4721
|
+
i0.ɵɵviewQuery(_c0$A, 5);
|
|
4722
4722
|
} if (rf & 2) {
|
|
4723
4723
|
let _t;
|
|
4724
4724
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxContent = _t.first);
|
|
@@ -4780,7 +4780,7 @@ class CheckboxComponent {
|
|
|
4780
4780
|
args: ['checkboxContent']
|
|
4781
4781
|
}] }); })();
|
|
4782
4782
|
|
|
4783
|
-
const _c0$
|
|
4783
|
+
const _c0$z = ["*"];
|
|
4784
4784
|
var LinkTheme;
|
|
4785
4785
|
(function (LinkTheme) {
|
|
4786
4786
|
LinkTheme["DEFAULT"] = "DEFAULT";
|
|
@@ -4796,7 +4796,7 @@ class DrLinkComponent {
|
|
|
4796
4796
|
this.theme = LinkTheme.DEFAULT;
|
|
4797
4797
|
}
|
|
4798
4798
|
/** @nocollapse */ static { this.ɵfac = function DrLinkComponent_Factory(t) { return new (t || DrLinkComponent)(); }; }
|
|
4799
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$
|
|
4799
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$z, decls: 2, vars: 7, consts: [[1, "dr-link", 3, "href"]], template: function DrLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4800
4800
|
i0.ɵɵprojectionDef();
|
|
4801
4801
|
i0.ɵɵelementStart(0, "a", 0);
|
|
4802
4802
|
i0.ɵɵprojection(1);
|
|
@@ -4821,7 +4821,7 @@ class DrLinkComponent {
|
|
|
4821
4821
|
type: Input
|
|
4822
4822
|
}] }); })();
|
|
4823
4823
|
|
|
4824
|
-
const _c0$
|
|
4824
|
+
const _c0$y = ["class", "component"];
|
|
4825
4825
|
const _c1$e = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
|
|
4826
4826
|
function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
4827
4827
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -4914,7 +4914,7 @@ class DrFiscalMonthCalendarHeaderComponent extends DrDatePickerCustomHeaderCompo
|
|
|
4914
4914
|
});
|
|
4915
4915
|
}
|
|
4916
4916
|
/** @nocollapse */ static { this.ɵfac = /** @pureOrBreakMyCode */ function () { let ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory; return function DrFiscalMonthCalendarHeaderComponent_Factory(t) { return (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory || (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DrFiscalMonthCalendarHeaderComponent)))(t || DrFiscalMonthCalendarHeaderComponent); }; }(); }
|
|
4917
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
4917
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$y, 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"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags"], ["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"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", 3, "click"]], template: function DrFiscalMonthCalendarHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4918
4918
|
i0.ɵɵtemplate(0, DrFiscalMonthCalendarHeaderComponent_div_0_Template, 4, 6, "div", 0);
|
|
4919
4919
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
|
|
4920
4920
|
i0.ɵɵlistener("click", function DrFiscalMonthCalendarHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
|
|
@@ -5131,7 +5131,7 @@ function DrDatePickerWithTimeframeComponent_dr_button_11_Template(rf, ctx) { if
|
|
|
5131
5131
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
5132
5132
|
i0.ɵɵproperty("disabled", ctx_r5.isNextDateDisabled);
|
|
5133
5133
|
} }
|
|
5134
|
-
const _c0$
|
|
5134
|
+
const _c0$x = function (a0) { return { formattedValue: a0 }; };
|
|
5135
5135
|
class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
5136
5136
|
get isDashboardClassDisplayed() {
|
|
5137
5137
|
return this.isDashboardDatepicker;
|
|
@@ -5315,7 +5315,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
|
5315
5315
|
i0.ɵɵadvance(1);
|
|
5316
5316
|
i0.ɵɵproperty("ngIf", ctx.isDashboardDatepicker);
|
|
5317
5317
|
i0.ɵɵadvance(2);
|
|
5318
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(19, _c0$
|
|
5318
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(19, _c0$x, i0.ɵɵpipeBind1(5, 15, ctx.displayedFormattedValue$)));
|
|
5319
5319
|
i0.ɵɵadvance(4);
|
|
5320
5320
|
i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(10, 17, ctx.displayValue$))("matDatepicker", _r6)("readonly", ctx.readonly)("min", ctx._min)("max", ctx._max);
|
|
5321
5321
|
i0.ɵɵadvance(3);
|
|
@@ -5591,7 +5591,7 @@ class TooltipInfoComponent {
|
|
|
5591
5591
|
type: Input
|
|
5592
5592
|
}] }); })();
|
|
5593
5593
|
|
|
5594
|
-
const _c0$
|
|
5594
|
+
const _c0$w = ["stepper"];
|
|
5595
5595
|
function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5596
5596
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
5597
5597
|
i0.ɵɵelementStart(0, "div", 6);
|
|
@@ -5805,7 +5805,7 @@ class StepperComponent {
|
|
|
5805
5805
|
}
|
|
5806
5806
|
/** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
|
|
5807
5807
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], viewQuery: function StepperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5808
|
-
i0.ɵɵviewQuery(_c0$
|
|
5808
|
+
i0.ɵɵviewQuery(_c0$w, 5, ElementRef);
|
|
5809
5809
|
} if (rf & 2) {
|
|
5810
5810
|
let _t;
|
|
5811
5811
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepper = _t.first);
|
|
@@ -5967,7 +5967,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
5967
5967
|
i0.ɵɵtext(1, "Stop generating");
|
|
5968
5968
|
i0.ɵɵelementEnd();
|
|
5969
5969
|
} }
|
|
5970
|
-
const _c0$
|
|
5970
|
+
const _c0$v = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
|
|
5971
5971
|
class DrChatFormComponent {
|
|
5972
5972
|
constructor(cdr, domSanitizer) {
|
|
5973
5973
|
this.cdr = cdr;
|
|
@@ -6123,7 +6123,7 @@ class DrChatFormComponent {
|
|
|
6123
6123
|
const _r1 = i0.ɵɵreference(4);
|
|
6124
6124
|
i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
|
|
6125
6125
|
i0.ɵɵadvance(2);
|
|
6126
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$
|
|
6126
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$v, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
|
|
6127
6127
|
i0.ɵɵadvance(1);
|
|
6128
6128
|
i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
|
|
6129
6129
|
i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
|
|
@@ -6238,7 +6238,7 @@ function DrAvatarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
6238
6238
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6239
6239
|
i0.ɵɵstyleProp("width", ctx_r0.drAvatarSize || null)("height", ctx_r0.drAvatarSize || null);
|
|
6240
6240
|
} }
|
|
6241
|
-
const _c0$
|
|
6241
|
+
const _c0$u = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
|
|
6242
6242
|
function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6243
6243
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
6244
6244
|
i0.ɵɵelementStart(0, "div", 5);
|
|
@@ -6252,7 +6252,7 @@ function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
6252
6252
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
6253
6253
|
i0.ɵɵclassMap(user_r5.status);
|
|
6254
6254
|
i0.ɵɵstyleProp("width", ctx_r1.drAvatarSize || null)("height", ctx_r1.drAvatarSize || null)("background-color", ctx_r1.getAvatarColor(user_r5));
|
|
6255
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$
|
|
6255
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$u, ctx_r1.showUnassigned && !user_r5.email, ctx_r1.drAvatarIsClickable))("drTooltip", i0.ɵɵpipeBind1(1, 13, user_r5))("drTooltipClass", ctx_r1.drAvatarTooltipClass)("drTooltipPosition", ctx_r1.drAvatarTooltipPosition);
|
|
6256
6256
|
i0.ɵɵadvance(2);
|
|
6257
6257
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), "\n");
|
|
6258
6258
|
} }
|
|
@@ -6528,7 +6528,7 @@ class DrChatMessageFileComponent {
|
|
|
6528
6528
|
type: Input
|
|
6529
6529
|
}] }); })();
|
|
6530
6530
|
|
|
6531
|
-
const _c0$
|
|
6531
|
+
const _c0$t = ["drChatMessageActions"];
|
|
6532
6532
|
function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
6533
6533
|
i0.ɵɵelementContainerStart(0);
|
|
6534
6534
|
i0.ɵɵelement(1, "div", 8);
|
|
@@ -6630,7 +6630,7 @@ class DrChatMessageComponent {
|
|
|
6630
6630
|
}
|
|
6631
6631
|
/** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
|
|
6632
6632
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatMessageComponent, selectors: [["dr-chat-message"]], contentQueries: function DrChatMessageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
6633
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
6633
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$t, 5);
|
|
6634
6634
|
} if (rf & 2) {
|
|
6635
6635
|
let _t;
|
|
6636
6636
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
|
|
@@ -6701,7 +6701,7 @@ class DrChatMessageComponent {
|
|
|
6701
6701
|
args: ['drChatMessageActions']
|
|
6702
6702
|
}] }); })();
|
|
6703
6703
|
|
|
6704
|
-
const _c0$
|
|
6704
|
+
const _c0$s = ["suggestionsContainer"];
|
|
6705
6705
|
function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
6706
6706
|
i0.ɵɵelementContainer(0);
|
|
6707
6707
|
} }
|
|
@@ -6846,7 +6846,7 @@ class DrChatSuggestionsComponent {
|
|
|
6846
6846
|
}
|
|
6847
6847
|
/** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
6848
6848
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatSuggestionsComponent, selectors: [["dr-chat-suggestions"]], viewQuery: function DrChatSuggestionsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6849
|
-
i0.ɵɵviewQuery(_c0$
|
|
6849
|
+
i0.ɵɵviewQuery(_c0$s, 5);
|
|
6850
6850
|
} if (rf & 2) {
|
|
6851
6851
|
let _t;
|
|
6852
6852
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
|
|
@@ -6880,7 +6880,7 @@ class DrChatSuggestionsComponent {
|
|
|
6880
6880
|
args: ['suggestionsContainer', { static: false }]
|
|
6881
6881
|
}] }); })();
|
|
6882
6882
|
|
|
6883
|
-
const _c0$
|
|
6883
|
+
const _c0$r = ["drChatHeader"];
|
|
6884
6884
|
const _c1$b = ["drChatLoader"];
|
|
6885
6885
|
const _c2$5 = ["drChatContent"];
|
|
6886
6886
|
const _c3$4 = ["messagesContainer"];
|
|
@@ -7017,7 +7017,7 @@ class DrChatComponent {
|
|
|
7017
7017
|
/** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
7018
7018
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
7019
7019
|
i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
|
|
7020
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
7020
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$r, 5);
|
|
7021
7021
|
i0.ɵɵcontentQuery(dirIndex, _c1$b, 5);
|
|
7022
7022
|
i0.ɵɵcontentQuery(dirIndex, _c2$5, 5);
|
|
7023
7023
|
i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
|
|
@@ -7105,7 +7105,7 @@ class DrChatComponent {
|
|
|
7105
7105
|
args: [DrChatSuggestionsComponent]
|
|
7106
7106
|
}] }); })();
|
|
7107
7107
|
|
|
7108
|
-
const _c0$
|
|
7108
|
+
const _c0$q = ["textAreaElement"];
|
|
7109
7109
|
const _c1$a = ["fileInput"];
|
|
7110
7110
|
function DrChatFormDropdownComponent_dr_chat_dropped_files_3_Template(rf, ctx) { if (rf & 1) {
|
|
7111
7111
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -7292,7 +7292,7 @@ class DrChatFormDropdownComponent {
|
|
|
7292
7292
|
}
|
|
7293
7293
|
/** @nocollapse */ static { this.ɵfac = function DrChatFormDropdownComponent_Factory(t) { return new (t || DrChatFormDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$5.DomSanitizer)); }; }
|
|
7294
7294
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatFormDropdownComponent, selectors: [["dr-chat-form-dropdown"]], viewQuery: function DrChatFormDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7295
|
-
i0.ɵɵviewQuery(_c0$
|
|
7295
|
+
i0.ɵɵviewQuery(_c0$q, 5);
|
|
7296
7296
|
i0.ɵɵviewQuery(_c1$a, 5);
|
|
7297
7297
|
} if (rf & 2) {
|
|
7298
7298
|
let _t;
|
|
@@ -7429,14 +7429,14 @@ class DrChatCustomMessageDirective {
|
|
|
7429
7429
|
type: Input
|
|
7430
7430
|
}] }); })();
|
|
7431
7431
|
|
|
7432
|
-
const _c0$
|
|
7432
|
+
const _c0$p = ["*"];
|
|
7433
7433
|
class DrChatAlertComponent {
|
|
7434
7434
|
constructor() {
|
|
7435
7435
|
this.iconClass = 'dr-icon-info';
|
|
7436
7436
|
this.close = new EventEmitter();
|
|
7437
7437
|
}
|
|
7438
7438
|
/** @nocollapse */ static { this.ɵfac = function DrChatAlertComponent_Factory(t) { return new (t || DrChatAlertComponent)(); }; }
|
|
7439
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$
|
|
7439
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$p, 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) {
|
|
7440
7440
|
i0.ɵɵprojectionDef();
|
|
7441
7441
|
i0.ɵɵelement(0, "i");
|
|
7442
7442
|
i0.ɵɵprojection(1);
|
|
@@ -7474,7 +7474,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
7474
7474
|
i0.ɵɵadvance(1);
|
|
7475
7475
|
i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
|
|
7476
7476
|
} }
|
|
7477
|
-
const _c0$
|
|
7477
|
+
const _c0$o = ["*"];
|
|
7478
7478
|
class DrToggleComponent {
|
|
7479
7479
|
set disabled(value) {
|
|
7480
7480
|
this.setDisabledState(value);
|
|
@@ -7519,7 +7519,7 @@ class DrToggleComponent {
|
|
|
7519
7519
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 3, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
7520
7520
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
7521
7521
|
i0.ɵɵclassMap(ctx.elementClass);
|
|
7522
|
-
} }, 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$
|
|
7522
|
+
} }, 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$o, 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) {
|
|
7523
7523
|
i0.ɵɵprojectionDef();
|
|
7524
7524
|
i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
|
|
7525
7525
|
i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
|
|
@@ -7644,7 +7644,7 @@ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7644
7644
|
i0.ɵɵadvance(1);
|
|
7645
7645
|
i0.ɵɵtextInterpolate(ctx_r0.text);
|
|
7646
7646
|
} }
|
|
7647
|
-
const _c0$
|
|
7647
|
+
const _c0$n = ["*"];
|
|
7648
7648
|
const ALERT_THEME_ICONS = {
|
|
7649
7649
|
[DrAlertTheme.SUCCESS]: 'dr-icon-uploaded-success',
|
|
7650
7650
|
[DrAlertTheme.BOLD_ERROR]: 'dr-icon-error',
|
|
@@ -7665,7 +7665,7 @@ class DrAlertComponent {
|
|
|
7665
7665
|
/** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
|
|
7666
7666
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
7667
7667
|
i0.ɵɵclassMap(ctx.elementClass);
|
|
7668
|
-
} }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$
|
|
7668
|
+
} }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$n, 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) {
|
|
7669
7669
|
i0.ɵɵprojectionDef();
|
|
7670
7670
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7671
7671
|
i0.ɵɵelement(1, "i");
|
|
@@ -7711,7 +7711,7 @@ class CodeEditorHintWrapperComponent {
|
|
|
7711
7711
|
}]
|
|
7712
7712
|
}], null, null); })();
|
|
7713
7713
|
|
|
7714
|
-
const _c0$
|
|
7714
|
+
const _c0$m = ["ref"];
|
|
7715
7715
|
class DrCodemirrorComponent {
|
|
7716
7716
|
set options(value) {
|
|
7717
7717
|
this._options = value;
|
|
@@ -7841,7 +7841,7 @@ class DrCodemirrorComponent {
|
|
|
7841
7841
|
}
|
|
7842
7842
|
/** @nocollapse */ static { this.ɵfac = function DrCodemirrorComponent_Factory(t) { return new (t || DrCodemirrorComponent)(i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
7843
7843
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodemirrorComponent, selectors: [["dr-codemirror"]], viewQuery: function DrCodemirrorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7844
|
-
i0.ɵɵviewQuery(_c0$
|
|
7844
|
+
i0.ɵɵviewQuery(_c0$m, 5);
|
|
7845
7845
|
} if (rf & 2) {
|
|
7846
7846
|
let _t;
|
|
7847
7847
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ref = _t.first);
|
|
@@ -7993,7 +7993,7 @@ class DrErrorComponent {
|
|
|
7993
7993
|
args: ['class.no-icon']
|
|
7994
7994
|
}] }); })();
|
|
7995
7995
|
|
|
7996
|
-
const _c0$
|
|
7996
|
+
const _c0$l = ["codeEditor"];
|
|
7997
7997
|
function DrCodeEditorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
7998
7998
|
i0.ɵɵelementStart(0, "span", 4);
|
|
7999
7999
|
i0.ɵɵtext(1);
|
|
@@ -8272,7 +8272,7 @@ class DrCodeEditorComponent {
|
|
|
8272
8272
|
}
|
|
8273
8273
|
/** @nocollapse */ static { this.ɵfac = function DrCodeEditorComponent_Factory(t) { return new (t || DrCodeEditorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
8274
8274
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodeEditorComponent, selectors: [["dr-code-editor"]], viewQuery: function DrCodeEditorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8275
|
-
i0.ɵɵviewQuery(_c0$
|
|
8275
|
+
i0.ɵɵviewQuery(_c0$l, 5);
|
|
8276
8276
|
} if (rf & 2) {
|
|
8277
8277
|
let _t;
|
|
8278
8278
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.codeEditor = _t.first);
|
|
@@ -9040,7 +9040,7 @@ const getAlignmentDimension = (position) => {
|
|
|
9040
9040
|
return DrPopoverAlignmentDimension.Width;
|
|
9041
9041
|
};
|
|
9042
9042
|
|
|
9043
|
-
const _c0$
|
|
9043
|
+
const _c0$k = ["popoverContainer"];
|
|
9044
9044
|
function DrPopoverComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
9045
9045
|
i0.ɵɵelementContainer(0);
|
|
9046
9046
|
} }
|
|
@@ -9130,7 +9130,7 @@ class DrPopoverComponent {
|
|
|
9130
9130
|
}
|
|
9131
9131
|
/** @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)); }; }
|
|
9132
9132
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrPopoverComponent, selectors: [["dr-popover"]], viewQuery: function DrPopoverComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9133
|
-
i0.ɵɵviewQuery(_c0$
|
|
9133
|
+
i0.ɵɵviewQuery(_c0$k, 7, ElementRef);
|
|
9134
9134
|
} if (rf & 2) {
|
|
9135
9135
|
let _t;
|
|
9136
9136
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverContainer = _t.first);
|
|
@@ -9453,7 +9453,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
9453
9453
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9454
9454
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9455
9455
|
};
|
|
9456
|
-
const _c0$
|
|
9456
|
+
const _c0$j = ["menuContainer"];
|
|
9457
9457
|
function DrDropdownComponent_dr_dropdown_item_4_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
9458
9458
|
i0.ɵɵelement(0, "i", 11);
|
|
9459
9459
|
} if (rf & 2) {
|
|
@@ -9649,7 +9649,7 @@ class DrDropdownComponent {
|
|
|
9649
9649
|
}
|
|
9650
9650
|
/** @nocollapse */ static { this.ɵfac = function DrDropdownComponent_Factory(t) { return new (t || DrDropdownComponent)(); }; }
|
|
9651
9651
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownComponent, selectors: [["dr-dropdown"]], viewQuery: function DrDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9652
|
-
i0.ɵɵviewQuery(_c0$
|
|
9652
|
+
i0.ɵɵviewQuery(_c0$j, 7);
|
|
9653
9653
|
} if (rf & 2) {
|
|
9654
9654
|
let _t;
|
|
9655
9655
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
|
|
@@ -9888,7 +9888,7 @@ class DrDropdownChildDirective {
|
|
|
9888
9888
|
}]
|
|
9889
9889
|
}], null, null); })();
|
|
9890
9890
|
|
|
9891
|
-
const _c0$
|
|
9891
|
+
const _c0$i = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
|
|
9892
9892
|
const _c1$8 = ["[dropdownItemContent]", "[dropdownItemActions]"];
|
|
9893
9893
|
class DrDropdownItemComponent {
|
|
9894
9894
|
constructor() {
|
|
@@ -9898,7 +9898,7 @@ class DrDropdownItemComponent {
|
|
|
9898
9898
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownItemComponent, selectors: [["dr-dropdown-item"]], hostVars: 1, hostBindings: function DrDropdownItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
9899
9899
|
i0.ɵɵattribute("role", ctx.role);
|
|
9900
9900
|
} }, inputs: { selected: "selected", disabled: "disabled", divider: "divider" }, ngContentSelectors: _c1$8, 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) {
|
|
9901
|
-
i0.ɵɵprojectionDef(_c0$
|
|
9901
|
+
i0.ɵɵprojectionDef(_c0$i);
|
|
9902
9902
|
i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
|
|
9903
9903
|
i0.ɵɵprojection(2);
|
|
9904
9904
|
i0.ɵɵelementEnd();
|
|
@@ -9940,7 +9940,7 @@ class DrDropdownItemShowPipe {
|
|
|
9940
9940
|
function DrTabComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
9941
9941
|
i0.ɵɵprojection(0);
|
|
9942
9942
|
} }
|
|
9943
|
-
const _c0$
|
|
9943
|
+
const _c0$h = ["*"];
|
|
9944
9944
|
class DrTabComponent {
|
|
9945
9945
|
constructor() { }
|
|
9946
9946
|
ngOnInit() { }
|
|
@@ -9950,7 +9950,7 @@ class DrTabComponent {
|
|
|
9950
9950
|
} if (rf & 2) {
|
|
9951
9951
|
let _t;
|
|
9952
9952
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
|
|
9953
|
-
} }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$
|
|
9953
|
+
} }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$h, decls: 1, vars: 0, template: function DrTabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9954
9954
|
i0.ɵɵprojectionDef();
|
|
9955
9955
|
i0.ɵɵtemplate(0, DrTabComponent_ng_template_0_Template, 1, 0, "ng-template");
|
|
9956
9956
|
} }, encapsulation: 2 }); }
|
|
@@ -10225,7 +10225,7 @@ class DrTabsComponent {
|
|
|
10225
10225
|
args: [DrTabComponent]
|
|
10226
10226
|
}] }); })();
|
|
10227
10227
|
|
|
10228
|
-
const _c0$
|
|
10228
|
+
const _c0$g = [[["dr-accordion-item"]]];
|
|
10229
10229
|
const _c1$7 = ["dr-accordion-item"];
|
|
10230
10230
|
class DrAccordionComponent {
|
|
10231
10231
|
constructor() {
|
|
@@ -10260,7 +10260,7 @@ class DrAccordionComponent {
|
|
|
10260
10260
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionComponent, selectors: [["dr-accordion"]], hostVars: 2, hostBindings: function DrAccordionComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10261
10261
|
i0.ɵɵclassMap(ctx.theme);
|
|
10262
10262
|
} }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$7, decls: 1, vars: 0, template: function DrAccordionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10263
|
-
i0.ɵɵprojectionDef(_c0$
|
|
10263
|
+
i0.ɵɵprojectionDef(_c0$g);
|
|
10264
10264
|
i0.ɵɵprojection(0);
|
|
10265
10265
|
} }, styles: ["[_nghost-%COMP%]{display:block;box-shadow:#2c33491a 0 5px 10px}.borderless[_nghost-%COMP%]{box-shadow:none}"], changeDetection: 0 }); }
|
|
10266
10266
|
}
|
|
@@ -10277,7 +10277,7 @@ class DrAccordionComponent {
|
|
|
10277
10277
|
args: ['class']
|
|
10278
10278
|
}] }); })();
|
|
10279
10279
|
|
|
10280
|
-
const _c0$
|
|
10280
|
+
const _c0$f = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
|
|
10281
10281
|
const _c1$6 = ["dr-accordion-item-header", "dr-accordion-item-body"];
|
|
10282
10282
|
class DrAccordionItemComponent {
|
|
10283
10283
|
/**
|
|
@@ -10379,7 +10379,7 @@ class DrAccordionItemComponent {
|
|
|
10379
10379
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemComponent, selectors: [["dr-accordion-item"]], hostVars: 6, hostBindings: function DrAccordionItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10380
10380
|
i0.ɵɵclassProp("collapsed", ctx.collapsed)("expanded", ctx.expanded)("disabled", ctx.disabled);
|
|
10381
10381
|
} }, inputs: { collapsed: "collapsed", expanded: "expanded", disabled: "disabled" }, outputs: { collapsedChange: "collapsedChange" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$6, decls: 2, vars: 0, template: function DrAccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10382
|
-
i0.ɵɵprojectionDef(_c0$
|
|
10382
|
+
i0.ɵɵprojectionDef(_c0$f);
|
|
10383
10383
|
i0.ɵɵprojection(0);
|
|
10384
10384
|
i0.ɵɵprojection(1, 1);
|
|
10385
10385
|
} }, 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 }); }
|
|
@@ -10421,7 +10421,7 @@ function DrAccordionItemHeaderComponent_i_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
10421
10421
|
i0.ɵɵclassMap("dr-accordion-item-header-icon " + ctx_r0.icon);
|
|
10422
10422
|
i0.ɵɵclassProp("dr-accordion-item-header-icon--additional-padding", ctx_r0.chevronPosition === "left");
|
|
10423
10423
|
} }
|
|
10424
|
-
const _c0$
|
|
10424
|
+
const _c0$e = function (a0) { return { rotationDegree: a0 }; };
|
|
10425
10425
|
const _c1$5 = function (a0, a1) { return { value: a0, params: a1 }; };
|
|
10426
10426
|
function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
10427
10427
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
@@ -10431,7 +10431,7 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10431
10431
|
} if (rf & 2) {
|
|
10432
10432
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
10433
10433
|
i0.ɵɵclassMap(ctx_r1.chevronIconClass);
|
|
10434
|
-
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$5, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$
|
|
10434
|
+
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$5, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$e, ctx_r1.chevronRotationDegree)));
|
|
10435
10435
|
} }
|
|
10436
10436
|
const _c2$2 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
|
|
10437
10437
|
const _c3$1 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
|
|
@@ -10560,7 +10560,7 @@ class DrAccordionItemHeaderComponent {
|
|
|
10560
10560
|
args: ['keydown.enter']
|
|
10561
10561
|
}] }); })();
|
|
10562
10562
|
|
|
10563
|
-
const _c0$
|
|
10563
|
+
const _c0$d = function (a0) { return { value: a0 }; };
|
|
10564
10564
|
const _c1$4 = ["*"];
|
|
10565
10565
|
const accordionItemBodyTrigger = trigger('accordionItemBody', [
|
|
10566
10566
|
state('collapsed', style({
|
|
@@ -10598,7 +10598,7 @@ class DrAccordionItemBodyComponent {
|
|
|
10598
10598
|
i0.ɵɵprojection(2);
|
|
10599
10599
|
i0.ɵɵelementEnd()();
|
|
10600
10600
|
} if (rf & 2) {
|
|
10601
|
-
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$
|
|
10601
|
+
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$d, ctx.state));
|
|
10602
10602
|
} }, styles: [".item-body[_ngcontent-%COMP%]{flex:1;-ms-flex:1 1 auto;overflow:auto;position:relative}"], data: { animation: [accordionItemBodyTrigger] }, changeDetection: 0 }); }
|
|
10603
10603
|
}
|
|
10604
10604
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAccordionItemBodyComponent, [{
|
|
@@ -10614,13 +10614,13 @@ class DrAccordionItemBodyComponent {
|
|
|
10614
10614
|
type: Host
|
|
10615
10615
|
}] }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
10616
10616
|
|
|
10617
|
-
const _c0$
|
|
10617
|
+
const _c0$c = [[["dr-layout-header"]], [["dr-layout-body"]]];
|
|
10618
10618
|
const _c1$3 = ["dr-layout-header", "dr-layout-body"];
|
|
10619
10619
|
class DrLayoutComponent {
|
|
10620
10620
|
constructor() { }
|
|
10621
10621
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutComponent_Factory(t) { return new (t || DrLayoutComponent)(); }; }
|
|
10622
10622
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutComponent, selectors: [["dr-layout"]], ngContentSelectors: _c1$3, 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) {
|
|
10623
|
-
i0.ɵɵprojectionDef(_c0$
|
|
10623
|
+
i0.ɵɵprojectionDef(_c0$c);
|
|
10624
10624
|
i0.ɵɵelementStart(0, "div", 0);
|
|
10625
10625
|
i0.ɵɵprojection(1);
|
|
10626
10626
|
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3);
|
|
@@ -10633,11 +10633,11 @@ class DrLayoutComponent {
|
|
|
10633
10633
|
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"] }]
|
|
10634
10634
|
}], function () { return []; }, null); })();
|
|
10635
10635
|
|
|
10636
|
-
const _c0$
|
|
10636
|
+
const _c0$b = ["*"];
|
|
10637
10637
|
class DrLayoutHeaderComponent {
|
|
10638
10638
|
constructor() { }
|
|
10639
10639
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutHeaderComponent_Factory(t) { return new (t || DrLayoutHeaderComponent)(); }; }
|
|
10640
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$
|
|
10640
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$b, decls: 2, vars: 0, template: function DrLayoutHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10641
10641
|
i0.ɵɵprojectionDef();
|
|
10642
10642
|
i0.ɵɵelementStart(0, "nav");
|
|
10643
10643
|
i0.ɵɵprojection(1);
|
|
@@ -10656,11 +10656,11 @@ class DrLayoutHeaderComponent {
|
|
|
10656
10656
|
}]
|
|
10657
10657
|
}], function () { return []; }, null); })();
|
|
10658
10658
|
|
|
10659
|
-
const _c0$
|
|
10659
|
+
const _c0$a = ["*"];
|
|
10660
10660
|
class DrLayoutBodyComponent {
|
|
10661
10661
|
constructor() { }
|
|
10662
10662
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutBodyComponent_Factory(t) { return new (t || DrLayoutBodyComponent)(); }; }
|
|
10663
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$
|
|
10663
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$a, decls: 1, vars: 0, template: function DrLayoutBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10664
10664
|
i0.ɵɵprojectionDef();
|
|
10665
10665
|
i0.ɵɵprojection(0);
|
|
10666
10666
|
} }, encapsulation: 2 }); }
|
|
@@ -10682,7 +10682,7 @@ function DrDetailsListComponent_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
10682
10682
|
i0.ɵɵadvance(1);
|
|
10683
10683
|
i0.ɵɵtextInterpolate(item_r1);
|
|
10684
10684
|
} }
|
|
10685
|
-
const _c0$
|
|
10685
|
+
const _c0$9 = function (a0) { return { value: a0 }; };
|
|
10686
10686
|
class DrDetailsListComponent {
|
|
10687
10687
|
set items(val) {
|
|
10688
10688
|
if (!val) {
|
|
@@ -10729,7 +10729,7 @@ class DrDetailsListComponent {
|
|
|
10729
10729
|
i0.ɵɵadvance(1);
|
|
10730
10730
|
i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
|
|
10731
10731
|
i0.ɵɵadvance(1);
|
|
10732
|
-
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$
|
|
10732
|
+
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$9, ctx.state));
|
|
10733
10733
|
i0.ɵɵadvance(1);
|
|
10734
10734
|
i0.ɵɵproperty("ngForOf", ctx.list);
|
|
10735
10735
|
} }, 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: [
|
|
@@ -10773,7 +10773,7 @@ class DrDetailsListComponent {
|
|
|
10773
10773
|
type: Input
|
|
10774
10774
|
}] }); })();
|
|
10775
10775
|
|
|
10776
|
-
const _c0$
|
|
10776
|
+
const _c0$8 = ["content"];
|
|
10777
10777
|
const _c1$2 = function (a0, a1) { return { "dr-icon-maximize": a0, "dr-icon-minimize": a1 }; };
|
|
10778
10778
|
function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
10779
10779
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
@@ -10968,7 +10968,7 @@ class DialogWrapperComponent {
|
|
|
10968
10968
|
}
|
|
10969
10969
|
/** @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)); }; }
|
|
10970
10970
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DialogWrapperComponent, selectors: [["dr-dialog-wrapper"]], viewQuery: function DialogWrapperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10971
|
-
i0.ɵɵviewQuery(_c0$
|
|
10971
|
+
i0.ɵɵviewQuery(_c0$8, 5, ViewContainerRef);
|
|
10972
10972
|
} if (rf & 2) {
|
|
10973
10973
|
let _t;
|
|
10974
10974
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
|
|
@@ -11117,7 +11117,7 @@ function DialogModalWrapperComponent_form_7_div_2_dr_select_3_Template(rf, ctx)
|
|
|
11117
11117
|
} if (rf & 2) {
|
|
11118
11118
|
const field_r11 = i0.ɵɵnextContext().$implicit;
|
|
11119
11119
|
const ctx_r13 = i0.ɵɵnextContext(2);
|
|
11120
|
-
i0.ɵɵproperty("searchable", ctx_r13.dialogData.searchable)("clearable", ctx_r13.dialogData.clearable)("formControlName", field_r11.name)("bindLabel", field_r11.bindLabel || null)("bindValue", field_r11.bindValue || null)("selectedItem", field_r11.default)("items", field_r11.items || i0.ɵɵpipeBind1(1,
|
|
11120
|
+
i0.ɵɵproperty("searchable", ctx_r13.dialogData.searchable)("clearable", ctx_r13.dialogData.clearable)("formControlName", field_r11.name)("addTag", field_r11.addTag)("bindLabel", field_r11.bindLabel || null)("bindValue", field_r11.bindValue || null)("selectedItem", field_r11.default)("items", field_r11.items || i0.ɵɵpipeBind1(1, 12, field_r11.items$))("loading", i0.ɵɵpipeBind1(2, 14, ctx_r13.fieldsItemsLoading[field_r11.name]))("required", true)("placeholder", field_r11.placeholder);
|
|
11121
11121
|
i0.ɵɵadvance(3);
|
|
11122
11122
|
i0.ɵɵproperty("ngIf", ctx_r13.dialogData == null ? null : ctx_r13.dialogData.footerTemplateData);
|
|
11123
11123
|
} }
|
|
@@ -11171,13 +11171,13 @@ function DialogModalWrapperComponent_form_7_div_2_label_9_Template(rf, ctx) { if
|
|
|
11171
11171
|
i0.ɵɵadvance(1);
|
|
11172
11172
|
i0.ɵɵtextInterpolate1(" ", ctx_r19.dialogData.serverErrorMessage, " ");
|
|
11173
11173
|
} }
|
|
11174
|
-
const _c0$
|
|
11174
|
+
const _c0$7 = function (a0) { return { display: a0 }; };
|
|
11175
11175
|
const _c1$1 = function (a0, a1) { return { "col-md-10": a0, "col-md-12": a1 }; };
|
|
11176
11176
|
function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
11177
11177
|
i0.ɵɵelementStart(0, "div", 16);
|
|
11178
11178
|
i0.ɵɵtemplate(1, DialogModalWrapperComponent_form_7_div_2_label_1_Template, 2, 2, "label", 17);
|
|
11179
11179
|
i0.ɵɵelementStart(2, "div", 18);
|
|
11180
|
-
i0.ɵɵtemplate(3, DialogModalWrapperComponent_form_7_div_2_dr_select_3_Template, 4,
|
|
11180
|
+
i0.ɵɵtemplate(3, DialogModalWrapperComponent_form_7_div_2_dr_select_3_Template, 4, 16, "dr-select", 19);
|
|
11181
11181
|
i0.ɵɵtemplate(4, DialogModalWrapperComponent_form_7_div_2_dr_input_4_Template, 1, 2, "dr-input", 20);
|
|
11182
11182
|
i0.ɵɵtemplate(5, DialogModalWrapperComponent_form_7_div_2_dr_date_picker_5_Template, 1, 3, "dr-date-picker", 21);
|
|
11183
11183
|
i0.ɵɵtemplate(6, DialogModalWrapperComponent_form_7_div_2_dr_checkbox_6_Template, 2, 2, "dr-checkbox", 22);
|
|
@@ -11189,7 +11189,7 @@ function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1
|
|
|
11189
11189
|
const field_r11 = ctx.$implicit;
|
|
11190
11190
|
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
11191
11191
|
i0.ɵɵclassMap(field_r11.formGroupClass);
|
|
11192
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$
|
|
11192
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$7, field_r11.isLabelFullWidth ? "block" : "flex"));
|
|
11193
11193
|
i0.ɵɵadvance(1);
|
|
11194
11194
|
i0.ɵɵproperty("ngIf", field_r11.label && field_r11.type !== ctx_r10.dialogFieldType.CHECKBOX);
|
|
11195
11195
|
i0.ɵɵadvance(1);
|
|
@@ -11236,7 +11236,7 @@ function DialogModalWrapperComponent_div_9_dr_button_1_Template(rf, ctx) { if (r
|
|
|
11236
11236
|
function DialogModalWrapperComponent_div_9_dr_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
11237
11237
|
const _r40 = i0.ɵɵgetCurrentView();
|
|
11238
11238
|
i0.ɵɵelementStart(0, "dr-button", 41);
|
|
11239
|
-
i0.ɵɵlistener("click", function DialogModalWrapperComponent_div_9_dr_button_2_Template_dr_button_click_0_listener() { i0.ɵɵrestoreView(_r40); const ctx_r39 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r39.
|
|
11239
|
+
i0.ɵɵlistener("click", function DialogModalWrapperComponent_div_9_dr_button_2_Template_dr_button_click_0_listener() { i0.ɵɵrestoreView(_r40); const ctx_r39 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r39.onCancel()); });
|
|
11240
11240
|
i0.ɵɵtext(1);
|
|
11241
11241
|
i0.ɵɵelementEnd();
|
|
11242
11242
|
} if (rf & 2) {
|
|
@@ -11324,6 +11324,12 @@ class DialogModalWrapperComponent {
|
|
|
11324
11324
|
onDecline() {
|
|
11325
11325
|
this.dialogRef.close(undefined);
|
|
11326
11326
|
}
|
|
11327
|
+
onCancel() {
|
|
11328
|
+
const functions = this.dialogData?.cancelButton?.functions;
|
|
11329
|
+
if (functions)
|
|
11330
|
+
functions();
|
|
11331
|
+
this.dialogRef.close(false);
|
|
11332
|
+
}
|
|
11327
11333
|
footerAction() {
|
|
11328
11334
|
this.dialogData.footerTemplateData.action(this.form.value);
|
|
11329
11335
|
}
|
|
@@ -11337,7 +11343,7 @@ class DialogModalWrapperComponent {
|
|
|
11337
11343
|
/** @nocollapse */ static { this.ɵfac = function DialogModalWrapperComponent_Factory(t) { return new (t || DialogModalWrapperComponent)(i0.ɵɵdirectiveInject(i1$6.MatLegacyDialogRef), i0.ɵɵdirectiveInject(MAT_LEGACY_DIALOG_DATA)); }; }
|
|
11338
11344
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DialogModalWrapperComponent, selectors: [["dr-dialog-modal-wrapper"]], hostVars: 2, hostBindings: function DialogModalWrapperComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
11339
11345
|
i0.ɵɵclassMap(ctx.class);
|
|
11340
|
-
} }, decls: 10, vars: 6, consts: [["header", "", 1, "header-dialog"], ["data-test", "modalTitle", 1, "title-dialog"], ["class", "title-dialog__icon", "data-test", "dialogTitleIcon", 3, "class", "click", 4, "ngIf"], [1, "title-dialog__text"], ["class", "dr-icon-exit icon-close", "data-test", "xBtn", 3, "click", 4, "ngIf"], ["class", "content-dialog", 3, "innerHTML", 4, "ngIf"], ["class", "dr-smart-from", 3, "formGroup", 4, "ngIf"], ["footer", "", 1, "footer-dialog"], ["class", "buttons-wrapper", 4, "ngIf"], ["data-test", "dialogTitleIcon", 1, "title-dialog__icon", 3, "click"], ["data-test", "xBtn", 1, "dr-icon-exit", "icon-close", 3, "click"], [1, "content-dialog", 3, "innerHTML"], [1, "content-anchor"], ["content", ""], [1, "dr-smart-from", 3, "formGroup"], ["class", "dr-smart-form_group", 3, "class", "ngStyle", 4, "ngFor", "ngForOf"], [1, "dr-smart-form_group", 3, "ngStyle"], ["class", "label p-0 d-flex align-items-center", 3, "ngClass", 4, "ngIf"], [1, "input-group", "p-0", 3, "ngClass"], [3, "searchable", "clearable", "formControlName", "bindLabel", "bindValue", "selectedItem", "items", "loading", "required", "placeholder", 4, "ngIf"], ["data-test", "modalInput", "class", "form-control", 3, "formControlName", "placeholder", 4, "ngIf"], [3, "formControlName", "format", "placeholder", 4, "ngIf"], [3, "formControlName", 4, "ngIf"], ["class", "form-field-error-alert", 4, "ngIf"], ["class", "form-error-alert", 4, "ngIf"], [1, "label", "p-0", "d-flex", "align-items-center", 3, "ngClass"], [3, "searchable", "clearable", "formControlName", "bindLabel", "bindValue", "selectedItem", "items", "loading", "required", "placeholder"], [4, "ngIf"], ["optionFooterTemplate", ""], [1, "dr-select-footer__btn", 3, "click"], [3, "class", 4, "ngIf"], ["data-test", "modalInput", 1, "form-control", 3, "formControlName", "placeholder"], [3, "formControlName", "format", "placeholder"], [3, "formControlName"], [1, "form-field-error-alert"], [1, "form-error-alert"], [1, "buttons-wrapper"], ["class", "buttons-wrapper--custom-btn", "data-test", "declineBtn", 3, "theme", "click", 4, "ngIf"], ["data-test", "modalCloseBtn", 3, "theme", "click", 4, "ngIf"], ["data-test", "modalAddBtn", 3, "theme", "isLoading", "disabled", "click", 4, "ngIf"], ["data-test", "declineBtn", 1, "buttons-wrapper--custom-btn", 3, "theme", "click"], ["data-test", "modalCloseBtn", 3, "theme", "click"], ["data-test", "modalAddBtn", 3, "theme", "isLoading", "disabled", "click"]], template: function DialogModalWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11346
|
+
} }, decls: 10, vars: 6, consts: [["header", "", 1, "header-dialog"], ["data-test", "modalTitle", 1, "title-dialog"], ["class", "title-dialog__icon", "data-test", "dialogTitleIcon", 3, "class", "click", 4, "ngIf"], [1, "title-dialog__text"], ["class", "dr-icon-exit icon-close", "data-test", "xBtn", 3, "click", 4, "ngIf"], ["class", "content-dialog", 3, "innerHTML", 4, "ngIf"], ["class", "dr-smart-from", 3, "formGroup", 4, "ngIf"], ["footer", "", 1, "footer-dialog"], ["class", "buttons-wrapper", 4, "ngIf"], ["data-test", "dialogTitleIcon", 1, "title-dialog__icon", 3, "click"], ["data-test", "xBtn", 1, "dr-icon-exit", "icon-close", 3, "click"], [1, "content-dialog", 3, "innerHTML"], [1, "content-anchor"], ["content", ""], [1, "dr-smart-from", 3, "formGroup"], ["class", "dr-smart-form_group", 3, "class", "ngStyle", 4, "ngFor", "ngForOf"], [1, "dr-smart-form_group", 3, "ngStyle"], ["class", "label p-0 d-flex align-items-center", 3, "ngClass", 4, "ngIf"], [1, "input-group", "p-0", 3, "ngClass"], [3, "searchable", "clearable", "formControlName", "addTag", "bindLabel", "bindValue", "selectedItem", "items", "loading", "required", "placeholder", 4, "ngIf"], ["data-test", "modalInput", "class", "form-control", 3, "formControlName", "placeholder", 4, "ngIf"], [3, "formControlName", "format", "placeholder", 4, "ngIf"], [3, "formControlName", 4, "ngIf"], ["class", "form-field-error-alert", 4, "ngIf"], ["class", "form-error-alert", 4, "ngIf"], [1, "label", "p-0", "d-flex", "align-items-center", 3, "ngClass"], [3, "searchable", "clearable", "formControlName", "addTag", "bindLabel", "bindValue", "selectedItem", "items", "loading", "required", "placeholder"], [4, "ngIf"], ["optionFooterTemplate", ""], [1, "dr-select-footer__btn", 3, "click"], [3, "class", 4, "ngIf"], ["data-test", "modalInput", 1, "form-control", 3, "formControlName", "placeholder"], [3, "formControlName", "format", "placeholder"], [3, "formControlName"], [1, "form-field-error-alert"], [1, "form-error-alert"], [1, "buttons-wrapper"], ["class", "buttons-wrapper--custom-btn", "data-test", "declineBtn", 3, "theme", "click", 4, "ngIf"], ["data-test", "modalCloseBtn", 3, "theme", "click", 4, "ngIf"], ["data-test", "modalAddBtn", 3, "theme", "isLoading", "disabled", "click", 4, "ngIf"], ["data-test", "declineBtn", 1, "buttons-wrapper--custom-btn", 3, "theme", "click"], ["data-test", "modalCloseBtn", 3, "theme", "click"], ["data-test", "modalAddBtn", 3, "theme", "isLoading", "disabled", "click"]], template: function DialogModalWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11341
11347
|
i0.ɵɵelementStart(0, "div", 0)(1, "h1", 1);
|
|
11342
11348
|
i0.ɵɵtemplate(2, DialogModalWrapperComponent_i_2_Template, 1, 2, "i", 2);
|
|
11343
11349
|
i0.ɵɵelementStart(3, "span", 3);
|
|
@@ -11367,7 +11373,7 @@ class DialogModalWrapperComponent {
|
|
|
11367
11373
|
}
|
|
11368
11374
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogModalWrapperComponent, [{
|
|
11369
11375
|
type: Component,
|
|
11370
|
-
args: [{ selector: 'dr-dialog-modal-wrapper', template: "<div header class=\"header-dialog\">\n <h1 class=\"title-dialog\" data-test=\"modalTitle\">\n <i\n *ngIf=\"dialogData.headerIconClass\"\n (click)=\"closeDialog()\"\n class=\"title-dialog__icon\"\n [class]=\"dialogData.headerIconClass\"\n data-test=\"dialogTitleIcon\"></i>\n <span class=\"title-dialog__text\">{{ dialogData.title }}</span>\n </h1>\n <i *ngIf=\"!dialogData.hideCloseBtn\" (click)=\"closeDialog()\" class=\"dr-icon-exit icon-close\" data-test=\"xBtn\"></i>\n</div>\n<div *ngIf=\"dialogData.content\" class=\"content-dialog\" [innerHTML]=\"dialogData.content\">\n <span #content class=\"content-anchor\"></span>\n</div>\n<form *ngIf=\"dialogData.fields\" [formGroup]=\"form\" class=\"dr-smart-from\">\n <div [class]=\"dialogData.formWrapperClass || 'dr-smart-form_wrapper'\">\n <div\n *ngFor=\"let field of dialogData.fields\"\n class=\"dr-smart-form_group\"\n [class]=\"field.formGroupClass\"\n [ngStyle]=\"{ display: field.isLabelFullWidth ? 'block' : 'flex' }\">\n <label\n *ngIf=\"field.label && field.type !== dialogFieldType.CHECKBOX\"\n [ngClass]=\"field.isLabelFullWidth ? 'col-md-12 mb-2' : 'col-md-2'\"\n class=\"label p-0 d-flex align-items-center\"\n >{{ field.label }}</label\n >\n <div\n class=\"input-group p-0\"\n [ngClass]=\"{\n 'col-md-10': field.label && !field.isLabelFullWidth,\n 'col-md-12': !field.label || field.isLabelFullWidth,\n }\">\n <dr-select\n *ngIf=\"field.type === dialogFieldType.SELECT\"\n [searchable]=\"dialogData.searchable\"\n [clearable]=\"dialogData.clearable\"\n [formControlName]=\"field.name\"\n [bindLabel]=\"field.bindLabel || null\"\n [bindValue]=\"field.bindValue || null\"\n [selectedItem]=\"field.default\"\n [items]=\"field.items || (field.items$ | async)\"\n [loading]=\"fieldsItemsLoading[field.name] | async\"\n [required]=\"true\"\n [placeholder]=\"field.placeholder\">\n <ng-template *ngIf=\"dialogData?.footerTemplateData\" #optionFooterTemplate let-item=\"item\" let-close=\"close\">\n <button (click)=\"footerAction(); close()\" class=\"dr-select-footer__btn\">\n <i *ngIf=\"dialogData.footerTemplateData.icon\" class=\"{{ dialogData.footerTemplateData.icon }}\"></i>\n {{ dialogData.footerTemplateData.label }}\n </button>\n </ng-template>\n </dr-select>\n <dr-input\n *ngIf=\"field.type === dialogFieldType.INPUT\"\n data-test=\"modalInput\"\n class=\"form-control\"\n [formControlName]=\"field.name\"\n [placeholder]=\"field.placeholder\"></dr-input>\n <dr-date-picker\n *ngIf=\"field.type === dialogFieldType.DATE_PICKER\"\n [formControlName]=\"field.name\"\n [format]=\"field.datePickerFormat\"\n [placeholder]=\"field.placeholder\"></dr-date-picker>\n <dr-checkbox *ngIf=\"field.type === dialogFieldType.CHECKBOX\" [formControlName]=\"field.name\">\n {{ field.label }}\n </dr-checkbox>\n <label\n class=\"form-field-error-alert\"\n *ngIf=\"form.invalid && form.controls[field.name]?.dirty && form.controls[field.name]?.errors\">\n {{ form.controls[field.name].errors.errorString }}\n </label>\n <label class=\"form-error-alert\" *ngIf=\"dialogData.errorMessage && !form.pristine && form.invalid\">\n {{ dialogData.errorMessage }}\n </label>\n <label class=\"form-error-alert\" *ngIf=\"form.valid && showServerErrorMessage && dialogData.serverErrorMessage\">\n {{ dialogData.serverErrorMessage }}\n </label>\n </div>\n </div>\n </div>\n</form>\n\n<div footer class=\"footer-dialog\">\n <div class=\"buttons-wrapper\" *ngIf=\"dialogData.cancelButton || dialogData.acceptButton\">\n <dr-button\n (click)=\"onDecline()\"\n *ngIf=\"dialogData.customButton\"\n [theme]=\"dialogData.customButton?.theme || 'secondary'\"\n class=\"buttons-wrapper--custom-btn\"\n data-test=\"declineBtn\"\n >{{ dialogData.customButton.label }}</dr-button\n >\n <dr-button *ngIf=\"dialogData.cancelButton\" data-test=\"modalCloseBtn\" (click)=\"
|
|
11376
|
+
args: [{ selector: 'dr-dialog-modal-wrapper', template: "<div header class=\"header-dialog\">\n <h1 class=\"title-dialog\" data-test=\"modalTitle\">\n <i\n *ngIf=\"dialogData.headerIconClass\"\n (click)=\"closeDialog()\"\n class=\"title-dialog__icon\"\n [class]=\"dialogData.headerIconClass\"\n data-test=\"dialogTitleIcon\"></i>\n <span class=\"title-dialog__text\">{{ dialogData.title }}</span>\n </h1>\n <i *ngIf=\"!dialogData.hideCloseBtn\" (click)=\"closeDialog()\" class=\"dr-icon-exit icon-close\" data-test=\"xBtn\"></i>\n</div>\n<div *ngIf=\"dialogData.content\" class=\"content-dialog\" [innerHTML]=\"dialogData.content\">\n <span #content class=\"content-anchor\"></span>\n</div>\n<form *ngIf=\"dialogData.fields\" [formGroup]=\"form\" class=\"dr-smart-from\">\n <div [class]=\"dialogData.formWrapperClass || 'dr-smart-form_wrapper'\">\n <div\n *ngFor=\"let field of dialogData.fields\"\n class=\"dr-smart-form_group\"\n [class]=\"field.formGroupClass\"\n [ngStyle]=\"{ display: field.isLabelFullWidth ? 'block' : 'flex' }\">\n <label\n *ngIf=\"field.label && field.type !== dialogFieldType.CHECKBOX\"\n [ngClass]=\"field.isLabelFullWidth ? 'col-md-12 mb-2' : 'col-md-2'\"\n class=\"label p-0 d-flex align-items-center\"\n >{{ field.label }}</label\n >\n <div\n class=\"input-group p-0\"\n [ngClass]=\"{\n 'col-md-10': field.label && !field.isLabelFullWidth,\n 'col-md-12': !field.label || field.isLabelFullWidth,\n }\">\n <dr-select\n *ngIf=\"field.type === dialogFieldType.SELECT\"\n [searchable]=\"dialogData.searchable\"\n [clearable]=\"dialogData.clearable\"\n [formControlName]=\"field.name\"\n [addTag]=\"field.addTag\"\n [bindLabel]=\"field.bindLabel || null\"\n [bindValue]=\"field.bindValue || null\"\n [selectedItem]=\"field.default\"\n [items]=\"field.items || (field.items$ | async)\"\n [loading]=\"fieldsItemsLoading[field.name] | async\"\n [required]=\"true\"\n [placeholder]=\"field.placeholder\">\n <ng-template *ngIf=\"dialogData?.footerTemplateData\" #optionFooterTemplate let-item=\"item\" let-close=\"close\">\n <button (click)=\"footerAction(); close()\" class=\"dr-select-footer__btn\">\n <i *ngIf=\"dialogData.footerTemplateData.icon\" class=\"{{ dialogData.footerTemplateData.icon }}\"></i>\n {{ dialogData.footerTemplateData.label }}\n </button>\n </ng-template>\n </dr-select>\n <dr-input\n *ngIf=\"field.type === dialogFieldType.INPUT\"\n data-test=\"modalInput\"\n class=\"form-control\"\n [formControlName]=\"field.name\"\n [placeholder]=\"field.placeholder\"></dr-input>\n <dr-date-picker\n *ngIf=\"field.type === dialogFieldType.DATE_PICKER\"\n [formControlName]=\"field.name\"\n [format]=\"field.datePickerFormat\"\n [placeholder]=\"field.placeholder\"></dr-date-picker>\n <dr-checkbox *ngIf=\"field.type === dialogFieldType.CHECKBOX\" [formControlName]=\"field.name\">\n {{ field.label }}\n </dr-checkbox>\n <label\n class=\"form-field-error-alert\"\n *ngIf=\"form.invalid && form.controls[field.name]?.dirty && form.controls[field.name]?.errors\">\n {{ form.controls[field.name].errors.errorString }}\n </label>\n <label class=\"form-error-alert\" *ngIf=\"dialogData.errorMessage && !form.pristine && form.invalid\">\n {{ dialogData.errorMessage }}\n </label>\n <label class=\"form-error-alert\" *ngIf=\"form.valid && showServerErrorMessage && dialogData.serverErrorMessage\">\n {{ dialogData.serverErrorMessage }}\n </label>\n </div>\n </div>\n </div>\n</form>\n\n<div footer class=\"footer-dialog\">\n <div class=\"buttons-wrapper\" *ngIf=\"dialogData.cancelButton || dialogData.acceptButton\">\n <dr-button\n (click)=\"onDecline()\"\n *ngIf=\"dialogData.customButton\"\n [theme]=\"dialogData.customButton?.theme || 'secondary'\"\n class=\"buttons-wrapper--custom-btn\"\n data-test=\"declineBtn\"\n >{{ dialogData.customButton.label }}</dr-button\n >\n <dr-button *ngIf=\"dialogData.cancelButton\" data-test=\"modalCloseBtn\" (click)=\"onCancel()\" [theme]=\"'secondary'\">{{\n dialogData.cancelButton.label\n }}</dr-button>\n <dr-button\n *ngIf=\"dialogData.acceptButton\"\n data-test=\"modalAddBtn\"\n (click)=\"onAccept()\"\n [theme]=\"'primary'\"\n [isLoading]=\"isLoading\"\n [disabled]=\"form.invalid\"\n >{{ dialogData.acceptButton.label }}</dr-button\n >\n </div>\n</div>\n", styles: [":host{display:flex;justify-content:space-between;flex-direction:column}:host.small-modal,:host.small-modal-max-height{min-height:188px;max-height:467px;min-width:400px;max-width:400px}:host.medium-modal,:host.medium-modal-max-height{min-height:188px;max-height:467px;min-width:632px;max-width:632px}:host.medium-small-modal{min-height:188px;max-height:345px;min-width:460px;max-width:460px}:host.medium-modal-max-height,:host.small-modal-max-height{max-height:80vh}.header-dialog{position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 56px 16px 32px;border-bottom:1px solid #dfe0e3}.header-dialog>.icon-close{position:absolute;right:32px;top:16px;cursor:pointer}.title-dialog{display:flex;color:#333;position:static;font-weight:600;font-size:16px;line-height:24px;margin-top:0;margin-bottom:0}.title-dialog__icon{font-size:32px;margin-right:8px;line-height:24px;color:#6d6e6f}.content-dialog{font-weight:400;font-size:14px;padding:16px 32px 5px;white-space:pre-line;overflow:auto}.icon-close{color:#6d6e6f;cursor:pointer}.dr-smart-from{font-size:14px;font-weight:400;line-height:22px;padding:8px 32px 24px}.dr-smart-from dr-checkbox{font-weight:400}.content-dialog{padding:16px 32px 0;font-weight:400;font-size:14px;line-height:22px}.content-anchor{display:none}.footer-dialog{border-top:1px solid #dfe0e3}.buttons-wrapper{display:flex;justify-content:flex-end;padding:10px 32px 11px}.buttons-wrapper dr-button:nth-of-type(n+2){margin-left:12px}.buttons-wrapper--custom-btn{margin-right:auto}.form-field-error-alert{font-size:12px;color:#bf1d30;line-height:20px}.form-error-alert{position:absolute;margin-top:5px;font-size:12px;color:#bf1d30}.dr-select-footer__btn{background-color:transparent;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;min-width:15rem;font-style:normal;font-weight:400;font-size:14px;line-height:24px;clear:both;width:100%;white-space:nowrap;padding:0 12px;height:36px;flex-shrink:0}\n"] }]
|
|
11371
11377
|
}], function () { return [{ type: i1$6.MatLegacyDialogRef }, { type: undefined, decorators: [{
|
|
11372
11378
|
type: Inject,
|
|
11373
11379
|
args: [MAT_LEGACY_DIALOG_DATA]
|
|
@@ -11882,7 +11888,7 @@ function TreeviewItemComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
11882
11888
|
i0.ɵɵadvance(1);
|
|
11883
11889
|
i0.ɵɵproperty("ngForOf", ctx_r2.item.children);
|
|
11884
11890
|
} }
|
|
11885
|
-
const _c0$
|
|
11891
|
+
const _c0$6 = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
|
|
11886
11892
|
function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
11887
11893
|
i0.ɵɵelementStart(0, "div", 1);
|
|
11888
11894
|
i0.ɵɵtemplate(1, TreeviewItemComponent_div_0_ng_template_1_Template, 0, 0, "ng-template", 2);
|
|
@@ -11891,7 +11897,7 @@ function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
11891
11897
|
} if (rf & 2) {
|
|
11892
11898
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
11893
11899
|
i0.ɵɵadvance(1);
|
|
11894
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$
|
|
11900
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$6, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
|
|
11895
11901
|
i0.ɵɵadvance(1);
|
|
11896
11902
|
i0.ɵɵproperty("ngIf", !ctx_r0.item.collapsed);
|
|
11897
11903
|
} }
|
|
@@ -13180,7 +13186,7 @@ class DrImageCropperCanvasService {
|
|
|
13180
13186
|
type: Injectable
|
|
13181
13187
|
}], null, null); })();
|
|
13182
13188
|
|
|
13183
|
-
const _c0$
|
|
13189
|
+
const _c0$5 = ["imageCanvas"];
|
|
13184
13190
|
class DrImageCropperComponent {
|
|
13185
13191
|
constructor(canvasService) {
|
|
13186
13192
|
this.canvasService = canvasService;
|
|
@@ -13238,7 +13244,7 @@ class DrImageCropperComponent {
|
|
|
13238
13244
|
}
|
|
13239
13245
|
/** @nocollapse */ static { this.ɵfac = function DrImageCropperComponent_Factory(t) { return new (t || DrImageCropperComponent)(i0.ɵɵdirectiveInject(DrImageCropperCanvasService)); }; }
|
|
13240
13246
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrImageCropperComponent, selectors: [["dr-image-cropper"]], viewQuery: function DrImageCropperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13241
|
-
i0.ɵɵviewQuery(_c0$
|
|
13247
|
+
i0.ɵɵviewQuery(_c0$5, 7);
|
|
13242
13248
|
} if (rf & 2) {
|
|
13243
13249
|
let _t;
|
|
13244
13250
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.canvasElement = _t.first);
|
|
@@ -13681,13 +13687,13 @@ function DrChipComponent_i_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13681
13687
|
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)); });
|
|
13682
13688
|
i0.ɵɵelementEnd();
|
|
13683
13689
|
} }
|
|
13684
|
-
const _c0$
|
|
13690
|
+
const _c0$4 = ["*"];
|
|
13685
13691
|
class DrChipComponent {
|
|
13686
13692
|
constructor() {
|
|
13687
13693
|
this.remove = new EventEmitter();
|
|
13688
13694
|
}
|
|
13689
13695
|
/** @nocollapse */ static { this.ɵfac = function DrChipComponent_Factory(t) { return new (t || DrChipComponent)(); }; }
|
|
13690
|
-
/** @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$
|
|
13696
|
+
/** @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$4, 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) {
|
|
13691
13697
|
i0.ɵɵprojectionDef();
|
|
13692
13698
|
i0.ɵɵtemplate(0, DrChipComponent_i_0_Template, 1, 2, "i", 0);
|
|
13693
13699
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -13718,7 +13724,7 @@ class DrChipComponent {
|
|
|
13718
13724
|
type: Output
|
|
13719
13725
|
}] }); })();
|
|
13720
13726
|
|
|
13721
|
-
const _c0$
|
|
13727
|
+
const _c0$3 = ["carouselContainer"];
|
|
13722
13728
|
const _c1 = ["carouselItem"];
|
|
13723
13729
|
function DrGalleryComponent_dr_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
13724
13730
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -13944,7 +13950,7 @@ class DrGalleryComponent {
|
|
|
13944
13950
|
let _t;
|
|
13945
13951
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
|
|
13946
13952
|
} }, viewQuery: function DrGalleryComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13947
|
-
i0.ɵɵviewQuery(_c0$
|
|
13953
|
+
i0.ɵɵviewQuery(_c0$3, 5);
|
|
13948
13954
|
i0.ɵɵviewQuery(_c1, 5);
|
|
13949
13955
|
} if (rf & 2) {
|
|
13950
13956
|
let _t;
|
|
@@ -14006,7 +14012,7 @@ function DrProgressBarComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14006
14012
|
i0.ɵɵadvance(1);
|
|
14007
14013
|
i0.ɵɵtextInterpolate1("", ctx_r0.progress || 0, "%");
|
|
14008
14014
|
} }
|
|
14009
|
-
const _c0$
|
|
14015
|
+
const _c0$2 = ["*"];
|
|
14010
14016
|
class DrProgressBarComponent {
|
|
14011
14017
|
constructor() {
|
|
14012
14018
|
/**
|
|
@@ -14015,7 +14021,7 @@ class DrProgressBarComponent {
|
|
|
14015
14021
|
this.showValue = true;
|
|
14016
14022
|
}
|
|
14017
14023
|
/** @nocollapse */ static { this.ɵfac = function DrProgressBarComponent_Factory(t) { return new (t || DrProgressBarComponent)(); }; }
|
|
14018
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrProgressBarComponent, selectors: [["dr-progress-bar"]], inputs: { progress: "progress", showValue: "showValue" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
14024
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrProgressBarComponent, selectors: [["dr-progress-bar"]], inputs: { progress: "progress", showValue: "showValue" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$2, 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) {
|
|
14019
14025
|
i0.ɵɵprojectionDef();
|
|
14020
14026
|
i0.ɵɵelementStart(0, "div", 0);
|
|
14021
14027
|
i0.ɵɵelement(1, "div", 1);
|
|
@@ -14107,7 +14113,7 @@ class BottomPositionStrategy {
|
|
|
14107
14113
|
}
|
|
14108
14114
|
}
|
|
14109
14115
|
|
|
14110
|
-
const _c0 = ["handleRef"];
|
|
14116
|
+
const _c0$1 = ["handleRef"];
|
|
14111
14117
|
function DrawerContainer_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14112
14118
|
i0.ɵɵelement(0, "div", 3, 4);
|
|
14113
14119
|
} }
|
|
@@ -14221,7 +14227,7 @@ class DrawerContainer extends CdkDialogContainer {
|
|
|
14221
14227
|
/** @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)); }; }
|
|
14222
14228
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrawerContainer, selectors: [["dr-drawer-container"]], viewQuery: function DrawerContainer_Query(rf, ctx) { if (rf & 1) {
|
|
14223
14229
|
i0.ɵɵviewQuery(CdkPortalOutlet, 7);
|
|
14224
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
14230
|
+
i0.ɵɵviewQuery(_c0$1, 5);
|
|
14225
14231
|
} if (rf & 2) {
|
|
14226
14232
|
let _t;
|
|
14227
14233
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._portalOutlet = _t.first);
|
|
@@ -14515,11 +14521,84 @@ class DrawerModule {
|
|
|
14515
14521
|
}], null, null); })();
|
|
14516
14522
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { imports: [DrawerContainer], exports: [DrawerContainer] }); })();
|
|
14517
14523
|
|
|
14524
|
+
class ElementOverflowDirective {
|
|
14525
|
+
get isOverflow() {
|
|
14526
|
+
return ((['horizontal', 'all'].includes(this.drElementOverflowType) &&
|
|
14527
|
+
this.el.nativeElement.scrollWidth > this.el.nativeElement.clientWidth) ||
|
|
14528
|
+
(['vertical', 'all'].includes(this.drElementOverflowType) &&
|
|
14529
|
+
this.el.nativeElement.scrollHeight > this.el.nativeElement.clientHeight));
|
|
14530
|
+
}
|
|
14531
|
+
constructor() {
|
|
14532
|
+
this.drElementOverflowChange = new EventEmitter();
|
|
14533
|
+
this.drElementOverflowType = 'all';
|
|
14534
|
+
this.destroy$ = new Subject();
|
|
14535
|
+
this.el = inject(ElementRef);
|
|
14536
|
+
inject(DestroyRef).onDestroy(() => {
|
|
14537
|
+
this.destroy$.next();
|
|
14538
|
+
this.destroy$.complete();
|
|
14539
|
+
});
|
|
14540
|
+
}
|
|
14541
|
+
ngOnInit() {
|
|
14542
|
+
fromEvent(window, 'resize')
|
|
14543
|
+
.pipe(startWith(null), throttleTime(200, undefined, { leading: true, trailing: true }), takeUntil(this.destroy$), observeOn(asyncScheduler))
|
|
14544
|
+
.subscribe(() => {
|
|
14545
|
+
if (this.drElementOverflow !== this.isOverflow) {
|
|
14546
|
+
this.drElementOverflow = this.isOverflow;
|
|
14547
|
+
this.drElementOverflowChange.emit(this.isOverflow);
|
|
14548
|
+
}
|
|
14549
|
+
});
|
|
14550
|
+
}
|
|
14551
|
+
/** @nocollapse */ static { this.ɵfac = function ElementOverflowDirective_Factory(t) { return new (t || ElementOverflowDirective)(); }; }
|
|
14552
|
+
/** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: ElementOverflowDirective, selectors: [["", "drElementOverflow", ""]], inputs: { drElementOverflow: "drElementOverflow", drElementOverflowType: "drElementOverflowType" }, outputs: { drElementOverflowChange: "drElementOverflowChange" }, exportAs: ["textOverflow"], standalone: true }); }
|
|
14553
|
+
}
|
|
14554
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ElementOverflowDirective, [{
|
|
14555
|
+
type: Directive,
|
|
14556
|
+
args: [{
|
|
14557
|
+
selector: '[drElementOverflow]',
|
|
14558
|
+
standalone: true,
|
|
14559
|
+
exportAs: 'textOverflow',
|
|
14560
|
+
}]
|
|
14561
|
+
}], function () { return []; }, { drElementOverflow: [{
|
|
14562
|
+
type: Input
|
|
14563
|
+
}], drElementOverflowChange: [{
|
|
14564
|
+
type: Output
|
|
14565
|
+
}], drElementOverflowType: [{
|
|
14566
|
+
type: Input
|
|
14567
|
+
}] }); })();
|
|
14568
|
+
|
|
14569
|
+
const _c0 = ["*"];
|
|
14570
|
+
class TextOverflowComponent {
|
|
14571
|
+
constructor() {
|
|
14572
|
+
this.overflowType = 'horizontal';
|
|
14573
|
+
this.showTooltip = true;
|
|
14574
|
+
this.isOverflow = false;
|
|
14575
|
+
}
|
|
14576
|
+
/** @nocollapse */ static { this.ɵfac = function TextOverflowComponent_Factory(t) { return new (t || TextOverflowComponent)(); }; }
|
|
14577
|
+
/** @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, decls: 3, vars: 3, consts: [[1, "overflow-element", 3, "drElementOverflow", "drElementOverflowType", "drTooltip", "drElementOverflowChange"], ["el", ""]], template: function TextOverflowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14578
|
+
i0.ɵɵprojectionDef();
|
|
14579
|
+
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
14580
|
+
i0.ɵɵlistener("drElementOverflowChange", function TextOverflowComponent_Template_div_drElementOverflowChange_0_listener($event) { return ctx.isOverflow = $event; });
|
|
14581
|
+
i0.ɵɵprojection(2);
|
|
14582
|
+
i0.ɵɵelementEnd();
|
|
14583
|
+
} if (rf & 2) {
|
|
14584
|
+
const _r0 = i0.ɵɵreference(1);
|
|
14585
|
+
i0.ɵɵproperty("drElementOverflow", ctx.isOverflow)("drElementOverflowType", ctx.overflowType)("drTooltip", ctx.showTooltip && ctx.isOverflow && _r0.innerText);
|
|
14586
|
+
} }, 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 }); }
|
|
14587
|
+
}
|
|
14588
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextOverflowComponent, [{
|
|
14589
|
+
type: Component,
|
|
14590
|
+
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"] }]
|
|
14591
|
+
}], null, { overflowType: [{
|
|
14592
|
+
type: Input
|
|
14593
|
+
}], showTooltip: [{
|
|
14594
|
+
type: Input
|
|
14595
|
+
}] }); })();
|
|
14596
|
+
|
|
14518
14597
|
/* components */
|
|
14519
14598
|
|
|
14520
14599
|
/**
|
|
14521
14600
|
* Generated bundle index. Do not edit.
|
|
14522
14601
|
*/
|
|
14523
14602
|
|
|
14524
|
-
export { AnyTagComponent, 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, DayTagComponent, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, 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, FeedbackSentiment, FilterPipe, FiscalMonthAdapter, ForecastTagComponent, ForecastTagService, ICodeEditorHintIcon, IMAGE_TYPES, ImgPipe, LetContext, LetDirective, LinkTheme, ListTagComponent, ListTagModule, MonthTagComponent, OrderDownlineTreeviewEventParser, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, StepperComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth, TooltipPosition, TooltipTheme, TrackByPropertyDirective, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, WeekTagComponent, YearTagComponent };
|
|
14603
|
+
export { AnyTagComponent, 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, DayTagComponent, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, 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, FilterPipe, FiscalMonthAdapter, ForecastTagComponent, ForecastTagService, ICodeEditorHintIcon, IMAGE_TYPES, ImgPipe, LetContext, LetDirective, LinkTheme, ListTagComponent, ListTagModule, MonthTagComponent, OrderDownlineTreeviewEventParser, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, StepperComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TextOverflowComponent, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth, TooltipPosition, TooltipTheme, TrackByPropertyDirective, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, WeekTagComponent, YearTagComponent };
|
|
14525
14604
|
//# sourceMappingURL=datarailsshared-datarailsshared.mjs.map
|