@datarailsshared/datarailsshared 1.6.95 → 1.6.99
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.99.tgz +0 -0
- package/esm2022/lib/stepper/stepper.component.mjs +127 -101
- 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 +297 -198
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/stepper/stepper.component.d.ts +3 -2
- 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.95.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) {
|
|
@@ -1111,7 +1111,7 @@ function DrInputComponent_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
1111
1111
|
i0.ɵɵtextInterpolate1(" ", ctx_r5._buttonOptions.text, "\n");
|
|
1112
1112
|
} }
|
|
1113
1113
|
const _c3$7 = [[["", "prefixIcon", ""]], [["", "suffixIcon", ""]]];
|
|
1114
|
-
const _c4$
|
|
1114
|
+
const _c4$5 = ["[prefixIcon]", "[suffixIcon]"];
|
|
1115
1115
|
class DrInputComponent {
|
|
1116
1116
|
set disabled(value) {
|
|
1117
1117
|
this.setDisabledState(value);
|
|
@@ -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;
|
|
@@ -1296,7 +1296,7 @@ class DrInputComponent {
|
|
|
1296
1296
|
useExisting: forwardRef((() => DrInputComponent)),
|
|
1297
1297
|
multi: true,
|
|
1298
1298
|
},
|
|
1299
|
-
])], ngContentSelectors: _c4$
|
|
1299
|
+
])], ngContentSelectors: _c4$5, decls: 8, vars: 5, consts: [[4, "ngIf", "ngIfElse"], ["maskedInput", ""], ["class", "clear-icon", 3, "click", 4, "ngIf"], ["class", "search-icon", 3, "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], ["inputRef", ""], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "mask", "suffix", "prefix", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], [1, "clear-icon", 3, "click"], [1, "search-icon", 3, "click"], [3, "click"]], template: function DrInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1300
1300
|
i0.ɵɵprojectionDef(_c3$7);
|
|
1301
1301
|
i0.ɵɵprojection(0);
|
|
1302
1302
|
i0.ɵɵtemplate(1, DrInputComponent_ng_container_1_Template, 3, 12, "ng-container", 0);
|
|
@@ -1398,18 +1398,18 @@ 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"];
|
|
1405
|
-
const _c4$
|
|
1406
|
-
const _c5$
|
|
1405
|
+
const _c4$4 = ["optionFooterTemplate"];
|
|
1406
|
+
const _c5$2 = function (a0) { return { item: a0 }; };
|
|
1407
1407
|
function DrSelectComponent_2_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1408
1408
|
i0.ɵɵelementContainer(0, 6);
|
|
1409
1409
|
} if (rf & 2) {
|
|
1410
1410
|
const item_r12 = ctx.item;
|
|
1411
1411
|
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
1412
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r11.optionHeaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5$
|
|
1412
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r11.optionHeaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5$2, item_r12));
|
|
1413
1413
|
} }
|
|
1414
1414
|
function DrSelectComponent_2_Template(rf, ctx) { if (rf & 1) {
|
|
1415
1415
|
i0.ɵɵtemplate(0, DrSelectComponent_2_ng_template_0_Template, 1, 4, "ng-template", 5);
|
|
@@ -1432,7 +1432,7 @@ function DrSelectComponent_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
1432
1432
|
} if (rf & 2) {
|
|
1433
1433
|
const item_r18 = ctx.item;
|
|
1434
1434
|
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
1435
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r17.labelTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5$
|
|
1435
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r17.labelTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5$2, item_r18));
|
|
1436
1436
|
} }
|
|
1437
1437
|
function DrSelectComponent_4_Template(rf, ctx) { if (rf & 1) {
|
|
1438
1438
|
i0.ɵɵtemplate(0, DrSelectComponent_4_ng_template_0_Template, 1, 4, "ng-template", 8);
|
|
@@ -1640,11 +1640,11 @@ 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);
|
|
1647
|
-
i0.ɵɵcontentQuery(dirIndex, _c4$
|
|
1647
|
+
i0.ɵɵcontentQuery(dirIndex, _c4$4, 5);
|
|
1648
1648
|
} if (rf & 2) {
|
|
1649
1649
|
let _t;
|
|
1650
1650
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.labelTemplate = _t.first);
|
|
@@ -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,181 +5591,198 @@ class TooltipInfoComponent {
|
|
|
5591
5591
|
type: Input
|
|
5592
5592
|
}] }); })();
|
|
5593
5593
|
|
|
5594
|
-
const _c0$
|
|
5594
|
+
const _c0$w = ["stepTextLabel"];
|
|
5595
|
+
const _c1$d = ["stepper"];
|
|
5595
5596
|
function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5596
|
-
const
|
|
5597
|
-
i0.ɵɵelementStart(0, "div",
|
|
5598
|
-
i0.ɵɵlistener("click", function StepperComponent_div_0_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
5599
|
-
i0.ɵɵelement(1, "i",
|
|
5597
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
5598
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
5599
|
+
i0.ɵɵlistener("click", function StepperComponent_div_0_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.scrollLeft()); });
|
|
5600
|
+
i0.ɵɵelement(1, "i", 8);
|
|
5600
5601
|
i0.ɵɵelementEnd();
|
|
5601
5602
|
} }
|
|
5602
5603
|
function StepperComponent_ng_container_3_div_1_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
5603
|
-
i0.ɵɵelement(0, "div",
|
|
5604
|
+
i0.ɵɵelement(0, "div", 21);
|
|
5604
5605
|
} }
|
|
5605
5606
|
function StepperComponent_ng_container_3_div_1_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
5606
|
-
i0.ɵɵelementStart(0, "div",
|
|
5607
|
-
i0.ɵɵelement(1, "i",
|
|
5607
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
5608
|
+
i0.ɵɵelement(1, "i", 23);
|
|
5608
5609
|
i0.ɵɵelementEnd();
|
|
5609
5610
|
} }
|
|
5610
|
-
const
|
|
5611
|
+
const _c2$7 = function (a0) { return { "blue with-ellipse": a0 }; };
|
|
5611
5612
|
function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
5612
|
-
i0.ɵɵelementStart(0, "div",
|
|
5613
|
+
i0.ɵɵelementStart(0, "div", 24)(1, "div", 25);
|
|
5613
5614
|
i0.ɵɵtext(2);
|
|
5614
5615
|
i0.ɵɵelementEnd()();
|
|
5615
5616
|
} if (rf & 2) {
|
|
5616
|
-
const
|
|
5617
|
-
const
|
|
5618
|
-
const
|
|
5619
|
-
const
|
|
5620
|
-
i0.ɵɵclassProp("gray",
|
|
5621
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5,
|
|
5617
|
+
const ctx_r25 = i0.ɵɵnextContext(2);
|
|
5618
|
+
const step_r12 = ctx_r25.$implicit;
|
|
5619
|
+
const index_r13 = ctx_r25.index;
|
|
5620
|
+
const ctx_r20 = i0.ɵɵnextContext();
|
|
5621
|
+
i0.ɵɵclassProp("gray", step_r12 !== ctx_r20.currentStep);
|
|
5622
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$7, step_r12 === ctx_r20.currentStep));
|
|
5622
5623
|
i0.ɵɵadvance(1);
|
|
5623
|
-
i0.ɵɵproperty("hidden",
|
|
5624
|
+
i0.ɵɵproperty("hidden", step_r12 === ctx_r20.currentStep || ctx_r20.hiddenIndex);
|
|
5624
5625
|
i0.ɵɵadvance(1);
|
|
5625
|
-
i0.ɵɵtextInterpolate(
|
|
5626
|
+
i0.ɵɵtextInterpolate(index_r13 + 1);
|
|
5627
|
+
} }
|
|
5628
|
+
function StepperComponent_ng_container_3_div_1_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
5629
|
+
i0.ɵɵelementContainer(0);
|
|
5626
5630
|
} }
|
|
5627
|
-
const
|
|
5628
|
-
function
|
|
5629
|
-
i0.ɵɵelementContainer(0,
|
|
5631
|
+
const _c3$5 = function (a0, a1, a2) { return { index: a0, isLast: a1, step: a2 }; };
|
|
5632
|
+
function StepperComponent_ng_container_3_div_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
5633
|
+
i0.ɵɵelementContainer(0, 26);
|
|
5630
5634
|
} if (rf & 2) {
|
|
5631
|
-
const
|
|
5632
|
-
const
|
|
5633
|
-
const
|
|
5634
|
-
const
|
|
5635
|
+
const ctx_r26 = i0.ɵɵnextContext(2);
|
|
5636
|
+
const index_r13 = ctx_r26.index;
|
|
5637
|
+
const isLast_r14 = ctx_r26.last;
|
|
5638
|
+
const step_r12 = ctx_r26.$implicit;
|
|
5635
5639
|
i0.ɵɵnextContext();
|
|
5636
5640
|
const _r6 = i0.ɵɵreference(8);
|
|
5637
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2,
|
|
5641
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c3$5, index_r13, isLast_r14, step_r12));
|
|
5638
5642
|
} }
|
|
5639
|
-
function
|
|
5640
|
-
i0.ɵɵelementStart(0, "span",
|
|
5643
|
+
function StepperComponent_ng_container_3_div_1_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
5644
|
+
i0.ɵɵelementStart(0, "span", 27);
|
|
5641
5645
|
i0.ɵɵtext(1);
|
|
5642
5646
|
i0.ɵɵelementEnd();
|
|
5643
5647
|
} if (rf & 2) {
|
|
5644
|
-
const
|
|
5648
|
+
const step_r12 = i0.ɵɵnextContext(2).$implicit;
|
|
5645
5649
|
i0.ɵɵadvance(1);
|
|
5646
|
-
i0.ɵɵtextInterpolate1(" ", (
|
|
5650
|
+
i0.ɵɵtextInterpolate1(" ", (step_r12.requiredTasks ? step_r12.completedTasks : step_r12.requiredTasks) + "/" + step_r12.requiredTasks, " ");
|
|
5647
5651
|
} }
|
|
5648
|
-
function
|
|
5649
|
-
i0.ɵɵelementContainer(0,
|
|
5652
|
+
function StepperComponent_ng_container_3_div_1_ng_container_11_Template(rf, ctx) { if (rf & 1) {
|
|
5653
|
+
i0.ɵɵelementContainer(0, 26);
|
|
5650
5654
|
} if (rf & 2) {
|
|
5651
|
-
const
|
|
5652
|
-
const
|
|
5653
|
-
const
|
|
5654
|
-
const
|
|
5655
|
+
const ctx_r28 = i0.ɵɵnextContext(2);
|
|
5656
|
+
const index_r13 = ctx_r28.index;
|
|
5657
|
+
const isLast_r14 = ctx_r28.last;
|
|
5658
|
+
const step_r12 = ctx_r28.$implicit;
|
|
5655
5659
|
i0.ɵɵnextContext();
|
|
5656
5660
|
const _r6 = i0.ɵɵreference(8);
|
|
5657
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2,
|
|
5661
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c3$5, index_r13, isLast_r14, step_r12));
|
|
5658
5662
|
} }
|
|
5659
|
-
const
|
|
5663
|
+
const _c4$3 = function (a0) { return { step: a0 }; };
|
|
5664
|
+
const _c5$1 = function (a0, a1) { return { step: a0, index: a1 }; };
|
|
5660
5665
|
function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
5661
|
-
const
|
|
5662
|
-
i0.ɵɵelementStart(0, "div",
|
|
5663
|
-
i0.ɵɵlistener("click", function StepperComponent_ng_container_3_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
5664
|
-
i0.ɵɵelementStart(1, "div",
|
|
5665
|
-
i0.ɵɵtemplate(3, StepperComponent_ng_container_3_div_1_div_3_Template, 1, 0, "div",
|
|
5666
|
-
i0.ɵɵelementContainerStart(4,
|
|
5667
|
-
i0.ɵɵtemplate(5, StepperComponent_ng_container_3_div_1_ng_template_5_Template, 2, 0, "ng-template",
|
|
5668
|
-
i0.ɵɵtemplate(6, StepperComponent_ng_container_3_div_1_ng_template_6_Template, 3, 7, "ng-template",
|
|
5666
|
+
const _r31 = i0.ɵɵgetCurrentView();
|
|
5667
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
5668
|
+
i0.ɵɵlistener("click", function StepperComponent_ng_container_3_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r31); const step_r12 = i0.ɵɵnextContext().$implicit; const ctx_r29 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r29.selectStep(step_r12)); });
|
|
5669
|
+
i0.ɵɵelementStart(1, "div", 12)(2, "div", 13);
|
|
5670
|
+
i0.ɵɵtemplate(3, StepperComponent_ng_container_3_div_1_div_3_Template, 1, 0, "div", 14);
|
|
5671
|
+
i0.ɵɵelementContainerStart(4, 15);
|
|
5672
|
+
i0.ɵɵtemplate(5, StepperComponent_ng_container_3_div_1_ng_template_5_Template, 2, 0, "ng-template", 16);
|
|
5673
|
+
i0.ɵɵtemplate(6, StepperComponent_ng_container_3_div_1_ng_template_6_Template, 3, 7, "ng-template", 16);
|
|
5669
5674
|
i0.ɵɵelementContainerEnd();
|
|
5670
5675
|
i0.ɵɵelementEnd();
|
|
5671
|
-
i0.ɵɵelementStart(7, "div",
|
|
5672
|
-
i0.ɵɵ
|
|
5673
|
-
i0.ɵɵelementEnd()
|
|
5674
|
-
i0.ɵɵtemplate(
|
|
5675
|
-
i0.ɵɵtemplate(
|
|
5676
|
+
i0.ɵɵelementStart(7, "div", 17);
|
|
5677
|
+
i0.ɵɵtemplate(8, StepperComponent_ng_container_3_div_1_ng_container_8_Template, 1, 0, "ng-container", 18);
|
|
5678
|
+
i0.ɵɵelementEnd();
|
|
5679
|
+
i0.ɵɵtemplate(9, StepperComponent_ng_container_3_div_1_ng_container_9_Template, 1, 6, "ng-container", 19);
|
|
5680
|
+
i0.ɵɵtemplate(10, StepperComponent_ng_container_3_div_1_span_10_Template, 2, 1, "span", 20);
|
|
5676
5681
|
i0.ɵɵelementEnd();
|
|
5677
|
-
i0.ɵɵtemplate(
|
|
5682
|
+
i0.ɵɵtemplate(11, StepperComponent_ng_container_3_div_1_ng_container_11_Template, 1, 6, "ng-container", 19);
|
|
5678
5683
|
i0.ɵɵelementEnd();
|
|
5679
5684
|
} if (rf & 2) {
|
|
5680
|
-
const
|
|
5681
|
-
const
|
|
5685
|
+
const ctx_r32 = i0.ɵɵnextContext();
|
|
5686
|
+
const step_r12 = ctx_r32.$implicit;
|
|
5687
|
+
const index_r13 = ctx_r32.index;
|
|
5688
|
+
const ctx_r16 = i0.ɵɵnextContext();
|
|
5682
5689
|
const _r4 = i0.ɵɵreference(6);
|
|
5683
|
-
i0.ɵɵ
|
|
5684
|
-
i0.ɵɵ
|
|
5690
|
+
const _r8 = i0.ɵɵreference(10);
|
|
5691
|
+
i0.ɵɵclassProp("step-setup", ctx_r16.inlineLabels);
|
|
5692
|
+
i0.ɵɵattribute("data-analytics", ctx_r16.getDataAnalyticsTag(step_r12));
|
|
5685
5693
|
i0.ɵɵadvance(1);
|
|
5686
|
-
i0.ɵɵproperty("drTooltip",
|
|
5694
|
+
i0.ɵɵproperty("drTooltip", step_r12.description && _r4)("drTooltipContext", i0.ɵɵpureFunction1(22, _c4$3, step_r12))("drTooltipPosition", "bottom");
|
|
5687
5695
|
i0.ɵɵadvance(1);
|
|
5688
|
-
i0.ɵɵclassProp("active",
|
|
5696
|
+
i0.ɵɵclassProp("active", ctx_r16.currentStep === step_r12)("completed", step_r12.completed);
|
|
5689
5697
|
i0.ɵɵadvance(1);
|
|
5690
|
-
i0.ɵɵproperty("ngIf",
|
|
5698
|
+
i0.ɵɵproperty("ngIf", step_r12 === ctx_r16.currentStep);
|
|
5691
5699
|
i0.ɵɵadvance(1);
|
|
5692
|
-
i0.ɵɵproperty("ngSwitch",
|
|
5700
|
+
i0.ɵɵproperty("ngSwitch", step_r12.completed);
|
|
5693
5701
|
i0.ɵɵadvance(1);
|
|
5694
5702
|
i0.ɵɵproperty("ngSwitchCase", true);
|
|
5695
5703
|
i0.ɵɵadvance(1);
|
|
5696
5704
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
5697
5705
|
i0.ɵɵadvance(1);
|
|
5698
|
-
i0.ɵɵclassProp("active",
|
|
5699
|
-
i0.ɵɵproperty("ngClass",
|
|
5706
|
+
i0.ɵɵclassProp("active", ctx_r16.currentStep === step_r12);
|
|
5707
|
+
i0.ɵɵproperty("ngClass", step_r12.completed ? "completed" : "uncompleted");
|
|
5700
5708
|
i0.ɵɵadvance(1);
|
|
5701
|
-
i0.ɵɵproperty("
|
|
5709
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r16.stepTextLabelTemplate || _r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(24, _c5$1, step_r12, index_r13));
|
|
5702
5710
|
i0.ɵɵadvance(1);
|
|
5703
|
-
i0.ɵɵ
|
|
5711
|
+
i0.ɵɵproperty("ngIf", ctx_r16.inlineLabels);
|
|
5704
5712
|
i0.ɵɵadvance(1);
|
|
5705
|
-
i0.ɵɵproperty("ngIf",
|
|
5713
|
+
i0.ɵɵproperty("ngIf", step_r12.showProgress);
|
|
5706
5714
|
i0.ɵɵadvance(1);
|
|
5707
|
-
i0.ɵɵproperty("ngIf",
|
|
5708
|
-
i0.ɵɵadvance(1);
|
|
5709
|
-
i0.ɵɵproperty("ngIf", !ctx_r14.inlineLabels);
|
|
5715
|
+
i0.ɵɵproperty("ngIf", !ctx_r16.inlineLabels);
|
|
5710
5716
|
} }
|
|
5711
5717
|
function StepperComponent_ng_container_3_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
5712
|
-
i0.ɵɵelement(0, "div",
|
|
5718
|
+
i0.ɵɵelement(0, "div", 28);
|
|
5713
5719
|
} }
|
|
5714
5720
|
function StepperComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
5715
5721
|
i0.ɵɵelementContainerStart(0);
|
|
5716
|
-
i0.ɵɵtemplate(1, StepperComponent_ng_container_3_div_1_Template,
|
|
5717
|
-
i0.ɵɵtemplate(2, StepperComponent_ng_container_3_div_2_Template, 1, 0, "div",
|
|
5722
|
+
i0.ɵɵtemplate(1, StepperComponent_ng_container_3_div_1_Template, 12, 27, "div", 9);
|
|
5723
|
+
i0.ɵɵtemplate(2, StepperComponent_ng_container_3_div_2_Template, 1, 0, "div", 10);
|
|
5718
5724
|
i0.ɵɵelementContainerEnd();
|
|
5719
5725
|
} if (rf & 2) {
|
|
5720
|
-
const
|
|
5726
|
+
const step_r12 = ctx.$implicit;
|
|
5721
5727
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
5722
5728
|
i0.ɵɵadvance(1);
|
|
5723
|
-
i0.ɵɵproperty("ngIf", !
|
|
5729
|
+
i0.ɵɵproperty("ngIf", !step_r12.hide);
|
|
5724
5730
|
i0.ɵɵadvance(1);
|
|
5725
5731
|
i0.ɵɵproperty("ngIf", ctx_r2.mini);
|
|
5726
5732
|
} }
|
|
5727
5733
|
function StepperComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
5728
|
-
const
|
|
5729
|
-
i0.ɵɵelementStart(0, "div",
|
|
5730
|
-
i0.ɵɵlistener("click", function StepperComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
5731
|
-
i0.ɵɵelement(1, "i",
|
|
5734
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
5735
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
5736
|
+
i0.ɵɵlistener("click", function StepperComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r33.scrollRight()); });
|
|
5737
|
+
i0.ɵɵelement(1, "i", 8);
|
|
5732
5738
|
i0.ɵɵelementEnd();
|
|
5733
5739
|
} }
|
|
5734
5740
|
function StepperComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
5735
|
-
i0.ɵɵelementStart(0, "div",
|
|
5741
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "div", 30);
|
|
5736
5742
|
i0.ɵɵtext(2);
|
|
5737
5743
|
i0.ɵɵelementEnd();
|
|
5738
|
-
i0.ɵɵelementStart(3, "div",
|
|
5744
|
+
i0.ɵɵelementStart(3, "div", 31);
|
|
5739
5745
|
i0.ɵɵtext(4);
|
|
5740
5746
|
i0.ɵɵelementEnd()();
|
|
5741
5747
|
} if (rf & 2) {
|
|
5742
|
-
const
|
|
5748
|
+
const step_r35 = ctx.step;
|
|
5743
5749
|
i0.ɵɵadvance(2);
|
|
5744
|
-
i0.ɵɵtextInterpolate(
|
|
5750
|
+
i0.ɵɵtextInterpolate(step_r35.name);
|
|
5745
5751
|
i0.ɵɵadvance(2);
|
|
5746
|
-
i0.ɵɵtextInterpolate(
|
|
5752
|
+
i0.ɵɵtextInterpolate(step_r35.description);
|
|
5747
5753
|
} }
|
|
5748
5754
|
function StepperComponent_ng_template_7_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5749
|
-
i0.ɵɵelementStart(0, "div",
|
|
5750
|
-
i0.ɵɵelement(1, "div",
|
|
5755
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
5756
|
+
i0.ɵɵelement(1, "div", 34);
|
|
5751
5757
|
i0.ɵɵelementEnd();
|
|
5752
5758
|
} if (rf & 2) {
|
|
5753
|
-
const
|
|
5754
|
-
const
|
|
5755
|
-
const
|
|
5756
|
-
const
|
|
5757
|
-
i0.ɵɵclassMap("step-connector--" + (!
|
|
5758
|
-
i0.ɵɵstyleProp("visibility",
|
|
5759
|
-
i0.ɵɵclassProp("only-one-step",
|
|
5759
|
+
const ctx_r40 = i0.ɵɵnextContext();
|
|
5760
|
+
const step_r36 = ctx_r40.step;
|
|
5761
|
+
const index_r38 = ctx_r40.index;
|
|
5762
|
+
const ctx_r39 = i0.ɵɵnextContext();
|
|
5763
|
+
i0.ɵɵclassMap("step-connector--" + (!ctx_r39.inlineLabels ? "absolute" : "inline"));
|
|
5764
|
+
i0.ɵɵstyleProp("visibility", ctx_r39.withoutConnectors || (ctx_r39.steps[step_r36.index + 1] == null ? null : ctx_r39.steps[step_r36.index + 1].hide) ? "hidden" : "unset");
|
|
5765
|
+
i0.ɵɵclassProp("only-one-step", ctx_r39.steps.length === 1)("connector-grand", !ctx_r39.inlineLabels && (index_r38 === 0 || index_r38 === ctx_r39.steps.length - 2));
|
|
5760
5766
|
i0.ɵɵadvance(1);
|
|
5761
|
-
i0.ɵɵstyleProp("width",
|
|
5767
|
+
i0.ɵɵstyleProp("width", ctx_r39.getWidth(step_r36));
|
|
5762
5768
|
} }
|
|
5763
5769
|
function StepperComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
5764
|
-
i0.ɵɵtemplate(0, StepperComponent_ng_template_7_div_0_Template, 2, 10, "div",
|
|
5770
|
+
i0.ɵɵtemplate(0, StepperComponent_ng_template_7_div_0_Template, 2, 10, "div", 32);
|
|
5765
5771
|
} if (rf & 2) {
|
|
5766
|
-
const
|
|
5772
|
+
const isLast_r37 = ctx.isLast;
|
|
5767
5773
|
const ctx_r7 = i0.ɵɵnextContext();
|
|
5768
|
-
i0.ɵɵproperty("ngIf", ctx_r7.steps.length === 1 || !
|
|
5774
|
+
i0.ɵɵproperty("ngIf", ctx_r7.steps.length === 1 || !isLast_r37);
|
|
5775
|
+
} }
|
|
5776
|
+
function StepperComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
5777
|
+
i0.ɵɵelementStart(0, "span", 35);
|
|
5778
|
+
i0.ɵɵtext(1);
|
|
5779
|
+
i0.ɵɵelementEnd();
|
|
5780
|
+
} if (rf & 2) {
|
|
5781
|
+
const step_r41 = ctx.step;
|
|
5782
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
5783
|
+
i0.ɵɵproperty("hidden", ctx_r9.hiddenNames);
|
|
5784
|
+
i0.ɵɵadvance(1);
|
|
5785
|
+
i0.ɵɵtextInterpolate(step_r41.name);
|
|
5769
5786
|
} }
|
|
5770
5787
|
class StepperComponent {
|
|
5771
5788
|
constructor() {
|
|
@@ -5804,12 +5821,17 @@ class StepperComponent {
|
|
|
5804
5821
|
return this.dataAnalytics ? this.dataAnalytics + '_' + step.name?.toLowerCase().replace(/ /g, '-') : null;
|
|
5805
5822
|
}
|
|
5806
5823
|
/** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
|
|
5807
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]],
|
|
5808
|
-
i0.ɵɵ
|
|
5824
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], contentQueries: function StepperComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
5825
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$w, 5);
|
|
5826
|
+
} if (rf & 2) {
|
|
5827
|
+
let _t;
|
|
5828
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepTextLabelTemplate = _t.first);
|
|
5829
|
+
} }, viewQuery: function StepperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5830
|
+
i0.ɵɵviewQuery(_c1$d, 5, ElementRef);
|
|
5809
5831
|
} if (rf & 2) {
|
|
5810
5832
|
let _t;
|
|
5811
5833
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepper = _t.first);
|
|
5812
|
-
} }, inputs: { steps: "steps", currentStep: "currentStep", withoutConnectors: "withoutConnectors", hiddenNames: "hiddenNames", inlineLabels: "inlineLabels", disabled: "disabled", hiddenIndex: "hiddenIndex", mini: "mini", dataAnalytics: ["data-analytics", "dataAnalytics"] }, outputs: { stepChange: "stepChange" }, decls:
|
|
5834
|
+
} }, inputs: { steps: "steps", currentStep: "currentStep", withoutConnectors: "withoutConnectors", hiddenNames: "hiddenNames", inlineLabels: "inlineLabels", disabled: "disabled", hiddenIndex: "hiddenIndex", mini: "mini", dataAnalytics: ["data-analytics", "dataAnalytics"] }, outputs: { stepChange: "stepChange" }, decls: 11, vars: 7, consts: [["class", "scroll-section", 3, "click", 4, "ngIf"], [1, "stepper"], ["stepper", ""], [4, "ngFor", "ngForOf"], ["tooltip", ""], ["connector", ""], ["defaultStepTextLabel", ""], [1, "scroll-section", 3, "click"], [1, "dr-icon-arrow-right"], ["class", "step", 3, "step-setup", "click", 4, "ngIf"], ["class", "stepper--mini-connector", 4, "ngIf"], [1, "step", 3, "click"], [1, "step-wrapper", 3, "drTooltip", "drTooltipContext", "drTooltipPosition"], ["data-test", "step_point", 1, "step-point"], ["class", "ellipse", 4, "ngIf"], [3, "ngSwitch"], [3, "ngSwitchCase"], ["data-test", "step_label_name", 1, "step-label", 3, "ngClass"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["data-test", "step_progress", "class", "step-progress", 4, "ngIf"], [1, "ellipse"], [1, "pointer", "blue"], [1, "dr-icon-approve"], [1, "pointer", 3, "ngClass"], [1, "text", 3, "hidden"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["data-test", "step_progress", 1, "step-progress"], [1, "stepper--mini-connector"], [1, "step-tooltip"], [1, "step-tooltip_name"], [1, "step-tooltip_description"], ["class", "step-connector", 3, "only-one-step", "class", "visibility", "connector-grand", 4, "ngIf"], [1, "step-connector"], [1, "progress"], [3, "hidden"]], template: function StepperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5813
5835
|
i0.ɵɵtemplate(0, StepperComponent_div_0_Template, 2, 0, "div", 0);
|
|
5814
5836
|
i0.ɵɵelementStart(1, "div", 1, 2);
|
|
5815
5837
|
i0.ɵɵtemplate(3, StepperComponent_ng_container_3_Template, 3, 2, "ng-container", 3);
|
|
@@ -5817,6 +5839,7 @@ class StepperComponent {
|
|
|
5817
5839
|
i0.ɵɵtemplate(4, StepperComponent_div_4_Template, 2, 0, "div", 0);
|
|
5818
5840
|
i0.ɵɵtemplate(5, StepperComponent_ng_template_5_Template, 5, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
5819
5841
|
i0.ɵɵtemplate(7, StepperComponent_ng_template_7_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
|
5842
|
+
i0.ɵɵtemplate(9, StepperComponent_ng_template_9_Template, 2, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
5820
5843
|
} if (rf & 2) {
|
|
5821
5844
|
const _r1 = i0.ɵɵreference(2);
|
|
5822
5845
|
i0.ɵɵproperty("ngIf", (_r1 == null ? null : _r1.scrollLeft) !== 0);
|
|
@@ -5830,7 +5853,7 @@ class StepperComponent {
|
|
|
5830
5853
|
}
|
|
5831
5854
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StepperComponent, [{
|
|
5832
5855
|
type: Component,
|
|
5833
|
-
args: [{ selector: 'dr-stepper', changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"scroll-section\" *ngIf=\"stepper?.scrollLeft !== 0\" (click)=\"scrollLeft()\">\n <i class=\"dr-icon-arrow-right\"></i>\n</div>\n<div #stepper class=\"stepper\" [class.stepper--disabled]=\"disabled\" [class.stepper--mini]=\"mini\">\n <ng-container *ngFor=\"let step of steps; let index = index; last as isLast; first as isFirst\">\n <div\n *ngIf=\"!step.hide\"\n class=\"step\"\n (click)=\"selectStep(step)\"\n [class.step-setup]=\"inlineLabels\"\n [attr.data-analytics]=\"getDataAnalyticsTag(step)\">\n <div\n class=\"step-wrapper\"\n [drTooltip]=\"step.description && tooltip\"\n [drTooltipContext]=\"{ step: step }\"\n [drTooltipPosition]=\"'bottom'\">\n <div\n data-test=\"step_point\"\n class=\"step-point\"\n [class.active]=\"currentStep === step\"\n [class.completed]=\"step.completed\">\n <div *ngIf=\"step === currentStep\" class=\"ellipse\"></div>\n <ng-container [ngSwitch]=\"step.completed\">\n <ng-template [ngSwitchCase]=\"true\">\n <div class=\"pointer blue\">\n <i class=\"dr-icon-approve\"></i>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"false\">\n <div\n class=\"pointer\"\n [class.gray]=\"step !== currentStep\"\n [ngClass]=\"{ 'blue with-ellipse': step === currentStep }\">\n <div [hidden]=\"step === currentStep || hiddenIndex\" class=\"text\">{{ index + 1 }}</div>\n </div>\n </ng-template>\n </ng-container>\n </div>\n <div\n data-test=\"step_label_name\"\n class=\"step-label\"\n [class.active]=\"currentStep === step\"\n [ngClass]=\"step.completed ? 'completed' : 'uncompleted'\">\n <span [hidden]=\"hiddenNames\">{{ step.name }}</span>\n </div>\n <ng-container\n *ngIf=\"inlineLabels\"\n [ngTemplateOutlet]=\"connector\"\n [ngTemplateOutletContext]=\"{ index, isLast, step }\">\n </ng-container>\n <span *ngIf=\"step.showProgress\" data-test=\"step_progress\" class=\"step-progress\">\n {{ (step.requiredTasks ? step.completedTasks : step.requiredTasks) + '/' + step.requiredTasks }}\n </span>\n </div>\n <ng-container\n *ngIf=\"!inlineLabels\"\n [ngTemplateOutlet]=\"connector\"\n [ngTemplateOutletContext]=\"{ index, isLast, step }\">\n </ng-container>\n </div>\n <div *ngIf=\"mini\" class=\"stepper--mini-connector\"></div>\n </ng-container>\n</div>\n<div\n (click)=\"scrollRight()\"\n class=\"scroll-section\"\n *ngIf=\"\n stepper?.scrollWidth > stepper?.clientWidth &&\n roundWidth(stepper?.scrollLeft + stepper?.clientWidth) < stepper?.scrollWidth\n \">\n <i class=\"dr-icon-arrow-right\"></i>\n</div>\n\n<ng-template #tooltip let-step=\"step\">\n <div class=\"step-tooltip\">\n <div class=\"step-tooltip_name\">{{ step.name }}</div>\n <div class=\"step-tooltip_description\">{{ step.description }}</div>\n </div>\n</ng-template>\n\n<ng-template #connector let-step=\"step\" let-isLast=\"isLast\" let-index=\"index\">\n <div\n class=\"step-connector\"\n [class.only-one-step]=\"steps.length === 1\"\n [class]=\"'step-connector--' + (!inlineLabels ? 'absolute' : 'inline')\"\n *ngIf=\"steps.length === 1 || !isLast\"\n [style.visibility]=\"withoutConnectors || steps[step.index + 1]?.hide ? 'hidden' : 'unset'\"\n [class.connector-grand]=\"!inlineLabels && (index === 0 || index === steps.length - 2)\">\n <div class=\"progress\" [style.width]=\"getWidth(step)\"></div>\n </div>\n</ng-template>\n", styles: [":host{font-family:Poppins,sans-serif;display:flex;justify-content:center;height:100%;position:relative}:host .scroll-section{position:absolute;top:0;height:100%;width:108px;display:flex;align-items:center;z-index:10}:host .scroll-section i{font-size:24px;color:#2969b0;background:#f3f7ff;border-radius:24px}:host .scroll-section i:hover{background:#cde1fb;cursor:pointer}:host .scroll-section:first-child{left:0;padding-left:16px;background:linear-gradient(90deg,#fff 36.08%,#fff0 87.17%)}:host .scroll-section:first-child i{transform:rotate(180deg)}:host .scroll-section:last-child{right:0;padding-right:16px;background:linear-gradient(270deg,#fff 36.08%,#fff0 87.17%);justify-content:flex-end}:host .stepper{display:flex;align-items:center;height:100%;width:100%;overflow:auto;scroll-behavior:smooth}:host .stepper::-webkit-scrollbar{display:none}:host .stepper--disabled .step:hover{cursor:default}:host .stepper--disabled .step-point .ellipse{border-color:#bcbcbc}:host .stepper--disabled .step-point .pointer{color:#fff;background-color:#bcbcbc;cursor:default}:host .stepper--disabled .step-label{color:#bcbcbc}:host .stepper--disabled .step-connector{background-color:#bcbcbc}:host .stepper--disabled .step-connector .progress{background-color:#bcbcbc}:host .stepper--mini .step-connector{display:none}:host .stepper--mini-connector{flex-grow:1;display:flex;margin:0 8px;background-color:#dfe0e3;height:2px}:host .stepper--mini-connector:last-child{display:none}:host .stepper--mini .step-setup{flex-grow:unset}:host .stepper--mini .step-point{width:18px!important;height:18px!important}:host .stepper--mini .step-point.active .pointer{width:12px;height:12px}:host .stepper--mini .step-point.active .pointer i{display:none}:host .stepper--mini .step-point.active .ellipse{width:18px;height:18px}:host .stepper--mini .step-point .pointer{width:16px;height:16px}:host .stepper--mini .step-point .pointer .text{font-size:12px!important;font-weight:500;line-height:20px}:host .stepper--mini .step-point .pointer i{font-size:12px!important}:host .stepper--mini .step-label{margin-left:8px}:host .stepper--mini .step-label span{font-size:12px;font-weight:400;line-height:20px}:host .stepper--mini .step-label.active span{font-weight:600}:host .step{position:relative;display:flex;flex-direction:column;width:120px;align-items:center;flex-shrink:0;flex-grow:1}:host .step:hover{cursor:pointer}:host .step:not(.step-setup) .step-wrapper{width:100%}:host .step:not(.step-setup):first-child .step-wrapper,:host .step:not(.step-setup):first-child .step-point,:host .step:not(.step-setup):first-child .step-label,:host .step:not(.step-setup):first-child .step-progress{margin-left:8px}:host .step:not(.step-setup):first-child .only-one-step{left:0!important;margin-left:25px}:host .step-point{display:flex;justify-content:center;width:100%;height:28px;position:relative;align-items:center}:host .step-point .ellipse{width:28px;height:28px;position:absolute;border-radius:50px;border-color:#4646ce;border-style:solid;border-width:2px;background:#fff;display:flex;justify-content:center;align-items:center;z-index:2}:host .step-point .pointer{width:24px;height:24px;position:absolute;z-index:4;border-radius:20px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;line-height:1.4;color:#6d6e6f;transition:box-shadow .2s ease-in-out}:host .step-point .pointer i{color:#fff;font-size:22px}:host .step-point .pointer.blue{background:#4646ce}:host .step-point .pointer.gray{background:#dfe0e3}:host .step-point .pointer.gray:hover{box-shadow:0 0 4px 2px #00000026}:host .step-point.completed :host .step-point.active{background:#4646ce}:host .step-point.active .ellipse{width:28px;height:28px}:host .step-point.active .pointer{width:20px;height:20px}:host .step-label{font-weight:400;font-size:14px;line-height:22px;line-height:1.5;color:#6d6e6f;display:flex;justify-content:center;overflow:hidden;margin-top:8px}:host .step-label span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}:host .step-label.active{font-weight:600;color:#333}:host .step-label:last-child{margin-bottom:23px}:host .step-progress{margin-top:3px;font-style:normal;font-weight:400;font-size:12px;line-height:1.4;display:flex;justify-content:center}:host .step-connector{background-color:#dfe0e3;height:2px}:host .step-connector.connector-grand{width:calc(100% - 25px)}:host .step-connector.connector-grand.only-one-step{width:calc(100% - 50px)}:host .step-connector .progress{background-color:#4646ce;height:2px;width:0}:host .step-connector--absolute{position:absolute;top:14px;width:100%;left:calc(50% + 12px)}:host .step-connector--inline{width:50px;margin-left:32px;margin-right:32px}:host .step-setup{width:auto}:host .step-setup .step-wrapper{display:flex;flex-direction:row;align-items:center;width:auto}:host .step-setup+.step-setup{margin-left:0}:host .step-setup .step-progress{display:none}:host .step-setup .step-label{position:relative;transform:none;align-items:center;justify-content:start;margin:0 0 0 8px;font-size:16px}:host .step-setup .step-point{width:28px;height:28px}:host .step-setup .step-point .pointer i{font-size:22px}:host .step-setup .step-point .pointer .text{font-size:16px}::ng-deep .step-tooltip{max-width:250px;font-size:14px;line-height:22px;padding:10px 12px}::ng-deep .step-tooltip_name{font-weight:700;overflow:hidden;text-overflow:ellipsis}@media screen and (min-width: 1367px){.stepper .step-label{font-size:14px}}\n"] }]
|
|
5856
|
+
args: [{ selector: 'dr-stepper', changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"scroll-section\" *ngIf=\"stepper?.scrollLeft !== 0\" (click)=\"scrollLeft()\">\n <i class=\"dr-icon-arrow-right\"></i>\n</div>\n<div #stepper class=\"stepper\" [class.stepper--disabled]=\"disabled\" [class.stepper--mini]=\"mini\">\n <ng-container *ngFor=\"let step of steps; let index = index; last as isLast; first as isFirst\">\n <div\n *ngIf=\"!step.hide\"\n class=\"step\"\n (click)=\"selectStep(step)\"\n [class.step-setup]=\"inlineLabels\"\n [attr.data-analytics]=\"getDataAnalyticsTag(step)\">\n <div\n class=\"step-wrapper\"\n [drTooltip]=\"step.description && tooltip\"\n [drTooltipContext]=\"{ step: step }\"\n [drTooltipPosition]=\"'bottom'\">\n <div\n data-test=\"step_point\"\n class=\"step-point\"\n [class.active]=\"currentStep === step\"\n [class.completed]=\"step.completed\">\n <div *ngIf=\"step === currentStep\" class=\"ellipse\"></div>\n <ng-container [ngSwitch]=\"step.completed\">\n <ng-template [ngSwitchCase]=\"true\">\n <div class=\"pointer blue\">\n <i class=\"dr-icon-approve\"></i>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"false\">\n <div\n class=\"pointer\"\n [class.gray]=\"step !== currentStep\"\n [ngClass]=\"{ 'blue with-ellipse': step === currentStep }\">\n <div [hidden]=\"step === currentStep || hiddenIndex\" class=\"text\">{{ index + 1 }}</div>\n </div>\n </ng-template>\n </ng-container>\n </div>\n <div\n data-test=\"step_label_name\"\n class=\"step-label\"\n [class.active]=\"currentStep === step\"\n [ngClass]=\"step.completed ? 'completed' : 'uncompleted'\">\n <ng-container\n *ngTemplateOutlet=\"\n stepTextLabelTemplate || defaultStepTextLabel;\n context: { step: step, index: index }\n \"></ng-container>\n </div>\n <ng-container\n *ngIf=\"inlineLabels\"\n [ngTemplateOutlet]=\"connector\"\n [ngTemplateOutletContext]=\"{ index, isLast, step }\">\n </ng-container>\n <span *ngIf=\"step.showProgress\" data-test=\"step_progress\" class=\"step-progress\">\n {{ (step.requiredTasks ? step.completedTasks : step.requiredTasks) + '/' + step.requiredTasks }}\n </span>\n </div>\n <ng-container\n *ngIf=\"!inlineLabels\"\n [ngTemplateOutlet]=\"connector\"\n [ngTemplateOutletContext]=\"{ index, isLast, step }\">\n </ng-container>\n </div>\n <div *ngIf=\"mini\" class=\"stepper--mini-connector\"></div>\n </ng-container>\n</div>\n<div\n (click)=\"scrollRight()\"\n class=\"scroll-section\"\n *ngIf=\"\n stepper?.scrollWidth > stepper?.clientWidth &&\n roundWidth(stepper?.scrollLeft + stepper?.clientWidth) < stepper?.scrollWidth\n \">\n <i class=\"dr-icon-arrow-right\"></i>\n</div>\n\n<ng-template #tooltip let-step=\"step\">\n <div class=\"step-tooltip\">\n <div class=\"step-tooltip_name\">{{ step.name }}</div>\n <div class=\"step-tooltip_description\">{{ step.description }}</div>\n </div>\n</ng-template>\n\n<ng-template #connector let-step=\"step\" let-isLast=\"isLast\" let-index=\"index\">\n <div\n class=\"step-connector\"\n [class.only-one-step]=\"steps.length === 1\"\n [class]=\"'step-connector--' + (!inlineLabels ? 'absolute' : 'inline')\"\n *ngIf=\"steps.length === 1 || !isLast\"\n [style.visibility]=\"withoutConnectors || steps[step.index + 1]?.hide ? 'hidden' : 'unset'\"\n [class.connector-grand]=\"!inlineLabels && (index === 0 || index === steps.length - 2)\">\n <div class=\"progress\" [style.width]=\"getWidth(step)\"></div>\n </div>\n</ng-template>\n\n<ng-template #defaultStepTextLabel let-step=\"step\" let-index=\"index\">\n <span [hidden]=\"hiddenNames\">{{ step.name }}</span>\n</ng-template>\n", styles: [":host{font-family:Poppins,sans-serif;display:flex;justify-content:center;height:100%;position:relative}:host .scroll-section{position:absolute;top:0;height:100%;width:108px;display:flex;align-items:center;z-index:10}:host .scroll-section i{font-size:24px;color:#2969b0;background:#f3f7ff;border-radius:24px}:host .scroll-section i:hover{background:#cde1fb;cursor:pointer}:host .scroll-section:first-child{left:0;padding-left:16px;background:linear-gradient(90deg,#fff 36.08%,#fff0 87.17%)}:host .scroll-section:first-child i{transform:rotate(180deg)}:host .scroll-section:last-child{right:0;padding-right:16px;background:linear-gradient(270deg,#fff 36.08%,#fff0 87.17%);justify-content:flex-end}:host .stepper{display:flex;align-items:center;height:100%;width:100%;overflow:auto;scroll-behavior:smooth}:host .stepper::-webkit-scrollbar{display:none}:host .stepper--disabled .step:hover{cursor:default}:host .stepper--disabled .step-point .ellipse{border-color:#bcbcbc}:host .stepper--disabled .step-point .pointer{color:#fff;background-color:#bcbcbc;cursor:default}:host .stepper--disabled .step-label{color:#bcbcbc}:host .stepper--disabled .step-connector{background-color:#bcbcbc}:host .stepper--disabled .step-connector .progress{background-color:#bcbcbc}:host .stepper--mini .step-connector{display:none}:host .stepper--mini-connector{flex-grow:1;display:flex;margin:0 8px;background-color:#dfe0e3;height:2px}:host .stepper--mini-connector:last-child{display:none}:host .stepper--mini .step-setup{flex-grow:unset}:host .stepper--mini .step-point{width:18px!important;height:18px!important}:host .stepper--mini .step-point.active .pointer{width:12px;height:12px}:host .stepper--mini .step-point.active .pointer i{display:none}:host .stepper--mini .step-point.active .ellipse{width:18px;height:18px}:host .stepper--mini .step-point .pointer{width:16px;height:16px}:host .stepper--mini .step-point .pointer .text{font-size:12px!important;font-weight:500;line-height:20px}:host .stepper--mini .step-point .pointer i{font-size:12px!important}:host .stepper--mini .step-label{margin-left:8px}:host .stepper--mini .step-label span{font-size:12px;font-weight:400;line-height:20px}:host .stepper--mini .step-label.active span{font-weight:600}:host .step{position:relative;display:flex;flex-direction:column;width:120px;align-items:center;flex-shrink:0;flex-grow:1}:host .step:hover{cursor:pointer}:host .step:not(.step-setup) .step-wrapper{width:100%}:host .step:not(.step-setup):first-child .step-wrapper,:host .step:not(.step-setup):first-child .step-point,:host .step:not(.step-setup):first-child .step-label,:host .step:not(.step-setup):first-child .step-progress{margin-left:8px}:host .step:not(.step-setup):first-child .only-one-step{left:0!important;margin-left:25px}:host .step-point{display:flex;justify-content:center;width:100%;height:28px;position:relative;align-items:center}:host .step-point .ellipse{width:28px;height:28px;position:absolute;border-radius:50px;border-color:#4646ce;border-style:solid;border-width:2px;background:#fff;display:flex;justify-content:center;align-items:center;z-index:2}:host .step-point .pointer{width:24px;height:24px;position:absolute;z-index:4;border-radius:20px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;line-height:1.4;color:#6d6e6f;transition:box-shadow .2s ease-in-out}:host .step-point .pointer i{color:#fff;font-size:22px}:host .step-point .pointer.blue{background:#4646ce}:host .step-point .pointer.gray{background:#dfe0e3}:host .step-point .pointer.gray:hover{box-shadow:0 0 4px 2px #00000026}:host .step-point.completed :host .step-point.active{background:#4646ce}:host .step-point.active .ellipse{width:28px;height:28px}:host .step-point.active .pointer{width:20px;height:20px}:host .step-label{font-weight:400;font-size:14px;line-height:22px;line-height:1.5;color:#6d6e6f;display:flex;justify-content:center;overflow:hidden;margin-top:8px}:host .step-label span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}:host .step-label.active{font-weight:600;color:#333}:host .step-label:last-child{margin-bottom:23px}:host .step-progress{margin-top:3px;font-style:normal;font-weight:400;font-size:12px;line-height:1.4;display:flex;justify-content:center}:host .step-connector{background-color:#dfe0e3;height:2px}:host .step-connector.connector-grand{width:calc(100% - 25px)}:host .step-connector.connector-grand.only-one-step{width:calc(100% - 50px)}:host .step-connector .progress{background-color:#4646ce;height:2px;width:0}:host .step-connector--absolute{position:absolute;top:14px;width:100%;left:calc(50% + 12px)}:host .step-connector--inline{width:50px;margin-left:32px;margin-right:32px}:host .step-setup{width:auto}:host .step-setup .step-wrapper{display:flex;flex-direction:row;align-items:center;width:auto}:host .step-setup+.step-setup{margin-left:0}:host .step-setup .step-progress{display:none}:host .step-setup .step-label{position:relative;transform:none;align-items:center;justify-content:start;margin:0 0 0 8px;font-size:16px}:host .step-setup .step-point{width:28px;height:28px}:host .step-setup .step-point .pointer i{font-size:22px}:host .step-setup .step-point .pointer .text{font-size:16px}::ng-deep .step-tooltip{max-width:250px;font-size:14px;line-height:22px;padding:10px 12px}::ng-deep .step-tooltip_name{font-weight:700;overflow:hidden;text-overflow:ellipsis}@media screen and (min-width: 1367px){.stepper .step-label{font-size:14px}}\n"] }]
|
|
5834
5857
|
}], null, { steps: [{
|
|
5835
5858
|
type: Input
|
|
5836
5859
|
}], currentStep: [{
|
|
@@ -5855,6 +5878,9 @@ class StepperComponent {
|
|
|
5855
5878
|
}], stepper: [{
|
|
5856
5879
|
type: ViewChild,
|
|
5857
5880
|
args: ['stepper', { read: ElementRef }]
|
|
5881
|
+
}], stepTextLabelTemplate: [{
|
|
5882
|
+
type: ContentChild,
|
|
5883
|
+
args: ['stepTextLabel']
|
|
5858
5884
|
}] }); })();
|
|
5859
5885
|
|
|
5860
5886
|
const IMAGE_TYPES = ['image/png', 'image/jpeg', 'image/gif'];
|
|
@@ -5967,7 +5993,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
5967
5993
|
i0.ɵɵtext(1, "Stop generating");
|
|
5968
5994
|
i0.ɵɵelementEnd();
|
|
5969
5995
|
} }
|
|
5970
|
-
const _c0$
|
|
5996
|
+
const _c0$v = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
|
|
5971
5997
|
class DrChatFormComponent {
|
|
5972
5998
|
constructor(cdr, domSanitizer) {
|
|
5973
5999
|
this.cdr = cdr;
|
|
@@ -6123,7 +6149,7 @@ class DrChatFormComponent {
|
|
|
6123
6149
|
const _r1 = i0.ɵɵreference(4);
|
|
6124
6150
|
i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
|
|
6125
6151
|
i0.ɵɵadvance(2);
|
|
6126
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$
|
|
6152
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$v, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
|
|
6127
6153
|
i0.ɵɵadvance(1);
|
|
6128
6154
|
i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
|
|
6129
6155
|
i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
|
|
@@ -6238,7 +6264,7 @@ function DrAvatarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
6238
6264
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6239
6265
|
i0.ɵɵstyleProp("width", ctx_r0.drAvatarSize || null)("height", ctx_r0.drAvatarSize || null);
|
|
6240
6266
|
} }
|
|
6241
|
-
const _c0$
|
|
6267
|
+
const _c0$u = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
|
|
6242
6268
|
function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6243
6269
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
6244
6270
|
i0.ɵɵelementStart(0, "div", 5);
|
|
@@ -6252,7 +6278,7 @@ function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
6252
6278
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
6253
6279
|
i0.ɵɵclassMap(user_r5.status);
|
|
6254
6280
|
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$
|
|
6281
|
+
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
6282
|
i0.ɵɵadvance(2);
|
|
6257
6283
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), "\n");
|
|
6258
6284
|
} }
|
|
@@ -6528,7 +6554,7 @@ class DrChatMessageFileComponent {
|
|
|
6528
6554
|
type: Input
|
|
6529
6555
|
}] }); })();
|
|
6530
6556
|
|
|
6531
|
-
const _c0$
|
|
6557
|
+
const _c0$t = ["drChatMessageActions"];
|
|
6532
6558
|
function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
6533
6559
|
i0.ɵɵelementContainerStart(0);
|
|
6534
6560
|
i0.ɵɵelement(1, "div", 8);
|
|
@@ -6630,7 +6656,7 @@ class DrChatMessageComponent {
|
|
|
6630
6656
|
}
|
|
6631
6657
|
/** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
|
|
6632
6658
|
/** @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$
|
|
6659
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$t, 5);
|
|
6634
6660
|
} if (rf & 2) {
|
|
6635
6661
|
let _t;
|
|
6636
6662
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
|
|
@@ -6701,7 +6727,7 @@ class DrChatMessageComponent {
|
|
|
6701
6727
|
args: ['drChatMessageActions']
|
|
6702
6728
|
}] }); })();
|
|
6703
6729
|
|
|
6704
|
-
const _c0$
|
|
6730
|
+
const _c0$s = ["suggestionsContainer"];
|
|
6705
6731
|
function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
6706
6732
|
i0.ɵɵelementContainer(0);
|
|
6707
6733
|
} }
|
|
@@ -6846,7 +6872,7 @@ class DrChatSuggestionsComponent {
|
|
|
6846
6872
|
}
|
|
6847
6873
|
/** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
6848
6874
|
/** @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$
|
|
6875
|
+
i0.ɵɵviewQuery(_c0$s, 5);
|
|
6850
6876
|
} if (rf & 2) {
|
|
6851
6877
|
let _t;
|
|
6852
6878
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
|
|
@@ -6880,7 +6906,7 @@ class DrChatSuggestionsComponent {
|
|
|
6880
6906
|
args: ['suggestionsContainer', { static: false }]
|
|
6881
6907
|
}] }); })();
|
|
6882
6908
|
|
|
6883
|
-
const _c0$
|
|
6909
|
+
const _c0$r = ["drChatHeader"];
|
|
6884
6910
|
const _c1$b = ["drChatLoader"];
|
|
6885
6911
|
const _c2$5 = ["drChatContent"];
|
|
6886
6912
|
const _c3$4 = ["messagesContainer"];
|
|
@@ -7017,7 +7043,7 @@ class DrChatComponent {
|
|
|
7017
7043
|
/** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
7018
7044
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
7019
7045
|
i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
|
|
7020
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
7046
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$r, 5);
|
|
7021
7047
|
i0.ɵɵcontentQuery(dirIndex, _c1$b, 5);
|
|
7022
7048
|
i0.ɵɵcontentQuery(dirIndex, _c2$5, 5);
|
|
7023
7049
|
i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
|
|
@@ -7105,7 +7131,7 @@ class DrChatComponent {
|
|
|
7105
7131
|
args: [DrChatSuggestionsComponent]
|
|
7106
7132
|
}] }); })();
|
|
7107
7133
|
|
|
7108
|
-
const _c0$
|
|
7134
|
+
const _c0$q = ["textAreaElement"];
|
|
7109
7135
|
const _c1$a = ["fileInput"];
|
|
7110
7136
|
function DrChatFormDropdownComponent_dr_chat_dropped_files_3_Template(rf, ctx) { if (rf & 1) {
|
|
7111
7137
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -7292,7 +7318,7 @@ class DrChatFormDropdownComponent {
|
|
|
7292
7318
|
}
|
|
7293
7319
|
/** @nocollapse */ static { this.ɵfac = function DrChatFormDropdownComponent_Factory(t) { return new (t || DrChatFormDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$5.DomSanitizer)); }; }
|
|
7294
7320
|
/** @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$
|
|
7321
|
+
i0.ɵɵviewQuery(_c0$q, 5);
|
|
7296
7322
|
i0.ɵɵviewQuery(_c1$a, 5);
|
|
7297
7323
|
} if (rf & 2) {
|
|
7298
7324
|
let _t;
|
|
@@ -7429,14 +7455,14 @@ class DrChatCustomMessageDirective {
|
|
|
7429
7455
|
type: Input
|
|
7430
7456
|
}] }); })();
|
|
7431
7457
|
|
|
7432
|
-
const _c0$
|
|
7458
|
+
const _c0$p = ["*"];
|
|
7433
7459
|
class DrChatAlertComponent {
|
|
7434
7460
|
constructor() {
|
|
7435
7461
|
this.iconClass = 'dr-icon-info';
|
|
7436
7462
|
this.close = new EventEmitter();
|
|
7437
7463
|
}
|
|
7438
7464
|
/** @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$
|
|
7465
|
+
/** @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
7466
|
i0.ɵɵprojectionDef();
|
|
7441
7467
|
i0.ɵɵelement(0, "i");
|
|
7442
7468
|
i0.ɵɵprojection(1);
|
|
@@ -7474,7 +7500,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
7474
7500
|
i0.ɵɵadvance(1);
|
|
7475
7501
|
i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
|
|
7476
7502
|
} }
|
|
7477
|
-
const _c0$
|
|
7503
|
+
const _c0$o = ["*"];
|
|
7478
7504
|
class DrToggleComponent {
|
|
7479
7505
|
set disabled(value) {
|
|
7480
7506
|
this.setDisabledState(value);
|
|
@@ -7519,7 +7545,7 @@ class DrToggleComponent {
|
|
|
7519
7545
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 3, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
7520
7546
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
7521
7547
|
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$
|
|
7548
|
+
} }, 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
7549
|
i0.ɵɵprojectionDef();
|
|
7524
7550
|
i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
|
|
7525
7551
|
i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
|
|
@@ -7644,7 +7670,7 @@ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7644
7670
|
i0.ɵɵadvance(1);
|
|
7645
7671
|
i0.ɵɵtextInterpolate(ctx_r0.text);
|
|
7646
7672
|
} }
|
|
7647
|
-
const _c0$
|
|
7673
|
+
const _c0$n = ["*"];
|
|
7648
7674
|
const ALERT_THEME_ICONS = {
|
|
7649
7675
|
[DrAlertTheme.SUCCESS]: 'dr-icon-uploaded-success',
|
|
7650
7676
|
[DrAlertTheme.BOLD_ERROR]: 'dr-icon-error',
|
|
@@ -7665,7 +7691,7 @@ class DrAlertComponent {
|
|
|
7665
7691
|
/** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
|
|
7666
7692
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
7667
7693
|
i0.ɵɵclassMap(ctx.elementClass);
|
|
7668
|
-
} }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$
|
|
7694
|
+
} }, 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
7695
|
i0.ɵɵprojectionDef();
|
|
7670
7696
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7671
7697
|
i0.ɵɵelement(1, "i");
|
|
@@ -7711,7 +7737,7 @@ class CodeEditorHintWrapperComponent {
|
|
|
7711
7737
|
}]
|
|
7712
7738
|
}], null, null); })();
|
|
7713
7739
|
|
|
7714
|
-
const _c0$
|
|
7740
|
+
const _c0$m = ["ref"];
|
|
7715
7741
|
class DrCodemirrorComponent {
|
|
7716
7742
|
set options(value) {
|
|
7717
7743
|
this._options = value;
|
|
@@ -7841,7 +7867,7 @@ class DrCodemirrorComponent {
|
|
|
7841
7867
|
}
|
|
7842
7868
|
/** @nocollapse */ static { this.ɵfac = function DrCodemirrorComponent_Factory(t) { return new (t || DrCodemirrorComponent)(i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
7843
7869
|
/** @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$
|
|
7870
|
+
i0.ɵɵviewQuery(_c0$m, 5);
|
|
7845
7871
|
} if (rf & 2) {
|
|
7846
7872
|
let _t;
|
|
7847
7873
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ref = _t.first);
|
|
@@ -7993,7 +8019,7 @@ class DrErrorComponent {
|
|
|
7993
8019
|
args: ['class.no-icon']
|
|
7994
8020
|
}] }); })();
|
|
7995
8021
|
|
|
7996
|
-
const _c0$
|
|
8022
|
+
const _c0$l = ["codeEditor"];
|
|
7997
8023
|
function DrCodeEditorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
7998
8024
|
i0.ɵɵelementStart(0, "span", 4);
|
|
7999
8025
|
i0.ɵɵtext(1);
|
|
@@ -8272,7 +8298,7 @@ class DrCodeEditorComponent {
|
|
|
8272
8298
|
}
|
|
8273
8299
|
/** @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
8300
|
/** @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$
|
|
8301
|
+
i0.ɵɵviewQuery(_c0$l, 5);
|
|
8276
8302
|
} if (rf & 2) {
|
|
8277
8303
|
let _t;
|
|
8278
8304
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.codeEditor = _t.first);
|
|
@@ -9040,7 +9066,7 @@ const getAlignmentDimension = (position) => {
|
|
|
9040
9066
|
return DrPopoverAlignmentDimension.Width;
|
|
9041
9067
|
};
|
|
9042
9068
|
|
|
9043
|
-
const _c0$
|
|
9069
|
+
const _c0$k = ["popoverContainer"];
|
|
9044
9070
|
function DrPopoverComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
9045
9071
|
i0.ɵɵelementContainer(0);
|
|
9046
9072
|
} }
|
|
@@ -9130,7 +9156,7 @@ class DrPopoverComponent {
|
|
|
9130
9156
|
}
|
|
9131
9157
|
/** @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
9158
|
/** @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$
|
|
9159
|
+
i0.ɵɵviewQuery(_c0$k, 7, ElementRef);
|
|
9134
9160
|
} if (rf & 2) {
|
|
9135
9161
|
let _t;
|
|
9136
9162
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverContainer = _t.first);
|
|
@@ -9453,7 +9479,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
9453
9479
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9454
9480
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9455
9481
|
};
|
|
9456
|
-
const _c0$
|
|
9482
|
+
const _c0$j = ["menuContainer"];
|
|
9457
9483
|
function DrDropdownComponent_dr_dropdown_item_4_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
9458
9484
|
i0.ɵɵelement(0, "i", 11);
|
|
9459
9485
|
} if (rf & 2) {
|
|
@@ -9649,7 +9675,7 @@ class DrDropdownComponent {
|
|
|
9649
9675
|
}
|
|
9650
9676
|
/** @nocollapse */ static { this.ɵfac = function DrDropdownComponent_Factory(t) { return new (t || DrDropdownComponent)(); }; }
|
|
9651
9677
|
/** @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$
|
|
9678
|
+
i0.ɵɵviewQuery(_c0$j, 7);
|
|
9653
9679
|
} if (rf & 2) {
|
|
9654
9680
|
let _t;
|
|
9655
9681
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
|
|
@@ -9888,7 +9914,7 @@ class DrDropdownChildDirective {
|
|
|
9888
9914
|
}]
|
|
9889
9915
|
}], null, null); })();
|
|
9890
9916
|
|
|
9891
|
-
const _c0$
|
|
9917
|
+
const _c0$i = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
|
|
9892
9918
|
const _c1$8 = ["[dropdownItemContent]", "[dropdownItemActions]"];
|
|
9893
9919
|
class DrDropdownItemComponent {
|
|
9894
9920
|
constructor() {
|
|
@@ -9898,7 +9924,7 @@ class DrDropdownItemComponent {
|
|
|
9898
9924
|
/** @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
9925
|
i0.ɵɵattribute("role", ctx.role);
|
|
9900
9926
|
} }, 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$
|
|
9927
|
+
i0.ɵɵprojectionDef(_c0$i);
|
|
9902
9928
|
i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
|
|
9903
9929
|
i0.ɵɵprojection(2);
|
|
9904
9930
|
i0.ɵɵelementEnd();
|
|
@@ -9940,7 +9966,7 @@ class DrDropdownItemShowPipe {
|
|
|
9940
9966
|
function DrTabComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
9941
9967
|
i0.ɵɵprojection(0);
|
|
9942
9968
|
} }
|
|
9943
|
-
const _c0$
|
|
9969
|
+
const _c0$h = ["*"];
|
|
9944
9970
|
class DrTabComponent {
|
|
9945
9971
|
constructor() { }
|
|
9946
9972
|
ngOnInit() { }
|
|
@@ -9950,7 +9976,7 @@ class DrTabComponent {
|
|
|
9950
9976
|
} if (rf & 2) {
|
|
9951
9977
|
let _t;
|
|
9952
9978
|
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$
|
|
9979
|
+
} }, 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
9980
|
i0.ɵɵprojectionDef();
|
|
9955
9981
|
i0.ɵɵtemplate(0, DrTabComponent_ng_template_0_Template, 1, 0, "ng-template");
|
|
9956
9982
|
} }, encapsulation: 2 }); }
|
|
@@ -10225,7 +10251,7 @@ class DrTabsComponent {
|
|
|
10225
10251
|
args: [DrTabComponent]
|
|
10226
10252
|
}] }); })();
|
|
10227
10253
|
|
|
10228
|
-
const _c0$
|
|
10254
|
+
const _c0$g = [[["dr-accordion-item"]]];
|
|
10229
10255
|
const _c1$7 = ["dr-accordion-item"];
|
|
10230
10256
|
class DrAccordionComponent {
|
|
10231
10257
|
constructor() {
|
|
@@ -10260,7 +10286,7 @@ class DrAccordionComponent {
|
|
|
10260
10286
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionComponent, selectors: [["dr-accordion"]], hostVars: 2, hostBindings: function DrAccordionComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10261
10287
|
i0.ɵɵclassMap(ctx.theme);
|
|
10262
10288
|
} }, 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$
|
|
10289
|
+
i0.ɵɵprojectionDef(_c0$g);
|
|
10264
10290
|
i0.ɵɵprojection(0);
|
|
10265
10291
|
} }, styles: ["[_nghost-%COMP%]{display:block;box-shadow:#2c33491a 0 5px 10px}.borderless[_nghost-%COMP%]{box-shadow:none}"], changeDetection: 0 }); }
|
|
10266
10292
|
}
|
|
@@ -10277,7 +10303,7 @@ class DrAccordionComponent {
|
|
|
10277
10303
|
args: ['class']
|
|
10278
10304
|
}] }); })();
|
|
10279
10305
|
|
|
10280
|
-
const _c0$
|
|
10306
|
+
const _c0$f = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
|
|
10281
10307
|
const _c1$6 = ["dr-accordion-item-header", "dr-accordion-item-body"];
|
|
10282
10308
|
class DrAccordionItemComponent {
|
|
10283
10309
|
/**
|
|
@@ -10379,7 +10405,7 @@ class DrAccordionItemComponent {
|
|
|
10379
10405
|
/** @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
10406
|
i0.ɵɵclassProp("collapsed", ctx.collapsed)("expanded", ctx.expanded)("disabled", ctx.disabled);
|
|
10381
10407
|
} }, 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$
|
|
10408
|
+
i0.ɵɵprojectionDef(_c0$f);
|
|
10383
10409
|
i0.ɵɵprojection(0);
|
|
10384
10410
|
i0.ɵɵprojection(1, 1);
|
|
10385
10411
|
} }, 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 +10447,7 @@ function DrAccordionItemHeaderComponent_i_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
10421
10447
|
i0.ɵɵclassMap("dr-accordion-item-header-icon " + ctx_r0.icon);
|
|
10422
10448
|
i0.ɵɵclassProp("dr-accordion-item-header-icon--additional-padding", ctx_r0.chevronPosition === "left");
|
|
10423
10449
|
} }
|
|
10424
|
-
const _c0$
|
|
10450
|
+
const _c0$e = function (a0) { return { rotationDegree: a0 }; };
|
|
10425
10451
|
const _c1$5 = function (a0, a1) { return { value: a0, params: a1 }; };
|
|
10426
10452
|
function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
10427
10453
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
@@ -10431,7 +10457,7 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10431
10457
|
} if (rf & 2) {
|
|
10432
10458
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
10433
10459
|
i0.ɵɵclassMap(ctx_r1.chevronIconClass);
|
|
10434
|
-
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$5, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$
|
|
10460
|
+
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$5, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$e, ctx_r1.chevronRotationDegree)));
|
|
10435
10461
|
} }
|
|
10436
10462
|
const _c2$2 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
|
|
10437
10463
|
const _c3$1 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
|
|
@@ -10560,7 +10586,7 @@ class DrAccordionItemHeaderComponent {
|
|
|
10560
10586
|
args: ['keydown.enter']
|
|
10561
10587
|
}] }); })();
|
|
10562
10588
|
|
|
10563
|
-
const _c0$
|
|
10589
|
+
const _c0$d = function (a0) { return { value: a0 }; };
|
|
10564
10590
|
const _c1$4 = ["*"];
|
|
10565
10591
|
const accordionItemBodyTrigger = trigger('accordionItemBody', [
|
|
10566
10592
|
state('collapsed', style({
|
|
@@ -10598,7 +10624,7 @@ class DrAccordionItemBodyComponent {
|
|
|
10598
10624
|
i0.ɵɵprojection(2);
|
|
10599
10625
|
i0.ɵɵelementEnd()();
|
|
10600
10626
|
} if (rf & 2) {
|
|
10601
|
-
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$
|
|
10627
|
+
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$d, ctx.state));
|
|
10602
10628
|
} }, styles: [".item-body[_ngcontent-%COMP%]{flex:1;-ms-flex:1 1 auto;overflow:auto;position:relative}"], data: { animation: [accordionItemBodyTrigger] }, changeDetection: 0 }); }
|
|
10603
10629
|
}
|
|
10604
10630
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAccordionItemBodyComponent, [{
|
|
@@ -10614,13 +10640,13 @@ class DrAccordionItemBodyComponent {
|
|
|
10614
10640
|
type: Host
|
|
10615
10641
|
}] }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
10616
10642
|
|
|
10617
|
-
const _c0$
|
|
10643
|
+
const _c0$c = [[["dr-layout-header"]], [["dr-layout-body"]]];
|
|
10618
10644
|
const _c1$3 = ["dr-layout-header", "dr-layout-body"];
|
|
10619
10645
|
class DrLayoutComponent {
|
|
10620
10646
|
constructor() { }
|
|
10621
10647
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutComponent_Factory(t) { return new (t || DrLayoutComponent)(); }; }
|
|
10622
10648
|
/** @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$
|
|
10649
|
+
i0.ɵɵprojectionDef(_c0$c);
|
|
10624
10650
|
i0.ɵɵelementStart(0, "div", 0);
|
|
10625
10651
|
i0.ɵɵprojection(1);
|
|
10626
10652
|
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3);
|
|
@@ -10633,11 +10659,11 @@ class DrLayoutComponent {
|
|
|
10633
10659
|
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
10660
|
}], function () { return []; }, null); })();
|
|
10635
10661
|
|
|
10636
|
-
const _c0$
|
|
10662
|
+
const _c0$b = ["*"];
|
|
10637
10663
|
class DrLayoutHeaderComponent {
|
|
10638
10664
|
constructor() { }
|
|
10639
10665
|
/** @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$
|
|
10666
|
+
/** @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
10667
|
i0.ɵɵprojectionDef();
|
|
10642
10668
|
i0.ɵɵelementStart(0, "nav");
|
|
10643
10669
|
i0.ɵɵprojection(1);
|
|
@@ -10656,11 +10682,11 @@ class DrLayoutHeaderComponent {
|
|
|
10656
10682
|
}]
|
|
10657
10683
|
}], function () { return []; }, null); })();
|
|
10658
10684
|
|
|
10659
|
-
const _c0$
|
|
10685
|
+
const _c0$a = ["*"];
|
|
10660
10686
|
class DrLayoutBodyComponent {
|
|
10661
10687
|
constructor() { }
|
|
10662
10688
|
/** @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$
|
|
10689
|
+
/** @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
10690
|
i0.ɵɵprojectionDef();
|
|
10665
10691
|
i0.ɵɵprojection(0);
|
|
10666
10692
|
} }, encapsulation: 2 }); }
|
|
@@ -10682,7 +10708,7 @@ function DrDetailsListComponent_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
10682
10708
|
i0.ɵɵadvance(1);
|
|
10683
10709
|
i0.ɵɵtextInterpolate(item_r1);
|
|
10684
10710
|
} }
|
|
10685
|
-
const _c0$
|
|
10711
|
+
const _c0$9 = function (a0) { return { value: a0 }; };
|
|
10686
10712
|
class DrDetailsListComponent {
|
|
10687
10713
|
set items(val) {
|
|
10688
10714
|
if (!val) {
|
|
@@ -10729,7 +10755,7 @@ class DrDetailsListComponent {
|
|
|
10729
10755
|
i0.ɵɵadvance(1);
|
|
10730
10756
|
i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
|
|
10731
10757
|
i0.ɵɵadvance(1);
|
|
10732
|
-
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$
|
|
10758
|
+
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$9, ctx.state));
|
|
10733
10759
|
i0.ɵɵadvance(1);
|
|
10734
10760
|
i0.ɵɵproperty("ngForOf", ctx.list);
|
|
10735
10761
|
} }, 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 +10799,7 @@ class DrDetailsListComponent {
|
|
|
10773
10799
|
type: Input
|
|
10774
10800
|
}] }); })();
|
|
10775
10801
|
|
|
10776
|
-
const _c0$
|
|
10802
|
+
const _c0$8 = ["content"];
|
|
10777
10803
|
const _c1$2 = function (a0, a1) { return { "dr-icon-maximize": a0, "dr-icon-minimize": a1 }; };
|
|
10778
10804
|
function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
10779
10805
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
@@ -10968,7 +10994,7 @@ class DialogWrapperComponent {
|
|
|
10968
10994
|
}
|
|
10969
10995
|
/** @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
10996
|
/** @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$
|
|
10997
|
+
i0.ɵɵviewQuery(_c0$8, 5, ViewContainerRef);
|
|
10972
10998
|
} if (rf & 2) {
|
|
10973
10999
|
let _t;
|
|
10974
11000
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
|
|
@@ -11171,7 +11197,7 @@ function DialogModalWrapperComponent_form_7_div_2_label_9_Template(rf, ctx) { if
|
|
|
11171
11197
|
i0.ɵɵadvance(1);
|
|
11172
11198
|
i0.ɵɵtextInterpolate1(" ", ctx_r19.dialogData.serverErrorMessage, " ");
|
|
11173
11199
|
} }
|
|
11174
|
-
const _c0$
|
|
11200
|
+
const _c0$7 = function (a0) { return { display: a0 }; };
|
|
11175
11201
|
const _c1$1 = function (a0, a1) { return { "col-md-10": a0, "col-md-12": a1 }; };
|
|
11176
11202
|
function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
11177
11203
|
i0.ɵɵelementStart(0, "div", 16);
|
|
@@ -11189,7 +11215,7 @@ function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1
|
|
|
11189
11215
|
const field_r11 = ctx.$implicit;
|
|
11190
11216
|
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
11191
11217
|
i0.ɵɵclassMap(field_r11.formGroupClass);
|
|
11192
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$
|
|
11218
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$7, field_r11.isLabelFullWidth ? "block" : "flex"));
|
|
11193
11219
|
i0.ɵɵadvance(1);
|
|
11194
11220
|
i0.ɵɵproperty("ngIf", field_r11.label && field_r11.type !== ctx_r10.dialogFieldType.CHECKBOX);
|
|
11195
11221
|
i0.ɵɵadvance(1);
|
|
@@ -11888,7 +11914,7 @@ function TreeviewItemComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
11888
11914
|
i0.ɵɵadvance(1);
|
|
11889
11915
|
i0.ɵɵproperty("ngForOf", ctx_r2.item.children);
|
|
11890
11916
|
} }
|
|
11891
|
-
const _c0$
|
|
11917
|
+
const _c0$6 = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
|
|
11892
11918
|
function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
11893
11919
|
i0.ɵɵelementStart(0, "div", 1);
|
|
11894
11920
|
i0.ɵɵtemplate(1, TreeviewItemComponent_div_0_ng_template_1_Template, 0, 0, "ng-template", 2);
|
|
@@ -11897,7 +11923,7 @@ function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
11897
11923
|
} if (rf & 2) {
|
|
11898
11924
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
11899
11925
|
i0.ɵɵadvance(1);
|
|
11900
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$
|
|
11926
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$6, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
|
|
11901
11927
|
i0.ɵɵadvance(1);
|
|
11902
11928
|
i0.ɵɵproperty("ngIf", !ctx_r0.item.collapsed);
|
|
11903
11929
|
} }
|
|
@@ -13186,7 +13212,7 @@ class DrImageCropperCanvasService {
|
|
|
13186
13212
|
type: Injectable
|
|
13187
13213
|
}], null, null); })();
|
|
13188
13214
|
|
|
13189
|
-
const _c0$
|
|
13215
|
+
const _c0$5 = ["imageCanvas"];
|
|
13190
13216
|
class DrImageCropperComponent {
|
|
13191
13217
|
constructor(canvasService) {
|
|
13192
13218
|
this.canvasService = canvasService;
|
|
@@ -13244,7 +13270,7 @@ class DrImageCropperComponent {
|
|
|
13244
13270
|
}
|
|
13245
13271
|
/** @nocollapse */ static { this.ɵfac = function DrImageCropperComponent_Factory(t) { return new (t || DrImageCropperComponent)(i0.ɵɵdirectiveInject(DrImageCropperCanvasService)); }; }
|
|
13246
13272
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrImageCropperComponent, selectors: [["dr-image-cropper"]], viewQuery: function DrImageCropperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13247
|
-
i0.ɵɵviewQuery(_c0$
|
|
13273
|
+
i0.ɵɵviewQuery(_c0$5, 7);
|
|
13248
13274
|
} if (rf & 2) {
|
|
13249
13275
|
let _t;
|
|
13250
13276
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.canvasElement = _t.first);
|
|
@@ -13687,13 +13713,13 @@ function DrChipComponent_i_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13687
13713
|
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)); });
|
|
13688
13714
|
i0.ɵɵelementEnd();
|
|
13689
13715
|
} }
|
|
13690
|
-
const _c0$
|
|
13716
|
+
const _c0$4 = ["*"];
|
|
13691
13717
|
class DrChipComponent {
|
|
13692
13718
|
constructor() {
|
|
13693
13719
|
this.remove = new EventEmitter();
|
|
13694
13720
|
}
|
|
13695
13721
|
/** @nocollapse */ static { this.ɵfac = function DrChipComponent_Factory(t) { return new (t || DrChipComponent)(); }; }
|
|
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$
|
|
13722
|
+
/** @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) {
|
|
13697
13723
|
i0.ɵɵprojectionDef();
|
|
13698
13724
|
i0.ɵɵtemplate(0, DrChipComponent_i_0_Template, 1, 2, "i", 0);
|
|
13699
13725
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -13724,7 +13750,7 @@ class DrChipComponent {
|
|
|
13724
13750
|
type: Output
|
|
13725
13751
|
}] }); })();
|
|
13726
13752
|
|
|
13727
|
-
const _c0$
|
|
13753
|
+
const _c0$3 = ["carouselContainer"];
|
|
13728
13754
|
const _c1 = ["carouselItem"];
|
|
13729
13755
|
function DrGalleryComponent_dr_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
13730
13756
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -13950,7 +13976,7 @@ class DrGalleryComponent {
|
|
|
13950
13976
|
let _t;
|
|
13951
13977
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
|
|
13952
13978
|
} }, viewQuery: function DrGalleryComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13953
|
-
i0.ɵɵviewQuery(_c0$
|
|
13979
|
+
i0.ɵɵviewQuery(_c0$3, 5);
|
|
13954
13980
|
i0.ɵɵviewQuery(_c1, 5);
|
|
13955
13981
|
} if (rf & 2) {
|
|
13956
13982
|
let _t;
|
|
@@ -14012,7 +14038,7 @@ function DrProgressBarComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14012
14038
|
i0.ɵɵadvance(1);
|
|
14013
14039
|
i0.ɵɵtextInterpolate1("", ctx_r0.progress || 0, "%");
|
|
14014
14040
|
} }
|
|
14015
|
-
const _c0$
|
|
14041
|
+
const _c0$2 = ["*"];
|
|
14016
14042
|
class DrProgressBarComponent {
|
|
14017
14043
|
constructor() {
|
|
14018
14044
|
/**
|
|
@@ -14021,7 +14047,7 @@ class DrProgressBarComponent {
|
|
|
14021
14047
|
this.showValue = true;
|
|
14022
14048
|
}
|
|
14023
14049
|
/** @nocollapse */ static { this.ɵfac = function DrProgressBarComponent_Factory(t) { return new (t || DrProgressBarComponent)(); }; }
|
|
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$
|
|
14050
|
+
/** @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) {
|
|
14025
14051
|
i0.ɵɵprojectionDef();
|
|
14026
14052
|
i0.ɵɵelementStart(0, "div", 0);
|
|
14027
14053
|
i0.ɵɵelement(1, "div", 1);
|
|
@@ -14113,7 +14139,7 @@ class BottomPositionStrategy {
|
|
|
14113
14139
|
}
|
|
14114
14140
|
}
|
|
14115
14141
|
|
|
14116
|
-
const _c0 = ["handleRef"];
|
|
14142
|
+
const _c0$1 = ["handleRef"];
|
|
14117
14143
|
function DrawerContainer_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14118
14144
|
i0.ɵɵelement(0, "div", 3, 4);
|
|
14119
14145
|
} }
|
|
@@ -14227,7 +14253,7 @@ class DrawerContainer extends CdkDialogContainer {
|
|
|
14227
14253
|
/** @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)); }; }
|
|
14228
14254
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrawerContainer, selectors: [["dr-drawer-container"]], viewQuery: function DrawerContainer_Query(rf, ctx) { if (rf & 1) {
|
|
14229
14255
|
i0.ɵɵviewQuery(CdkPortalOutlet, 7);
|
|
14230
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
14256
|
+
i0.ɵɵviewQuery(_c0$1, 5);
|
|
14231
14257
|
} if (rf & 2) {
|
|
14232
14258
|
let _t;
|
|
14233
14259
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._portalOutlet = _t.first);
|
|
@@ -14521,11 +14547,84 @@ class DrawerModule {
|
|
|
14521
14547
|
}], null, null); })();
|
|
14522
14548
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { imports: [DrawerContainer], exports: [DrawerContainer] }); })();
|
|
14523
14549
|
|
|
14550
|
+
class ElementOverflowDirective {
|
|
14551
|
+
get isOverflow() {
|
|
14552
|
+
return ((['horizontal', 'all'].includes(this.drElementOverflowType) &&
|
|
14553
|
+
this.el.nativeElement.scrollWidth > this.el.nativeElement.clientWidth) ||
|
|
14554
|
+
(['vertical', 'all'].includes(this.drElementOverflowType) &&
|
|
14555
|
+
this.el.nativeElement.scrollHeight > this.el.nativeElement.clientHeight));
|
|
14556
|
+
}
|
|
14557
|
+
constructor() {
|
|
14558
|
+
this.drElementOverflowChange = new EventEmitter();
|
|
14559
|
+
this.drElementOverflowType = 'all';
|
|
14560
|
+
this.destroy$ = new Subject();
|
|
14561
|
+
this.el = inject(ElementRef);
|
|
14562
|
+
inject(DestroyRef).onDestroy(() => {
|
|
14563
|
+
this.destroy$.next();
|
|
14564
|
+
this.destroy$.complete();
|
|
14565
|
+
});
|
|
14566
|
+
}
|
|
14567
|
+
ngOnInit() {
|
|
14568
|
+
fromEvent(window, 'resize')
|
|
14569
|
+
.pipe(startWith(null), throttleTime(200, undefined, { leading: true, trailing: true }), takeUntil(this.destroy$), observeOn(asyncScheduler))
|
|
14570
|
+
.subscribe(() => {
|
|
14571
|
+
if (this.drElementOverflow !== this.isOverflow) {
|
|
14572
|
+
this.drElementOverflow = this.isOverflow;
|
|
14573
|
+
this.drElementOverflowChange.emit(this.isOverflow);
|
|
14574
|
+
}
|
|
14575
|
+
});
|
|
14576
|
+
}
|
|
14577
|
+
/** @nocollapse */ static { this.ɵfac = function ElementOverflowDirective_Factory(t) { return new (t || ElementOverflowDirective)(); }; }
|
|
14578
|
+
/** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: ElementOverflowDirective, selectors: [["", "drElementOverflow", ""]], inputs: { drElementOverflow: "drElementOverflow", drElementOverflowType: "drElementOverflowType" }, outputs: { drElementOverflowChange: "drElementOverflowChange" }, exportAs: ["textOverflow"], standalone: true }); }
|
|
14579
|
+
}
|
|
14580
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ElementOverflowDirective, [{
|
|
14581
|
+
type: Directive,
|
|
14582
|
+
args: [{
|
|
14583
|
+
selector: '[drElementOverflow]',
|
|
14584
|
+
standalone: true,
|
|
14585
|
+
exportAs: 'textOverflow',
|
|
14586
|
+
}]
|
|
14587
|
+
}], function () { return []; }, { drElementOverflow: [{
|
|
14588
|
+
type: Input
|
|
14589
|
+
}], drElementOverflowChange: [{
|
|
14590
|
+
type: Output
|
|
14591
|
+
}], drElementOverflowType: [{
|
|
14592
|
+
type: Input
|
|
14593
|
+
}] }); })();
|
|
14594
|
+
|
|
14595
|
+
const _c0 = ["*"];
|
|
14596
|
+
class TextOverflowComponent {
|
|
14597
|
+
constructor() {
|
|
14598
|
+
this.overflowType = 'horizontal';
|
|
14599
|
+
this.showTooltip = true;
|
|
14600
|
+
this.isOverflow = false;
|
|
14601
|
+
}
|
|
14602
|
+
/** @nocollapse */ static { this.ɵfac = function TextOverflowComponent_Factory(t) { return new (t || TextOverflowComponent)(); }; }
|
|
14603
|
+
/** @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) {
|
|
14604
|
+
i0.ɵɵprojectionDef();
|
|
14605
|
+
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
14606
|
+
i0.ɵɵlistener("drElementOverflowChange", function TextOverflowComponent_Template_div_drElementOverflowChange_0_listener($event) { return ctx.isOverflow = $event; });
|
|
14607
|
+
i0.ɵɵprojection(2);
|
|
14608
|
+
i0.ɵɵelementEnd();
|
|
14609
|
+
} if (rf & 2) {
|
|
14610
|
+
const _r0 = i0.ɵɵreference(1);
|
|
14611
|
+
i0.ɵɵproperty("drElementOverflow", ctx.isOverflow)("drElementOverflowType", ctx.overflowType)("drTooltip", ctx.showTooltip && ctx.isOverflow && _r0.innerText);
|
|
14612
|
+
} }, 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 }); }
|
|
14613
|
+
}
|
|
14614
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextOverflowComponent, [{
|
|
14615
|
+
type: Component,
|
|
14616
|
+
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"] }]
|
|
14617
|
+
}], null, { overflowType: [{
|
|
14618
|
+
type: Input
|
|
14619
|
+
}], showTooltip: [{
|
|
14620
|
+
type: Input
|
|
14621
|
+
}] }); })();
|
|
14622
|
+
|
|
14524
14623
|
/* components */
|
|
14525
14624
|
|
|
14526
14625
|
/**
|
|
14527
14626
|
* Generated bundle index. Do not edit.
|
|
14528
14627
|
*/
|
|
14529
14628
|
|
|
14530
|
-
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 };
|
|
14629
|
+
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 };
|
|
14531
14630
|
//# sourceMappingURL=datarailsshared-datarailsshared.mjs.map
|