@datarailsshared/datarailsshared 1.5.572 → 1.5.576

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.
@@ -10,11 +10,11 @@ import * as i1$2 from '@angular/forms';
10
10
  import { NG_VALUE_ACCESSOR, FormBuilder, FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
11
11
  import { Observable, BehaviorSubject, distinctUntilChanged, Subject, startWith, takeUntil, combineLatest, noop as noop$3, 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
12
  import * as _ from 'lodash';
13
- import { cloneDeep, find, indexOf, reduce, isObject, isNil, map as map$1, isNumber, merge, forEach, some, orderBy, filter as filter$2, includes, pull, concat, isString, isBoolean } from 'lodash';
13
+ 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';
14
14
  import { skip, takeUntil as takeUntil$1, startWith as startWith$1, distinctUntilChanged as distinctUntilChanged$1, map, tap, shareReplay, filter, debounceTime, switchMap, first, catchError, finalize, take } from 'rxjs/operators';
15
15
  import * as i5 from '@angular/material/datepicker';
16
16
  import { MatCalendar, DateRange, MAT_DATE_RANGE_SELECTION_STRATEGY, MatDatepickerModule } from '@angular/material/datepicker';
17
- import { transition, style, animate, trigger, state } from '@angular/animations';
17
+ import { transition, style, animate, trigger, state, query, animateChild } from '@angular/animations';
18
18
  import * as i1$1 from '@angular/cdk/overlay';
19
19
  import { OverlayConfig } from '@angular/cdk/overlay';
20
20
  import * as i4 from '@angular/cdk/portal';
@@ -206,6 +206,32 @@ class DrSharedUtils {
206
206
  static { this.normalizeLineEndings = (str) => {
207
207
  return str ? str.replace(/\r\n|\r/g, '\n') : str;
208
208
  }; }
209
+ static { this.isLocalhost = () => window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'; }
210
+ static { this.getRouteDataAttributeValue = (activatedRoute, attribute, defaultValue) => {
211
+ if (activatedRoute.snapshot.data.hasOwnProperty(attribute)) {
212
+ defaultValue = activatedRoute.snapshot.data[attribute];
213
+ }
214
+ if (activatedRoute?.children?.length) {
215
+ activatedRoute.children.forEach((child) => {
216
+ defaultValue = DrSharedUtils.getRouteDataAttributeValue(child, attribute, defaultValue);
217
+ });
218
+ }
219
+ return defaultValue;
220
+ }; }
221
+ static { this.getProperty = (value, key) => {
222
+ if (isNil(value) || !isObject(value)) {
223
+ return undefined;
224
+ }
225
+ const keys = key.split('.');
226
+ let result = value[keys.shift()];
227
+ for (const k of keys) {
228
+ if (isNil(result) || !isObject(result)) {
229
+ return undefined;
230
+ }
231
+ result = result[k];
232
+ }
233
+ return result;
234
+ }; }
209
235
  }
210
236
 
211
237
  class DrDatePickerService {
@@ -612,7 +638,7 @@ var TooltipTheme;
612
638
  TooltipTheme["DARK"] = "dark";
613
639
  })(TooltipTheme || (TooltipTheme = {}));
614
640
 
615
- const _c0$F = ["*"];
641
+ const _c0$G = ["*"];
616
642
  class TooltipDefaultComponent {
617
643
  constructor() {
618
644
  this.theme = TooltipTheme.LIGHT;
@@ -620,7 +646,7 @@ class TooltipDefaultComponent {
620
646
  /** @nocollapse */ static { this.ɵfac = function TooltipDefaultComponent_Factory(t) { return new (t || TooltipDefaultComponent)(); }; }
621
647
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipDefaultComponent, selectors: [["dr-tooltip-default"]], hostVars: 2, hostBindings: function TooltipDefaultComponent_HostBindings(rf, ctx) { if (rf & 2) {
622
648
  i0.ɵɵclassMap(ctx.theme);
623
- } }, inputs: { content: "content", theme: "theme" }, ngContentSelectors: _c0$F, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
649
+ } }, inputs: { content: "content", theme: "theme" }, ngContentSelectors: _c0$G, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
624
650
  i0.ɵɵprojectionDef();
625
651
  i0.ɵɵelement(0, "span", 0);
626
652
  i0.ɵɵprojection(1);
@@ -661,7 +687,7 @@ function TooltipComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
661
687
  const ctx_r3 = i0.ɵɵnextContext();
662
688
  i0.ɵɵproperty("content", ctx_r3.content)("theme", ctx_r3.theme);
663
689
  } }
664
- const _c0$E = function (a0) { return { "dr-tooltip": a0 }; };
690
+ const _c0$F = function (a0) { return { "dr-tooltip": a0 }; };
665
691
  class TooltipComponent {
666
692
  constructor() {
667
693
  this.isContentTemplate = false;
@@ -688,7 +714,7 @@ class TooltipComponent {
688
714
  } if (rf & 2) {
689
715
  const _r2 = i0.ɵɵreference(4);
690
716
  i0.ɵɵclassMap(ctx.position + " " + ctx.class + " " + ctx.theme);
691
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$E, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
717
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$F, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
692
718
  i0.ɵɵadvance(1);
693
719
  i0.ɵɵproperty("ngIf", !(ctx.options == null ? null : ctx.options.withoutArrow));
694
720
  i0.ɵɵadvance(1);
@@ -991,11 +1017,11 @@ class DrSpinnerDirective {
991
1017
  type: Input
992
1018
  }] }); })();
993
1019
 
994
- const _c0$D = ["labelTemplate"];
995
- const _c1$g = ["multiLabelTemplate"];
996
- const _c2$6 = ["optionTemplate"];
997
- const _c3$5 = ["optionHeaderTemplate"];
998
- const _c4$2 = ["optionFooterTemplate"];
1020
+ const _c0$E = ["labelTemplate"];
1021
+ const _c1$h = ["multiLabelTemplate"];
1022
+ const _c2$7 = ["optionTemplate"];
1023
+ const _c3$6 = ["optionHeaderTemplate"];
1024
+ const _c4$3 = ["optionFooterTemplate"];
999
1025
  const _c5 = function (a0) { return { item: a0 }; };
1000
1026
  function DrSelectComponent_2_ng_template_0_Template(rf, ctx) { if (rf & 1) {
1001
1027
  i0.ɵɵelementContainer(0, 6);
@@ -1207,11 +1233,11 @@ class DrSelectComponent {
1207
1233
  }
1208
1234
  /** @nocollapse */ static { this.ɵfac = function DrSelectComponent_Factory(t) { return new (t || DrSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
1209
1235
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1210
- i0.ɵɵcontentQuery(dirIndex, _c0$D, 5);
1211
- i0.ɵɵcontentQuery(dirIndex, _c1$g, 5);
1212
- i0.ɵɵcontentQuery(dirIndex, _c2$6, 5);
1213
- i0.ɵɵcontentQuery(dirIndex, _c3$5, 5);
1214
- i0.ɵɵcontentQuery(dirIndex, _c4$2, 5);
1236
+ i0.ɵɵcontentQuery(dirIndex, _c0$E, 5);
1237
+ i0.ɵɵcontentQuery(dirIndex, _c1$h, 5);
1238
+ i0.ɵɵcontentQuery(dirIndex, _c2$7, 5);
1239
+ i0.ɵɵcontentQuery(dirIndex, _c3$6, 5);
1240
+ i0.ɵɵcontentQuery(dirIndex, _c4$3, 5);
1215
1241
  } if (rf & 2) {
1216
1242
  let _t;
1217
1243
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.labelTemplate = _t.first);
@@ -1388,8 +1414,8 @@ class DrShowTimeframePipe {
1388
1414
  }]
1389
1415
  }], null, null); })();
1390
1416
 
1391
- const _c0$C = ["class", "component"];
1392
- const _c1$f = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
1417
+ const _c0$D = ["class", "component"];
1418
+ const _c1$g = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
1393
1419
  function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
1394
1420
  const _r6 = i0.ɵɵgetCurrentView();
1395
1421
  i0.ɵɵelementStart(0, "div", 14);
@@ -1399,7 +1425,7 @@ function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) {
1399
1425
  } if (rf & 2) {
1400
1426
  const tag_r4 = ctx.$implicit;
1401
1427
  const ctx_r3 = i0.ɵɵnextContext(3);
1402
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$f, tag_r4.key === ctx_r3.selectedPresetTag))("drTooltip", ctx_r3.selectedPresetTag === tag_r4.key ? "Unselect preset" : "")("drTooltipPosition", "top");
1428
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$g, tag_r4.key === ctx_r3.selectedPresetTag))("drTooltip", ctx_r3.selectedPresetTag === tag_r4.key ? "Unselect preset" : "")("drTooltipPosition", "top");
1403
1429
  i0.ɵɵadvance(1);
1404
1430
  i0.ɵɵtextInterpolate1(" ", tag_r4.label, " ");
1405
1431
  } }
@@ -1657,7 +1683,7 @@ class DrDatePickerCustomHeaderComponent {
1657
1683
  calendar.insertBefore(selector.location.nativeElement, calendar.firstChild);
1658
1684
  }
1659
1685
  /** @nocollapse */ static { this.ɵfac = function DrDatePickerCustomHeaderComponent_Factory(t) { return new (t || DrDatePickerCustomHeaderComponent)(i0.ɵɵdirectiveInject(i5.MatCalendar), i0.ɵɵdirectiveInject(i1$3.DateAdapter), i0.ɵɵdirectiveInject(MAT_DATE_FORMATS), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
1660
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$C, decls: 12, vars: 4, consts: [["class", "dr-datepicker__timeframe-select__wrapper", 4, "ngIf"], [1, "dr-date-paging"], [1, "dr-date-paging", "flip-page-button", 3, "click"], [1, "dr-icon-arrow-left", "presentation_buttons-navigate_input"], [1, "example-header-label"], [3, "click"], [1, "dr-icon-arrow-right", "presentation_buttons-navigate_input"], ["class", "dr-quarterly-datepicker", 4, "ngIf"], [1, "dr-datepicker__timeframe-select__wrapper"], ["class", "dr-datepicker-preset-date", 4, "ngIf"], ["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) {
1686
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$D, 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) {
1661
1687
  i0.ɵɵtemplate(0, DrDatePickerCustomHeaderComponent_div_0_Template, 4, 6, "div", 0);
1662
1688
  i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
1663
1689
  i0.ɵɵlistener("click", function DrDatePickerCustomHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
@@ -1770,7 +1796,7 @@ class DrDatePickerFormatDirective {
1770
1796
  args: ['drDatePickerFormat']
1771
1797
  }] }); })();
1772
1798
 
1773
- const _c0$B = ["datePicker"];
1799
+ const _c0$C = ["datePicker"];
1774
1800
  function DrDatePickerComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
1775
1801
  const _r5 = i0.ɵɵgetCurrentView();
1776
1802
  i0.ɵɵelementContainerStart(0);
@@ -2088,7 +2114,7 @@ class DrDatePickerComponent {
2088
2114
  }
2089
2115
  /** @nocollapse */ static { this.ɵfac = function DrDatePickerComponent_Factory(t) { return new (t || DrDatePickerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$3.DateAdapter), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
2090
2116
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerComponent, selectors: [["dr-date-picker"]], viewQuery: function DrDatePickerComponent_Query(rf, ctx) { if (rf & 1) {
2091
- i0.ɵɵviewQuery(_c0$B, 5);
2117
+ i0.ɵɵviewQuery(_c0$C, 5);
2092
2118
  } if (rf & 2) {
2093
2119
  let _t;
2094
2120
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePicker = _t.first);
@@ -3279,9 +3305,9 @@ class DrModelDebounceChangeDirective {
3279
3305
  type: Output
3280
3306
  }] }); })();
3281
3307
 
3282
- const _c0$A = ["prefix"];
3283
- const _c1$e = ["suffix"];
3284
- const _c2$5 = ["inputRef"];
3308
+ const _c0$B = ["prefix"];
3309
+ const _c1$f = ["suffix"];
3310
+ const _c2$6 = ["inputRef"];
3285
3311
  function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
3286
3312
  const _r8 = i0.ɵɵgetCurrentView();
3287
3313
  i0.ɵɵelementContainerStart(0);
@@ -3326,8 +3352,8 @@ function DrInputComponent_button_7_Template(rf, ctx) { if (rf & 1) {
3326
3352
  i0.ɵɵadvance(1);
3327
3353
  i0.ɵɵtextInterpolate1(" ", ctx_r5._buttonOptions.text, "\n");
3328
3354
  } }
3329
- const _c3$4 = [[["", "prefixIcon", ""]], [["", "suffixIcon", ""]]];
3330
- const _c4$1 = ["[prefixIcon]", "[suffixIcon]"];
3355
+ const _c3$5 = [[["", "prefixIcon", ""]], [["", "suffixIcon", ""]]];
3356
+ const _c4$2 = ["[prefixIcon]", "[suffixIcon]"];
3331
3357
  class DrInputComponent {
3332
3358
  set disabled(value) {
3333
3359
  this.setDisabledState(value);
@@ -3489,14 +3515,14 @@ class DrInputComponent {
3489
3515
  }
3490
3516
  /** @nocollapse */ static { this.ɵfac = function DrInputComponent_Factory(t) { return new (t || DrInputComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
3491
3517
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrInputComponent, selectors: [["dr-input"]], contentQueries: function DrInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
3492
- i0.ɵɵcontentQuery(dirIndex, _c0$A, 5);
3493
- i0.ɵɵcontentQuery(dirIndex, _c1$e, 5);
3518
+ i0.ɵɵcontentQuery(dirIndex, _c0$B, 5);
3519
+ i0.ɵɵcontentQuery(dirIndex, _c1$f, 5);
3494
3520
  } if (rf & 2) {
3495
3521
  let _t;
3496
3522
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.prefixIcon = _t.first);
3497
3523
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suffixIcon = _t.first);
3498
3524
  } }, viewQuery: function DrInputComponent_Query(rf, ctx) { if (rf & 1) {
3499
- i0.ɵɵviewQuery(_c2$5, 5);
3525
+ i0.ɵɵviewQuery(_c2$6, 5);
3500
3526
  } if (rf & 2) {
3501
3527
  let _t;
3502
3528
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
@@ -3510,8 +3536,8 @@ class DrInputComponent {
3510
3536
  useExisting: forwardRef((() => DrInputComponent)),
3511
3537
  multi: true,
3512
3538
  },
3513
- ])], ngContentSelectors: _c4$1, 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) {
3514
- i0.ɵɵprojectionDef(_c3$4);
3539
+ ])], ngContentSelectors: _c4$2, 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) {
3540
+ i0.ɵɵprojectionDef(_c3$5);
3515
3541
  i0.ɵɵprojection(0);
3516
3542
  i0.ɵɵtemplate(1, DrInputComponent_ng_container_1_Template, 3, 11, "ng-container", 0);
3517
3543
  i0.ɵɵtemplate(2, DrInputComponent_ng_template_2_Template, 2, 14, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
@@ -3630,7 +3656,7 @@ function DrButtonComponent_i_4_Template(rf, ctx) { if (rf & 1) {
3630
3656
  i0.ɵɵclassMap(ctx_r2.iconAfter);
3631
3657
  i0.ɵɵstyleProp("font-size", ctx_r2.iconAfterSize)("color", ctx_r2.iconAfterColor || "inherit");
3632
3658
  } }
3633
- const _c0$z = ["*"];
3659
+ const _c0$A = ["*"];
3634
3660
  class DrButtonComponent {
3635
3661
  constructor() {
3636
3662
  this.theme = 'primary';
@@ -3644,7 +3670,7 @@ class DrButtonComponent {
3644
3670
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrButtonComponent, selectors: [["dr-button"]], hostVars: 12, hostBindings: function DrButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
3645
3671
  i0.ɵɵclassMap(ctx.theme);
3646
3672
  i0.ɵɵclassProp("with-icon", ctx.icon)("with-icon-after", ctx.iconAfter)("disabled", ctx.disabled)("loading", ctx.isLoading)("active", ctx.isActive);
3647
- } }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, ngContentSelectors: _c0$z, 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) {
3673
+ } }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, ngContentSelectors: _c0$A, 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) {
3648
3674
  i0.ɵɵprojectionDef();
3649
3675
  i0.ɵɵelementStart(0, "button", 0);
3650
3676
  i0.ɵɵtemplate(1, DrButtonComponent_i_1_Template, 1, 6, "i", 1);
@@ -3705,7 +3731,7 @@ class DrButtonComponent {
3705
3731
  args: ['class.active']
3706
3732
  }] }); })();
3707
3733
 
3708
- const _c0$y = ["dynamicInputRef"];
3734
+ const _c0$z = ["dynamicInputRef"];
3709
3735
  function DrSelectAddItemComponent_div_5_p_1_Template(rf, ctx) { if (rf & 1) {
3710
3736
  i0.ɵɵelementStart(0, "p", 12);
3711
3737
  i0.ɵɵtext(1);
@@ -3795,7 +3821,7 @@ class DrSelectAddItemComponent {
3795
3821
  }
3796
3822
  /** @nocollapse */ static { this.ɵfac = function DrSelectAddItemComponent_Factory(t) { return new (t || DrSelectAddItemComponent)(i0.ɵɵdirectiveInject(DrSelectComponent)); }; }
3797
3823
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectAddItemComponent, selectors: [["dr-select-add-item"]], viewQuery: function DrSelectAddItemComponent_Query(rf, ctx) { if (rf & 1) {
3798
- i0.ɵɵviewQuery(_c0$y, 5);
3824
+ i0.ɵɵviewQuery(_c0$z, 5);
3799
3825
  } if (rf & 2) {
3800
3826
  let _t;
3801
3827
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);
@@ -4255,7 +4281,7 @@ class DrTagComponent {
4255
4281
  type: Output
4256
4282
  }] }); })();
4257
4283
 
4258
- const _c0$x = ["*"];
4284
+ const _c0$y = ["*"];
4259
4285
  class RadioButtonComponent {
4260
4286
  get disabled() {
4261
4287
  return this._disabled;
@@ -4306,7 +4332,7 @@ class RadioButtonComponent {
4306
4332
  useExisting: RadioButtonComponent,
4307
4333
  multi: true,
4308
4334
  },
4309
- ])], ngContentSelectors: _c0$x, decls: 4, vars: 4, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
4335
+ ])], ngContentSelectors: _c0$y, decls: 4, vars: 4, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
4310
4336
  i0.ɵɵprojectionDef();
4311
4337
  i0.ɵɵelementStart(0, "label")(1, "input", 0);
4312
4338
  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); });
@@ -4339,8 +4365,8 @@ class RadioButtonComponent {
4339
4365
  type: Input
4340
4366
  }] }); })();
4341
4367
 
4342
- const _c0$w = [[["dr-radio-button"]]];
4343
- const _c1$d = ["dr-radio-button"];
4368
+ const _c0$x = [[["dr-radio-button"]]];
4369
+ const _c1$e = ["dr-radio-button"];
4344
4370
  class RadioGroupComponent {
4345
4371
  get value() {
4346
4372
  return this._value;
@@ -4479,8 +4505,8 @@ class RadioGroupComponent {
4479
4505
  useExisting: forwardRef((() => RadioGroupComponent)),
4480
4506
  multi: true,
4481
4507
  },
4482
- ])], ngContentSelectors: _c1$d, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
4483
- i0.ɵɵprojectionDef(_c0$w);
4508
+ ])], ngContentSelectors: _c1$e, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
4509
+ i0.ɵɵprojectionDef(_c0$x);
4484
4510
  i0.ɵɵprojection(0);
4485
4511
  } }, encapsulation: 2, changeDetection: 0 }); }
4486
4512
  }
@@ -4517,8 +4543,8 @@ class RadioGroupComponent {
4517
4543
  type: Output
4518
4544
  }] }); })();
4519
4545
 
4520
- const _c0$v = ["checkboxContent"];
4521
- const _c1$c = ["*"];
4546
+ const _c0$w = ["checkboxContent"];
4547
+ const _c1$d = ["*"];
4522
4548
  class CheckboxComponent {
4523
4549
  get indeterminate() {
4524
4550
  return this._indeterminate;
@@ -4567,14 +4593,14 @@ class CheckboxComponent {
4567
4593
  }
4568
4594
  /** @nocollapse */ static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
4569
4595
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["dr-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
4570
- i0.ɵɵviewQuery(_c0$v, 5);
4596
+ i0.ɵɵviewQuery(_c0$w, 5);
4571
4597
  } if (rf & 2) {
4572
4598
  let _t;
4573
4599
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxContent = _t.first);
4574
4600
  } }, hostVars: 6, hostBindings: function CheckboxComponent_HostBindings(rf, ctx) { if (rf & 2) {
4575
4601
  i0.ɵɵclassMap(ctx.theme);
4576
4602
  i0.ɵɵclassProp("disabled", ctx.disabled)("text-nowrap", ctx.textNowrap);
4577
- } }, inputs: { checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }])], ngContentSelectors: _c1$c, decls: 5, vars: 8, consts: [["type", "checkbox", 3, "checked", "disabled", "change", "click"], [3, "drTooltip"], ["checkboxContent", ""]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
4603
+ } }, inputs: { checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }])], ngContentSelectors: _c1$d, decls: 5, vars: 8, consts: [["type", "checkbox", 3, "checked", "disabled", "change", "click"], [3, "drTooltip"], ["checkboxContent", ""]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
4578
4604
  i0.ɵɵprojectionDef();
4579
4605
  i0.ɵɵelementStart(0, "label")(1, "input", 0);
4580
4606
  i0.ɵɵlistener("change", function CheckboxComponent_Template_input_change_1_listener($event) { return ctx.setValue($event); })("click", function CheckboxComponent_Template_input_click_1_listener($event) { return $event.stopPropagation(); });
@@ -4623,7 +4649,7 @@ class CheckboxComponent {
4623
4649
  args: ['checkboxContent']
4624
4650
  }] }); })();
4625
4651
 
4626
- const _c0$u = ["*"];
4652
+ const _c0$v = ["*"];
4627
4653
  var LinkTheme;
4628
4654
  (function (LinkTheme) {
4629
4655
  LinkTheme["DEFAULT"] = "DEFAULT";
@@ -4639,7 +4665,7 @@ class DrLinkComponent {
4639
4665
  this.theme = LinkTheme.DEFAULT;
4640
4666
  }
4641
4667
  /** @nocollapse */ static { this.ɵfac = function DrLinkComponent_Factory(t) { return new (t || DrLinkComponent)(); }; }
4642
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$u, decls: 2, vars: 7, consts: [[1, "dr-link", 3, "href"]], template: function DrLinkComponent_Template(rf, ctx) { if (rf & 1) {
4668
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$v, decls: 2, vars: 7, consts: [[1, "dr-link", 3, "href"]], template: function DrLinkComponent_Template(rf, ctx) { if (rf & 1) {
4643
4669
  i0.ɵɵprojectionDef();
4644
4670
  i0.ɵɵelementStart(0, "a", 0);
4645
4671
  i0.ɵɵprojection(1);
@@ -4711,7 +4737,7 @@ function DrDatePickerWithTimeframeComponent_dr_button_11_Template(rf, ctx) { if
4711
4737
  const ctx_r5 = i0.ɵɵnextContext();
4712
4738
  i0.ɵɵproperty("disabled", ctx_r5.isNextDateDisabled);
4713
4739
  } }
4714
- const _c0$t = function (a0) { return { formattedValue: a0 }; };
4740
+ const _c0$u = function (a0) { return { formattedValue: a0 }; };
4715
4741
  class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4716
4742
  get isDashboardClassDisplayed() {
4717
4743
  return this.isDashboardDatepicker;
@@ -4884,7 +4910,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4884
4910
  i0.ɵɵadvance(1);
4885
4911
  i0.ɵɵproperty("ngIf", ctx.isDashboardDatepicker);
4886
4912
  i0.ɵɵadvance(2);
4887
- i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(19, _c0$t, i0.ɵɵpipeBind1(5, 15, ctx.displayedFormattedValue$)));
4913
+ i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(19, _c0$u, i0.ɵɵpipeBind1(5, 15, ctx.displayedFormattedValue$)));
4888
4914
  i0.ɵɵadvance(4);
4889
4915
  i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(10, 17, ctx.displayValue$))("matDatepicker", _r6)("readonly", ctx.readonly)("min", ctx._min)("max", ctx._max);
4890
4916
  i0.ɵɵadvance(3);
@@ -5160,7 +5186,7 @@ class TooltipInfoComponent {
5160
5186
  type: Input
5161
5187
  }] }); })();
5162
5188
 
5163
- const _c0$s = ["stepper"];
5189
+ const _c0$t = ["stepper"];
5164
5190
  function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
5165
5191
  const _r9 = i0.ɵɵgetCurrentView();
5166
5192
  i0.ɵɵelementStart(0, "div", 6);
@@ -5176,7 +5202,7 @@ function StepperComponent_ng_container_3_div_1_ng_template_5_Template(rf, ctx) {
5176
5202
  i0.ɵɵelement(1, "i", 22);
5177
5203
  i0.ɵɵelementEnd();
5178
5204
  } }
5179
- const _c1$b = function (a0) { return { "blue with-ellipse": a0 }; };
5205
+ const _c1$c = function (a0) { return { "blue with-ellipse": a0 }; };
5180
5206
  function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) { if (rf & 1) {
5181
5207
  i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
5182
5208
  i0.ɵɵtext(2);
@@ -5187,13 +5213,13 @@ function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) {
5187
5213
  const index_r11 = ctx_r22.index;
5188
5214
  const ctx_r18 = i0.ɵɵnextContext();
5189
5215
  i0.ɵɵclassProp("gray", step_r10 !== ctx_r18.currentStep);
5190
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$b, step_r10 === ctx_r18.currentStep));
5216
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$c, step_r10 === ctx_r18.currentStep));
5191
5217
  i0.ɵɵadvance(1);
5192
5218
  i0.ɵɵproperty("hidden", step_r10 === ctx_r18.currentStep || ctx_r18.hiddenIndex);
5193
5219
  i0.ɵɵadvance(1);
5194
5220
  i0.ɵɵtextInterpolate(index_r11 + 1);
5195
5221
  } }
5196
- const _c2$4 = function (a0, a1, a2) { return { index: a0, isLast: a1, step: a2 }; };
5222
+ const _c2$5 = function (a0, a1, a2) { return { index: a0, isLast: a1, step: a2 }; };
5197
5223
  function StepperComponent_ng_container_3_div_1_ng_container_10_Template(rf, ctx) { if (rf & 1) {
5198
5224
  i0.ɵɵelementContainer(0, 25);
5199
5225
  } if (rf & 2) {
@@ -5203,7 +5229,7 @@ function StepperComponent_ng_container_3_div_1_ng_container_10_Template(rf, ctx)
5203
5229
  const step_r10 = ctx_r23.$implicit;
5204
5230
  i0.ɵɵnextContext();
5205
5231
  const _r6 = i0.ɵɵreference(8);
5206
- i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$4, index_r11, isLast_r12, step_r10));
5232
+ i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$5, index_r11, isLast_r12, step_r10));
5207
5233
  } }
5208
5234
  function StepperComponent_ng_container_3_div_1_span_11_Template(rf, ctx) { if (rf & 1) {
5209
5235
  i0.ɵɵelementStart(0, "span", 26);
@@ -5223,9 +5249,9 @@ function StepperComponent_ng_container_3_div_1_ng_container_12_Template(rf, ctx)
5223
5249
  const step_r10 = ctx_r25.$implicit;
5224
5250
  i0.ɵɵnextContext();
5225
5251
  const _r6 = i0.ɵɵreference(8);
5226
- i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$4, index_r11, isLast_r12, step_r10));
5252
+ i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$5, index_r11, isLast_r12, step_r10));
5227
5253
  } }
5228
- const _c3$3 = function (a0) { return { step: a0 }; };
5254
+ const _c3$4 = function (a0) { return { step: a0 }; };
5229
5255
  function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
5230
5256
  const _r28 = i0.ɵɵgetCurrentView();
5231
5257
  i0.ɵɵelementStart(0, "div", 10);
@@ -5252,7 +5278,7 @@ function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
5252
5278
  i0.ɵɵclassProp("step-setup", ctx_r14.inlineLabels);
5253
5279
  i0.ɵɵattribute("data-analytics", ctx_r14.getDataAnalyticsTag(step_r10));
5254
5280
  i0.ɵɵadvance(1);
5255
- i0.ɵɵproperty("drTooltip", step_r10.description && _r4)("drTooltipContext", i0.ɵɵpureFunction1(22, _c3$3, step_r10))("drTooltipPosition", "bottom");
5281
+ i0.ɵɵproperty("drTooltip", step_r10.description && _r4)("drTooltipContext", i0.ɵɵpureFunction1(22, _c3$4, step_r10))("drTooltipPosition", "bottom");
5256
5282
  i0.ɵɵadvance(1);
5257
5283
  i0.ɵɵclassProp("active", ctx_r14.currentStep === step_r10)("completed", step_r10.completed);
5258
5284
  i0.ɵɵadvance(1);
@@ -5374,7 +5400,7 @@ class StepperComponent {
5374
5400
  }
5375
5401
  /** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
5376
5402
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], viewQuery: function StepperComponent_Query(rf, ctx) { if (rf & 1) {
5377
- i0.ɵɵviewQuery(_c0$s, 5, ElementRef);
5403
+ i0.ɵɵviewQuery(_c0$t, 5, ElementRef);
5378
5404
  } if (rf & 2) {
5379
5405
  let _t;
5380
5406
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepper = _t.first);
@@ -5532,7 +5558,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
5532
5558
  i0.ɵɵtext(1, "Stop generating");
5533
5559
  i0.ɵɵelementEnd();
5534
5560
  } }
5535
- const _c0$r = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
5561
+ const _c0$s = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
5536
5562
  class DrChatFormComponent {
5537
5563
  constructor(cdr, domSanitizer) {
5538
5564
  this.cdr = cdr;
@@ -5688,7 +5714,7 @@ class DrChatFormComponent {
5688
5714
  const _r1 = i0.ɵɵreference(4);
5689
5715
  i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
5690
5716
  i0.ɵɵadvance(2);
5691
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$r, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
5717
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$s, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
5692
5718
  i0.ɵɵadvance(1);
5693
5719
  i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
5694
5720
  i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
@@ -5803,7 +5829,7 @@ function DrAvatarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
5803
5829
  const ctx_r0 = i0.ɵɵnextContext();
5804
5830
  i0.ɵɵstyleProp("width", ctx_r0.drAvatarSize || null)("height", ctx_r0.drAvatarSize || null);
5805
5831
  } }
5806
- const _c0$q = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
5832
+ const _c0$r = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
5807
5833
  function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
5808
5834
  const _r7 = i0.ɵɵgetCurrentView();
5809
5835
  i0.ɵɵelementStart(0, "div", 5);
@@ -5817,7 +5843,7 @@ function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
5817
5843
  const ctx_r1 = i0.ɵɵnextContext();
5818
5844
  i0.ɵɵclassMap(user_r5.status);
5819
5845
  i0.ɵɵstyleProp("width", ctx_r1.drAvatarSize || null)("height", ctx_r1.drAvatarSize || null)("background-color", ctx_r1.getAvatarColor(user_r5));
5820
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$q, ctx_r1.showUnassigned && !user_r5.email, ctx_r1.drAvatarIsClickable))("drTooltip", i0.ɵɵpipeBind1(1, 13, user_r5))("drTooltipClass", ctx_r1.drAvatarTooltipClass)("drTooltipPosition", ctx_r1.drAvatarTooltipPosition);
5846
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$r, ctx_r1.showUnassigned && !user_r5.email, ctx_r1.drAvatarIsClickable))("drTooltip", i0.ɵɵpipeBind1(1, 13, user_r5))("drTooltipClass", ctx_r1.drAvatarTooltipClass)("drTooltipPosition", ctx_r1.drAvatarTooltipPosition);
5821
5847
  i0.ɵɵadvance(2);
5822
5848
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), "\n");
5823
5849
  } }
@@ -6032,7 +6058,7 @@ class DrChatMessageFileComponent {
6032
6058
  type: Input
6033
6059
  }] }); })();
6034
6060
 
6035
- const _c0$p = ["drChatMessageActions"];
6061
+ const _c0$q = ["drChatMessageActions"];
6036
6062
  function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
6037
6063
  i0.ɵɵelementContainerStart(0);
6038
6064
  i0.ɵɵelement(1, "div", 7);
@@ -6134,7 +6160,7 @@ class DrChatMessageComponent {
6134
6160
  }
6135
6161
  /** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
6136
6162
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatMessageComponent, selectors: [["dr-chat-message"]], contentQueries: function DrChatMessageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
6137
- i0.ɵɵcontentQuery(dirIndex, _c0$p, 5);
6163
+ i0.ɵɵcontentQuery(dirIndex, _c0$q, 5);
6138
6164
  } if (rf & 2) {
6139
6165
  let _t;
6140
6166
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
@@ -6207,7 +6233,7 @@ class DrChatMessageComponent {
6207
6233
  args: ['drChatMessageActions']
6208
6234
  }] }); })();
6209
6235
 
6210
- const _c0$o = ["suggestionsContainer"];
6236
+ const _c0$p = ["suggestionsContainer"];
6211
6237
  function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
6212
6238
  i0.ɵɵelementContainer(0);
6213
6239
  } }
@@ -6246,18 +6272,18 @@ function DrChatSuggestionsComponent_ng_template_3_div_1_Template(rf, ctx) { if (
6246
6272
  i0.ɵɵadvance(1);
6247
6273
  i0.ɵɵtextInterpolate1(" ", item_r9, " ");
6248
6274
  } }
6249
- const _c1$a = function (a0, a1, a2) { return { "chat-suggestions__items--three-cols": a0, "chat-suggestions__items--two-cols": a1, "chat-suggestions__items--one-col": a2 }; };
6275
+ const _c1$b = function (a0, a1, a2) { return { "chat-suggestions__items--three-cols": a0, "chat-suggestions__items--two-cols": a1, "chat-suggestions__items--one-col": a2 }; };
6250
6276
  function DrChatSuggestionsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
6251
6277
  i0.ɵɵelementStart(0, "div", 8);
6252
6278
  i0.ɵɵtemplate(1, DrChatSuggestionsComponent_ng_template_3_div_1_Template, 2, 1, "div", 9);
6253
6279
  i0.ɵɵelementEnd();
6254
6280
  } if (rf & 2) {
6255
6281
  const ctx_r3 = i0.ɵɵnextContext();
6256
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(2, _c1$a, ctx_r3.colsCount === 3, ctx_r3.colsCount === 2, ctx_r3.colsCount === 1));
6282
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(2, _c1$b, ctx_r3.colsCount === 3, ctx_r3.colsCount === 2, ctx_r3.colsCount === 1));
6257
6283
  i0.ɵɵadvance(1);
6258
6284
  i0.ɵɵproperty("ngForOf", ctx_r3.visibleValues);
6259
6285
  } }
6260
- const _c2$3 = function (a0, a1, a2, a3) { return { "chat-suggestions--three-cols": a0, "chat-suggestions--two-cols": a1, "chat-suggestions--one-col": a2, "chat-suggestions--button-mode": a3 }; };
6286
+ const _c2$4 = function (a0, a1, a2, a3) { return { "chat-suggestions--three-cols": a0, "chat-suggestions--two-cols": a1, "chat-suggestions--one-col": a2, "chat-suggestions--button-mode": a3 }; };
6261
6287
  class DrChatSuggestionsComponent {
6262
6288
  get hiddenValues() {
6263
6289
  return JSON.parse(localStorage.getItem('aiChatSuggestions')) || [];
@@ -6352,7 +6378,7 @@ class DrChatSuggestionsComponent {
6352
6378
  }
6353
6379
  /** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6354
6380
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatSuggestionsComponent, selectors: [["dr-chat-suggestions"]], viewQuery: function DrChatSuggestionsComponent_Query(rf, ctx) { if (rf & 1) {
6355
- i0.ɵɵviewQuery(_c0$o, 5);
6381
+ i0.ɵɵviewQuery(_c0$p, 5);
6356
6382
  } if (rf & 2) {
6357
6383
  let _t;
6358
6384
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
@@ -6363,7 +6389,7 @@ class DrChatSuggestionsComponent {
6363
6389
  i0.ɵɵtemplate(3, DrChatSuggestionsComponent_ng_template_3_Template, 2, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
6364
6390
  } if (rf & 2) {
6365
6391
  const _r2 = i0.ɵɵreference(4);
6366
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(3, _c2$3, ctx.colsCount === 3, ctx.colsCount === 2, ctx.colsCount === 1, ctx.buttonMode));
6392
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(3, _c2$4, ctx.colsCount === 3, ctx.colsCount === 2, ctx.colsCount === 1, ctx.buttonMode));
6367
6393
  i0.ɵɵadvance(2);
6368
6394
  i0.ɵɵproperty("ngIf", ctx.buttonMode)("ngIfElse", _r2);
6369
6395
  } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;align-items:flex-start;justify-content:center}[_nghost-%COMP%] .chat-suggestions[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center;max-width:956px}[_nghost-%COMP%] .chat-suggestions--button-mode[_ngcontent-%COMP%]{justify-content:flex-start}[_nghost-%COMP%] .chat-suggestions--button-mode[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{padding-top:32px}[_nghost-%COMP%] .chat-suggestions--one-col[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(1,300px)}[_nghost-%COMP%] .chat-suggestions--one-col[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(1,300px)}[_nghost-%COMP%] .chat-suggestions--two-cols[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(2,300px)}[_nghost-%COMP%] .chat-suggestions--two-cols[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(2,300px)}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(3,300px)}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(3,300px)}[_nghost-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%]{display:flex;position:relative;width:auto;margin-top:12px;padding:0 16px}[_nghost-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%]{z-index:3;background:linear-gradient(-90deg,#6969ff,#4eb7df) border-box;border-radius:2em;border:1.5px solid transparent}[_nghost-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%] button{background:#fff;border-radius:24px;color:#4646ce;border:none;cursor:pointer}[_nghost-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{display:none;position:absolute;width:100%;bottom:0;left:0;padding-bottom:56px;z-index:2}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%] button{color:#4646ce;background:#f2f2fb}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{display:grid;align-items:center;justify-content:center}[_nghost-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{padding:0 16px;display:grid;gap:28px;grid-auto-rows:minmax(86px,auto);background:#ffffffb3}[_nghost-%COMP%] .chat-suggestions__items__item[_ngcontent-%COMP%]{display:inline-flex;min-height:86px;width:300px;align-items:center;justify-content:center;text-align:center;padding:16px;border-radius:8px;background:#f2f2fb;box-shadow:0 1px 2px #00000026;font-size:14px;line-height:24px;color:#25258c}[_nghost-%COMP%] .chat-suggestions__items__item[_ngcontent-%COMP%]:hover{cursor:pointer;background:#eaeaff}"], changeDetection: 0 }); }
@@ -6386,8 +6412,8 @@ class DrChatSuggestionsComponent {
6386
6412
  args: ['suggestionsContainer', { static: false }]
6387
6413
  }] }); })();
6388
6414
 
6389
- const _c0$n = ["drChatHeader"];
6390
- const _c1$9 = ["messagesContainer"];
6415
+ const _c0$o = ["drChatHeader"];
6416
+ const _c1$a = ["messagesContainer"];
6391
6417
  function DrChatComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
6392
6418
  i0.ɵɵelementContainer(0, 8);
6393
6419
  } if (rf & 2) {
@@ -6405,7 +6431,7 @@ function DrChatComponent_div_5_Template(rf, ctx) { if (rf & 1) {
6405
6431
  } }
6406
6432
  function DrChatComponent_div_6_Template(rf, ctx) { if (rf & 1) {
6407
6433
  i0.ɵɵelementStart(0, "div", 11)(1, "div", 12, 13);
6408
- i0.ɵɵprojection(3, 2);
6434
+ i0.ɵɵprojection(3, 3);
6409
6435
  i0.ɵɵelementEnd()();
6410
6436
  } if (rf & 2) {
6411
6437
  const ctx_r2 = i0.ɵɵnextContext();
@@ -6422,8 +6448,8 @@ function DrChatComponent_dr_chat_suggestions_7_Template(rf, ctx) { if (rf & 1) {
6422
6448
  i0.ɵɵclassProp("chat__suggestions--full-height", ctx_r3.fullScreen && !(ctx_r3.messages == null ? null : ctx_r3.messages.length));
6423
6449
  i0.ɵɵproperty("values", ctx_r3.suggestions)("fullScreen", ctx_r3.fullScreen)("waitForReply", ctx_r3.waitForReply)("buttonMode", !!(ctx_r3.messages == null ? null : ctx_r3.messages.length));
6424
6450
  } }
6425
- const _c2$2 = [[["dr-chat-alert"]], [["dr-chat-form"]], [["dr-chat-message"]]];
6426
- const _c3$2 = ["dr-chat-alert", "dr-chat-form", "dr-chat-message"];
6451
+ const _c2$3 = [[["dr-chat-alert"]], [["dr-chat-form"]], [["dr-chat-form-with-history"]], [["dr-chat-message"]]];
6452
+ const _c3$3 = ["dr-chat-alert", "dr-chat-form", "dr-chat-form-with-history", "dr-chat-message"];
6427
6453
  class DrChatComponent {
6428
6454
  set contentUpdateSubject(value) {
6429
6455
  if (value) {
@@ -6502,7 +6528,7 @@ class DrChatComponent {
6502
6528
  /** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6503
6529
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
6504
6530
  i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
6505
- i0.ɵɵcontentQuery(dirIndex, _c0$n, 5);
6531
+ i0.ɵɵcontentQuery(dirIndex, _c0$o, 5);
6506
6532
  i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
6507
6533
  } if (rf & 2) {
6508
6534
  let _t;
@@ -6510,14 +6536,14 @@ class DrChatComponent {
6510
6536
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatHeader = _t.first);
6511
6537
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messages = _t);
6512
6538
  } }, viewQuery: function DrChatComponent_Query(rf, ctx) { if (rf & 1) {
6513
- i0.ɵɵviewQuery(_c1$9, 5);
6539
+ i0.ɵɵviewQuery(_c1$a, 5);
6514
6540
  i0.ɵɵviewQuery(DrChatSuggestionsComponent, 5);
6515
6541
  } if (rf & 2) {
6516
6542
  let _t;
6517
6543
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messagesContainer = _t.first);
6518
6544
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._chatSuggestions = _t.first);
6519
- } }, inputs: { fullScreen: "fullScreen", noMessagesPlaceholder: "noMessagesPlaceholder", contentUpdateSubject: "contentUpdateSubject", scrollBottom: "scrollBottom", suggestions: "suggestions", reopen: "reopen", waitForReply: "waitForReply" }, outputs: { suggestionSelect: "suggestionSelect" }, features: [i0.ɵɵProvidersFeature([DrChatCustomMessageService])], ngContentSelectors: _c3$2, decls: 10, vars: 6, consts: [[1, "chat"], [1, "chat__sticky-top"], [3, "ngTemplateOutlet", 4, "ngIf"], [1, "chat__alert"], ["class", "chat__empty-state", 4, "ngIf"], ["class", "chat__messages", 4, "ngIf"], ["class", "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "chat__suggestions--full-height", "buttonMode", "suggestionSelect", 4, "ngIf"], [1, "form"], [3, "ngTemplateOutlet"], [1, "chat__empty-state"], [1, "chat__empty-state__text"], [1, "chat__messages"], [1, "chat__messages__container"], ["messagesContainer", ""], [1, "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "buttonMode", "suggestionSelect"]], template: function DrChatComponent_Template(rf, ctx) { if (rf & 1) {
6520
- i0.ɵɵprojectionDef(_c2$2);
6545
+ } }, inputs: { fullScreen: "fullScreen", noMessagesPlaceholder: "noMessagesPlaceholder", contentUpdateSubject: "contentUpdateSubject", scrollBottom: "scrollBottom", suggestions: "suggestions", reopen: "reopen", waitForReply: "waitForReply" }, outputs: { suggestionSelect: "suggestionSelect" }, features: [i0.ɵɵProvidersFeature([DrChatCustomMessageService])], ngContentSelectors: _c3$3, decls: 11, vars: 6, consts: [[1, "chat"], [1, "chat__sticky-top"], [3, "ngTemplateOutlet", 4, "ngIf"], [1, "chat__alert"], ["class", "chat__empty-state", 4, "ngIf"], ["class", "chat__messages", 4, "ngIf"], ["class", "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "chat__suggestions--full-height", "buttonMode", "suggestionSelect", 4, "ngIf"], [1, "form"], [3, "ngTemplateOutlet"], [1, "chat__empty-state"], [1, "chat__empty-state__text"], [1, "chat__messages"], [1, "chat__messages__container"], ["messagesContainer", ""], [1, "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "buttonMode", "suggestionSelect"]], template: function DrChatComponent_Template(rf, ctx) { if (rf & 1) {
6546
+ i0.ɵɵprojectionDef(_c2$3);
6521
6547
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
6522
6548
  i0.ɵɵtemplate(2, DrChatComponent_ng_container_2_Template, 1, 1, "ng-container", 2);
6523
6549
  i0.ɵɵelementStart(3, "div", 3);
@@ -6528,6 +6554,7 @@ class DrChatComponent {
6528
6554
  i0.ɵɵtemplate(7, DrChatComponent_dr_chat_suggestions_7_Template, 1, 6, "dr-chat-suggestions", 6);
6529
6555
  i0.ɵɵelementStart(8, "div", 7);
6530
6556
  i0.ɵɵprojection(9, 1);
6557
+ i0.ɵɵprojection(10, 2);
6531
6558
  i0.ɵɵelementEnd()();
6532
6559
  } if (rf & 2) {
6533
6560
  i0.ɵɵclassProp("chat--in-full-screen", ctx.fullScreen);
@@ -6543,7 +6570,7 @@ class DrChatComponent {
6543
6570
  }
6544
6571
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrChatComponent, [{
6545
6572
  type: Component,
6546
- args: [{ selector: 'dr-chat', providers: [DrChatCustomMessageService], template: "<div class=\"chat\" [class.chat--in-full-screen]=\"fullScreen\">\n <div class=\"chat__sticky-top\">\n <ng-container *ngIf=\"chatHeader\" [ngTemplateOutlet]=\"chatHeader\"></ng-container>\n\n <div class=\"chat__alert\">\n <ng-content select=\"dr-chat-alert\"></ng-content>\n </div>\n </div>\n\n <div *ngIf=\"!messages?.length\" class=\"chat__empty-state\">\n <span class=\"chat__empty-state__text\">{{ noMessagesPlaceholder }}</span>\n </div>\n\n <div *ngIf=\"messages?.length\" class=\"chat__messages\">\n <div\n #messagesContainer\n class=\"chat__messages__container\"\n [class.chat__messages__container--scroll]=\"messagesContainerWithScroll\">\n <ng-content select=\"dr-chat-message\"></ng-content>\n </div>\n </div>\n\n <dr-chat-suggestions\n *ngIf=\"suggestions?.length\"\n [values]=\"suggestions\"\n [fullScreen]=\"fullScreen\"\n [waitForReply]=\"waitForReply\"\n class=\"chat__suggestions\"\n [class.chat__suggestions--full-height]=\"fullScreen && !messages?.length\"\n [buttonMode]=\"!!messages?.length\"\n (suggestionSelect)=\"suggestionSelect.emit($event)\">\n </dr-chat-suggestions>\n\n <div class=\"form\">\n <ng-content select=\"dr-chat-form\"></ng-content>\n </div>\n</div>\n", styles: [":host{height:100%;width:100%;display:flex;flex-direction:column}.chat{position:relative;display:flex;flex-grow:1;flex-direction:column;height:100%;background-color:#fff;color:#4e566c;font-family:Poppins,sans-serif;font-size:14px;font-weight:400;line-height:22px;box-shadow:0 2px 36px #00000026}.chat__sticky-top{display:flex;flex-direction:column;box-shadow:0 1px 3px #0003;z-index:1}.chat__empty-state{display:flex;justify-content:center}.chat__empty-state__text{padding:44px 0;font-family:Poppins,sans-serif;font-size:18px;font-weight:400;line-height:28px;text-align:center;max-width:440px;color:#4646ce}.chat__messages{display:flex;flex-grow:1;overflow-x:hidden;overflow-y:auto;height:100%;width:100%}.chat__messages__container{overflow-y:auto;overflow-x:hidden;display:flex;flex-shrink:0;flex-direction:column;width:100%;padding-bottom:1px}.chat__messages__container--scroll::ng-deep dr-chat-message{padding-right:8px}.chat__suggestions{flex:1}.chat__suggestions ::ng-deep .chat-suggestions__container{padding:0}.chat__suggestions--full-height{flex-grow:1;height:1px;overflow:auto}.chat--in-full-screen .chat__header{padding-left:32px;padding-right:32px}.chat--in-full-screen .chat__empty-state__text{padding:77px 0;font-size:28px;line-height:46px;max-width:570px}.chat--in-full-screen .chat__messages::ng-deep dr-chat-message{justify-content:center}.chat--in-full-screen .chat__messages::ng-deep .message{max-width:912px}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items{padding-left:0;padding-right:0}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items__item{font-size:16px}\n"] }]
6573
+ args: [{ selector: 'dr-chat', providers: [DrChatCustomMessageService], template: "<div class=\"chat\" [class.chat--in-full-screen]=\"fullScreen\">\n <div class=\"chat__sticky-top\">\n <ng-container *ngIf=\"chatHeader\" [ngTemplateOutlet]=\"chatHeader\"></ng-container>\n\n <div class=\"chat__alert\">\n <ng-content select=\"dr-chat-alert\"></ng-content>\n </div>\n </div>\n\n <div *ngIf=\"!messages?.length\" class=\"chat__empty-state\">\n <span class=\"chat__empty-state__text\">{{ noMessagesPlaceholder }}</span>\n </div>\n\n <div *ngIf=\"messages?.length\" class=\"chat__messages\">\n <div\n #messagesContainer\n class=\"chat__messages__container\"\n [class.chat__messages__container--scroll]=\"messagesContainerWithScroll\">\n <ng-content select=\"dr-chat-message\"></ng-content>\n </div>\n </div>\n\n <dr-chat-suggestions\n *ngIf=\"suggestions?.length\"\n [values]=\"suggestions\"\n [fullScreen]=\"fullScreen\"\n [waitForReply]=\"waitForReply\"\n class=\"chat__suggestions\"\n [class.chat__suggestions--full-height]=\"fullScreen && !messages?.length\"\n [buttonMode]=\"!!messages?.length\"\n (suggestionSelect)=\"suggestionSelect.emit($event)\">\n </dr-chat-suggestions>\n\n <div class=\"form\">\n <ng-content select=\"dr-chat-form\"></ng-content>\n <ng-content select=\"dr-chat-form-with-history\"></ng-content>\n </div>\n</div>\n", styles: [":host{height:100%;width:100%;display:flex;flex-direction:column}.chat{position:relative;display:flex;flex-grow:1;flex-direction:column;height:100%;background-color:#fff;color:#4e566c;font-family:Poppins,sans-serif;font-size:14px;font-weight:400;line-height:22px;box-shadow:0 2px 36px #00000026}.chat__sticky-top{display:flex;flex-direction:column;box-shadow:0 1px 3px #0003;z-index:1}.chat__empty-state{display:flex;justify-content:center}.chat__empty-state__text{padding:44px 0;font-family:Poppins,sans-serif;font-size:18px;font-weight:400;line-height:28px;text-align:center;max-width:440px;color:#4646ce}.chat__messages{display:flex;flex-grow:1;overflow-x:hidden;overflow-y:auto;height:100%;width:100%}.chat__messages__container{overflow-y:auto;overflow-x:hidden;display:flex;flex-shrink:0;flex-direction:column;width:100%;padding-bottom:1px}.chat__messages__container--scroll::ng-deep dr-chat-message{padding-right:8px}.chat__suggestions{flex:1}.chat__suggestions ::ng-deep .chat-suggestions__container{padding:0}.chat__suggestions--full-height{flex-grow:1;height:1px;overflow:auto}.chat--in-full-screen .chat__header{padding-left:32px;padding-right:32px}.chat--in-full-screen .chat__empty-state__text{padding:77px 0;font-size:28px;line-height:46px;max-width:570px}.chat--in-full-screen .chat__messages::ng-deep dr-chat-message{justify-content:center}.chat--in-full-screen .chat__messages::ng-deep .message{max-width:912px}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items{padding-left:0;padding-right:0}.chat--in-full-screen .chat__suggestions::ng-deep .chat-suggestions__items__item{font-size:16px}\n"] }]
6547
6574
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { fullScreen: [{
6548
6575
  type: Input
6549
6576
  }], noMessagesPlaceholder: [{
@@ -6620,14 +6647,14 @@ class DrChatCustomMessageDirective {
6620
6647
  type: Input
6621
6648
  }] }); })();
6622
6649
 
6623
- const _c0$m = ["*"];
6650
+ const _c0$n = ["*"];
6624
6651
  class DrChatAlertComponent {
6625
6652
  constructor() {
6626
6653
  this.iconClass = 'dr-icon-info';
6627
6654
  this.close = new EventEmitter();
6628
6655
  }
6629
6656
  /** @nocollapse */ static { this.ɵfac = function DrChatAlertComponent_Factory(t) { return new (t || DrChatAlertComponent)(); }; }
6630
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$m, 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) {
6657
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$n, 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) {
6631
6658
  i0.ɵɵprojectionDef();
6632
6659
  i0.ɵɵelement(0, "i");
6633
6660
  i0.ɵɵprojection(1);
@@ -6665,7 +6692,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
6665
6692
  i0.ɵɵadvance(1);
6666
6693
  i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
6667
6694
  } }
6668
- const _c0$l = ["*"];
6695
+ const _c0$m = ["*"];
6669
6696
  class DrToggleComponent {
6670
6697
  set disabled(value) {
6671
6698
  this.setDisabledState(value);
@@ -6708,7 +6735,7 @@ class DrToggleComponent {
6708
6735
  /** @nocollapse */ static { this.ɵfac = function DrToggleComponent_Factory(t) { return new (t || DrToggleComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6709
6736
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 2, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
6710
6737
  i0.ɵɵclassMap(ctx.elementClass);
6711
- } }, inputs: { 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$l, decls: 7, vars: 9, 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) {
6738
+ } }, inputs: { 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$m, decls: 7, vars: 9, 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) {
6712
6739
  i0.ɵɵprojectionDef();
6713
6740
  i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
6714
6741
  i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
@@ -6828,7 +6855,7 @@ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
6828
6855
  i0.ɵɵadvance(1);
6829
6856
  i0.ɵɵtextInterpolate(ctx_r0.text);
6830
6857
  } }
6831
- const _c0$k = ["*"];
6858
+ const _c0$l = ["*"];
6832
6859
  const ALERT_THEME_ICONS = {
6833
6860
  [DrAlertTheme.SUCCESS]: 'dr-icon-uploaded-success',
6834
6861
  [DrAlertTheme.BOLD_ERROR]: 'dr-icon-error',
@@ -6849,7 +6876,7 @@ class DrAlertComponent {
6849
6876
  /** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
6850
6877
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
6851
6878
  i0.ɵɵclassMap(ctx.elementClass);
6852
- } }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$k, 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) {
6879
+ } }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$l, 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) {
6853
6880
  i0.ɵɵprojectionDef();
6854
6881
  i0.ɵɵelementStart(0, "div", 0);
6855
6882
  i0.ɵɵelement(1, "i");
@@ -6895,7 +6922,7 @@ class CodeEditorHintWrapperComponent {
6895
6922
  }]
6896
6923
  }], null, null); })();
6897
6924
 
6898
- const _c0$j = ["ref"];
6925
+ const _c0$k = ["ref"];
6899
6926
  class DrCodemirrorComponent {
6900
6927
  set options(value) {
6901
6928
  this._options = value;
@@ -7025,7 +7052,7 @@ class DrCodemirrorComponent {
7025
7052
  }
7026
7053
  /** @nocollapse */ static { this.ɵfac = function DrCodemirrorComponent_Factory(t) { return new (t || DrCodemirrorComponent)(i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
7027
7054
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodemirrorComponent, selectors: [["dr-codemirror"]], viewQuery: function DrCodemirrorComponent_Query(rf, ctx) { if (rf & 1) {
7028
- i0.ɵɵviewQuery(_c0$j, 5);
7055
+ i0.ɵɵviewQuery(_c0$k, 5);
7029
7056
  } if (rf & 2) {
7030
7057
  let _t;
7031
7058
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ref = _t.first);
@@ -7177,7 +7204,7 @@ class DrErrorComponent {
7177
7204
  args: ['class.no-icon']
7178
7205
  }] }); })();
7179
7206
 
7180
- const _c0$i = ["codeEditor"];
7207
+ const _c0$j = ["codeEditor"];
7181
7208
  function DrCodeEditorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
7182
7209
  i0.ɵɵelementStart(0, "span", 4);
7183
7210
  i0.ɵɵtext(1);
@@ -7456,7 +7483,7 @@ class DrCodeEditorComponent {
7456
7483
  }
7457
7484
  /** @nocollapse */ static { this.ɵfac = function DrCodeEditorComponent_Factory(t) { return new (t || DrCodeEditorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.Injector)); }; }
7458
7485
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodeEditorComponent, selectors: [["dr-code-editor"]], viewQuery: function DrCodeEditorComponent_Query(rf, ctx) { if (rf & 1) {
7459
- i0.ɵɵviewQuery(_c0$i, 5);
7486
+ i0.ɵɵviewQuery(_c0$j, 5);
7460
7487
  } if (rf & 2) {
7461
7488
  let _t;
7462
7489
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.codeEditor = _t.first);
@@ -8224,7 +8251,7 @@ const getAlignmentDimension = (position) => {
8224
8251
  return DrPopoverAlignmentDimension.Width;
8225
8252
  };
8226
8253
 
8227
- const _c0$h = ["popoverContainer"];
8254
+ const _c0$i = ["popoverContainer"];
8228
8255
  function DrPopoverComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8229
8256
  i0.ɵɵelementContainer(0);
8230
8257
  } }
@@ -8314,7 +8341,7 @@ class DrPopoverComponent {
8314
8341
  }
8315
8342
  /** @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)); }; }
8316
8343
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrPopoverComponent, selectors: [["dr-popover"]], viewQuery: function DrPopoverComponent_Query(rf, ctx) { if (rf & 1) {
8317
- i0.ɵɵviewQuery(_c0$h, 7, ElementRef);
8344
+ i0.ɵɵviewQuery(_c0$i, 7, ElementRef);
8318
8345
  } if (rf & 2) {
8319
8346
  let _t;
8320
8347
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverContainer = _t.first);
@@ -8631,7 +8658,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8631
8658
  var __metadata = (this && this.__metadata) || function (k, v) {
8632
8659
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
8633
8660
  };
8634
- const _c0$g = ["menuContainer"];
8661
+ const _c0$h = ["menuContainer"];
8635
8662
  function DrDropdownComponent_dr_dropdown_item_4_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
8636
8663
  i0.ɵɵelement(0, "i", 11);
8637
8664
  } if (rf & 2) {
@@ -8681,14 +8708,14 @@ function DrDropdownComponent_dr_dropdown_item_4_ng_container_2_Template(rf, ctx)
8681
8708
  i0.ɵɵadvance(1);
8682
8709
  i0.ɵɵproperty("ngIf", ctx_r5.hasChildren(act_r2));
8683
8710
  } }
8684
- const _c1$8 = function (a0) { return { $implicit: a0 }; };
8711
+ const _c1$9 = function (a0) { return { $implicit: a0 }; };
8685
8712
  function DrDropdownComponent_dr_dropdown_item_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
8686
8713
  i0.ɵɵelementContainer(0, 17);
8687
8714
  } if (rf & 2) {
8688
8715
  const act_r2 = i0.ɵɵnextContext().$implicit;
8689
- i0.ɵɵproperty("ngTemplateOutlet", act_r2.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$8, act_r2));
8716
+ i0.ɵɵproperty("ngTemplateOutlet", act_r2.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$9, act_r2));
8690
8717
  } }
8691
- const _c2$1 = function () { return { withoutArrow: true }; };
8718
+ const _c2$2 = function () { return { withoutArrow: true }; };
8692
8719
  function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1) {
8693
8720
  const _r20 = i0.ɵɵgetCurrentView();
8694
8721
  i0.ɵɵelementStart(0, "dr-dropdown-item", 4);
@@ -8701,7 +8728,7 @@ function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1)
8701
8728
  const act_r2 = ctx.$implicit;
8702
8729
  const index_r3 = ctx.index;
8703
8730
  const ctx_r1 = i0.ɵɵnextContext();
8704
- i0.ɵɵproperty("drTooltip", ctx_r1.tooltipToShow(act_r2))("drTooltipPosition", "left")("drTooltipOptions", i0.ɵɵpureFunction0(15, _c2$1))("drTooltipClass", "dr-dropdown__tooltip")("drDropdown", ctx_r1.hasChildren(act_r2) && act_r2.children)("drDropdownClass", act_r2.childOptions == null ? null : act_r2.childOptions.class)("drDropdownInHover", true)("drDropdownPosition", act_r2.childOptions == null ? null : act_r2.childOptions.position)("disabled", ctx_r1.disabled(act_r2))("selected", ctx_r1.selected(act_r2))("divider", act_r2.separateLine);
8731
+ i0.ɵɵproperty("drTooltip", ctx_r1.tooltipToShow(act_r2))("drTooltipPosition", "left")("drTooltipOptions", i0.ɵɵpureFunction0(15, _c2$2))("drTooltipClass", "dr-dropdown__tooltip")("drDropdown", ctx_r1.hasChildren(act_r2) && act_r2.children)("drDropdownClass", act_r2.childOptions == null ? null : act_r2.childOptions.class)("drDropdownInHover", true)("drDropdownPosition", act_r2.childOptions == null ? null : act_r2.childOptions.position)("disabled", ctx_r1.disabled(act_r2))("selected", ctx_r1.selected(act_r2))("divider", act_r2.separateLine);
8705
8732
  i0.ɵɵattribute("data-analytics", ctx_r1.getDataAnalyticsTag(act_r2, index_r3));
8706
8733
  i0.ɵɵadvance(1);
8707
8734
  i0.ɵɵproperty("ngIf", !act_r2.templateRef);
@@ -8710,8 +8737,8 @@ function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1)
8710
8737
  i0.ɵɵadvance(1);
8711
8738
  i0.ɵɵproperty("ngIf", act_r2.templateRef);
8712
8739
  } }
8713
- const _c3$1 = [[["dr-dropdown-item"]]];
8714
- const _c4 = ["dr-dropdown-item"];
8740
+ const _c3$2 = [[["dr-dropdown-item"]]];
8741
+ const _c4$1 = ["dr-dropdown-item"];
8715
8742
  class DrDropdownComponent {
8716
8743
  set options(data) {
8717
8744
  if (data) {
@@ -8827,12 +8854,12 @@ class DrDropdownComponent {
8827
8854
  }
8828
8855
  /** @nocollapse */ static { this.ɵfac = function DrDropdownComponent_Factory(t) { return new (t || DrDropdownComponent)(); }; }
8829
8856
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownComponent, selectors: [["dr-dropdown"]], viewQuery: function DrDropdownComponent_Query(rf, ctx) { if (rf & 1) {
8830
- i0.ɵɵviewQuery(_c0$g, 7);
8857
+ i0.ɵɵviewQuery(_c0$h, 7);
8831
8858
  } if (rf & 2) {
8832
8859
  let _t;
8833
8860
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
8834
- } }, inputs: { options: "options" }, outputs: { onAction: "action" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4, decls: 6, vars: 5, consts: [[1, "dr-dropdown"], ["menuContainer", ""], ["tabindex", "-1", "role", "listbox", 1, "dr-dropdown__container", 3, "mouseenter", "mouseleave"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown", 4, "ngFor", "ngForOf"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown"], ["dropdownItemContent", "", 4, "ngIf"], ["dropdownItemActions", "", 4, "ngIf"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["dropdownItemContent", ""], ["class", "dr-dropdown__icon", 3, "class", 4, "ngIf"], [1, "dr-dropdown__text"], [1, "dr-dropdown__icon"], ["dropdownItemActions", ""], [3, "class", "showOnHover", "mousedown", 4, "ngFor", "ngForOf"], ["class", "dr-icon-arrow-right", 4, "ngIf"], [3, "mousedown"], [1, "dr-icon-arrow-right"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function DrDropdownComponent_Template(rf, ctx) { if (rf & 1) {
8835
- i0.ɵɵprojectionDef(_c3$1);
8861
+ } }, inputs: { options: "options" }, outputs: { onAction: "action" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$1, decls: 6, vars: 5, consts: [[1, "dr-dropdown"], ["menuContainer", ""], ["tabindex", "-1", "role", "listbox", 1, "dr-dropdown__container", 3, "mouseenter", "mouseleave"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown", 4, "ngFor", "ngForOf"], ["drDropdownChild", "", "role", "option", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown"], ["dropdownItemContent", "", 4, "ngIf"], ["dropdownItemActions", "", 4, "ngIf"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["dropdownItemContent", ""], ["class", "dr-dropdown__icon", 3, "class", 4, "ngIf"], [1, "dr-dropdown__text"], [1, "dr-dropdown__icon"], ["dropdownItemActions", ""], [3, "class", "showOnHover", "mousedown", 4, "ngFor", "ngForOf"], ["class", "dr-icon-arrow-right", 4, "ngIf"], [3, "mousedown"], [1, "dr-icon-arrow-right"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function DrDropdownComponent_Template(rf, ctx) { if (rf & 1) {
8862
+ i0.ɵɵprojectionDef(_c3$2);
8836
8863
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
8837
8864
  i0.ɵɵlistener("mouseenter", function DrDropdownComponent_Template_div_mouseenter_2_listener() { return ctx.onMouseenter(); })("mouseleave", function DrDropdownComponent_Template_div_mouseleave_2_listener() { return ctx.onMouseleave(); });
8838
8865
  i0.ɵɵprojection(3);
@@ -9060,12 +9087,12 @@ class DrDropdownChildDirective {
9060
9087
  }]
9061
9088
  }], null, null); })();
9062
9089
 
9063
- const _c0$f = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
9064
- const _c1$7 = ["[dropdownItemContent]", "[dropdownItemActions]"];
9090
+ const _c0$g = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
9091
+ const _c1$8 = ["[dropdownItemContent]", "[dropdownItemActions]"];
9065
9092
  class DrDropdownItemComponent {
9066
9093
  /** @nocollapse */ static { this.ɵfac = function DrDropdownItemComponent_Factory(t) { return new (t || DrDropdownItemComponent)(); }; }
9067
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownItemComponent, selectors: [["dr-dropdown-item"]], inputs: { selected: "selected", disabled: "disabled", divider: "divider" }, ngContentSelectors: _c1$7, 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) {
9068
- i0.ɵɵprojectionDef(_c0$f);
9094
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownItemComponent, selectors: [["dr-dropdown-item"]], 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) {
9095
+ i0.ɵɵprojectionDef(_c0$g);
9069
9096
  i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
9070
9097
  i0.ɵɵprojection(2);
9071
9098
  i0.ɵɵelementEnd();
@@ -9104,7 +9131,7 @@ class DrDropdownItemShowPipe {
9104
9131
  function DrTabComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
9105
9132
  i0.ɵɵprojection(0);
9106
9133
  } }
9107
- const _c0$e = ["*"];
9134
+ const _c0$f = ["*"];
9108
9135
  class DrTabComponent {
9109
9136
  constructor() { }
9110
9137
  ngOnInit() { }
@@ -9114,7 +9141,7 @@ class DrTabComponent {
9114
9141
  } if (rf & 2) {
9115
9142
  let _t;
9116
9143
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
9117
- } }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$e, decls: 1, vars: 0, template: function DrTabComponent_Template(rf, ctx) { if (rf & 1) {
9144
+ } }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$f, decls: 1, vars: 0, template: function DrTabComponent_Template(rf, ctx) { if (rf & 1) {
9118
9145
  i0.ɵɵprojectionDef();
9119
9146
  i0.ɵɵtemplate(0, DrTabComponent_ng_template_0_Template, 1, 0, "ng-template");
9120
9147
  } }, encapsulation: 2 }); }
@@ -9389,8 +9416,8 @@ class DrTabsComponent {
9389
9416
  args: [DrTabComponent]
9390
9417
  }] }); })();
9391
9418
 
9392
- const _c0$d = [[["dr-accordion-item"]]];
9393
- const _c1$6 = ["dr-accordion-item"];
9419
+ const _c0$e = [[["dr-accordion-item"]]];
9420
+ const _c1$7 = ["dr-accordion-item"];
9394
9421
  class DrAccordionComponent {
9395
9422
  constructor() {
9396
9423
  this.openCloseItems = new Subject();
@@ -9423,8 +9450,8 @@ class DrAccordionComponent {
9423
9450
  /** @nocollapse */ static { this.ɵfac = function DrAccordionComponent_Factory(t) { return new (t || DrAccordionComponent)(); }; }
9424
9451
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionComponent, selectors: [["dr-accordion"]], hostVars: 2, hostBindings: function DrAccordionComponent_HostBindings(rf, ctx) { if (rf & 2) {
9425
9452
  i0.ɵɵclassMap(ctx.theme);
9426
- } }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$6, decls: 1, vars: 0, template: function DrAccordionComponent_Template(rf, ctx) { if (rf & 1) {
9427
- i0.ɵɵprojectionDef(_c0$d);
9453
+ } }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$7, decls: 1, vars: 0, template: function DrAccordionComponent_Template(rf, ctx) { if (rf & 1) {
9454
+ i0.ɵɵprojectionDef(_c0$e);
9428
9455
  i0.ɵɵprojection(0);
9429
9456
  } }, styles: ["[_nghost-%COMP%]{display:block;box-shadow:#2c33491a 0 5px 10px}.borderless[_nghost-%COMP%]{box-shadow:none}"], changeDetection: 0 }); }
9430
9457
  }
@@ -9441,8 +9468,8 @@ class DrAccordionComponent {
9441
9468
  args: ['class']
9442
9469
  }] }); })();
9443
9470
 
9444
- const _c0$c = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
9445
- const _c1$5 = ["dr-accordion-item-header", "dr-accordion-item-body"];
9471
+ const _c0$d = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
9472
+ const _c1$6 = ["dr-accordion-item-header", "dr-accordion-item-body"];
9446
9473
  class DrAccordionItemComponent {
9447
9474
  /**
9448
9475
  * Item is collapse (`true` by default)
@@ -9542,8 +9569,8 @@ class DrAccordionItemComponent {
9542
9569
  /** @nocollapse */ static { this.ɵfac = function DrAccordionItemComponent_Factory(t) { return new (t || DrAccordionItemComponent)(i0.ɵɵdirectiveInject(DrAccordionComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
9543
9570
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemComponent, selectors: [["dr-accordion-item"]], hostVars: 6, hostBindings: function DrAccordionItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
9544
9571
  i0.ɵɵclassProp("collapsed", ctx.collapsed)("expanded", ctx.expanded)("disabled", ctx.disabled);
9545
- } }, inputs: { collapsed: "collapsed", expanded: "expanded", disabled: "disabled" }, outputs: { collapsedChange: "collapsedChange" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$5, decls: 2, vars: 0, template: function DrAccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
9546
- i0.ɵɵprojectionDef(_c0$c);
9572
+ } }, 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) {
9573
+ i0.ɵɵprojectionDef(_c0$d);
9547
9574
  i0.ɵɵprojection(0);
9548
9575
  i0.ɵɵprojection(1, 1);
9549
9576
  } }, 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 }); }
@@ -9585,8 +9612,8 @@ function DrAccordionItemHeaderComponent_i_0_Template(rf, ctx) { if (rf & 1) {
9585
9612
  i0.ɵɵclassMap("dr-accordion-item-header-icon " + ctx_r0.icon);
9586
9613
  i0.ɵɵclassProp("dr-accordion-item-header-icon--additional-padding", ctx_r0.chevronPosition === "left");
9587
9614
  } }
9588
- const _c0$b = function (a0) { return { rotationDegree: a0 }; };
9589
- const _c1$4 = function (a0, a1) { return { value: a0, params: a1 }; };
9615
+ const _c0$c = function (a0) { return { rotationDegree: a0 }; };
9616
+ const _c1$5 = function (a0, a1) { return { value: a0, params: a1 }; };
9590
9617
  function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9591
9618
  const _r3 = i0.ɵɵgetCurrentView();
9592
9619
  i0.ɵɵelementStart(0, "i", 2);
@@ -9595,10 +9622,10 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9595
9622
  } if (rf & 2) {
9596
9623
  const ctx_r1 = i0.ɵɵnextContext();
9597
9624
  i0.ɵɵclassMap(ctx_r1.chevronIconClass);
9598
- i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$4, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$b, ctx_r1.chevronRotationDegree)));
9625
+ i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$5, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$c, ctx_r1.chevronRotationDegree)));
9599
9626
  } }
9600
- const _c2 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
9601
- const _c3 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
9627
+ const _c2$1 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
9628
+ const _c3$1 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
9602
9629
  class DrAccordionItemHeaderComponent {
9603
9630
  get isCollapsed() {
9604
9631
  return this.accordionItem.collapsed;
@@ -9653,8 +9680,8 @@ class DrAccordionItemHeaderComponent {
9653
9680
  i0.ɵɵattribute("aria-expanded", ctx.expanded)("tabindex", ctx.tabbable)("aria-disabled", ctx.disabled);
9654
9681
  i0.ɵɵclassMap(ctx.theme);
9655
9682
  i0.ɵɵclassProp("accordion-item-header-collapsed", ctx.isCollapsed)("accordion-item-header-expanded", ctx.expanded);
9656
- } }, inputs: { chevronOrientation: "chevronOrientation", chevronPosition: "chevronPosition", icon: "icon", toggleOnChevronClick: "toggleOnChevronClick" }, ngContentSelectors: _c3, decls: 5, vars: 2, consts: [[3, "class", "dr-accordion-item-header-icon--additional-padding", 4, "ngIf"], [3, "class", "click", 4, "ngIf"], [3, "click"]], template: function DrAccordionItemHeaderComponent_Template(rf, ctx) { if (rf & 1) {
9657
- i0.ɵɵprojectionDef(_c2);
9683
+ } }, inputs: { chevronOrientation: "chevronOrientation", chevronPosition: "chevronPosition", icon: "icon", toggleOnChevronClick: "toggleOnChevronClick" }, ngContentSelectors: _c3$1, decls: 5, vars: 2, consts: [[3, "class", "dr-accordion-item-header-icon--additional-padding", 4, "ngIf"], [3, "class", "click", 4, "ngIf"], [3, "click"]], template: function DrAccordionItemHeaderComponent_Template(rf, ctx) { if (rf & 1) {
9684
+ i0.ɵɵprojectionDef(_c2$1);
9658
9685
  i0.ɵɵtemplate(0, DrAccordionItemHeaderComponent_i_0_Template, 1, 4, "i", 0);
9659
9686
  i0.ɵɵtemplate(1, DrAccordionItemHeaderComponent_i_1_Template, 1, 8, "i", 1);
9660
9687
  i0.ɵɵprojection(2);
@@ -9724,8 +9751,8 @@ class DrAccordionItemHeaderComponent {
9724
9751
  args: ['keydown.enter']
9725
9752
  }] }); })();
9726
9753
 
9727
- const _c0$a = function (a0) { return { value: a0 }; };
9728
- const _c1$3 = ["*"];
9754
+ const _c0$b = function (a0) { return { value: a0 }; };
9755
+ const _c1$4 = ["*"];
9729
9756
  const accordionItemBodyTrigger = trigger('accordionItemBody', [
9730
9757
  state('collapsed', style({
9731
9758
  overflow: 'hidden',
@@ -9756,13 +9783,13 @@ class DrAccordionItemBodyComponent {
9756
9783
  this.destroy$.complete();
9757
9784
  }
9758
9785
  /** @nocollapse */ static { this.ɵfac = function DrAccordionItemBodyComponent_Factory(t) { return new (t || DrAccordionItemBodyComponent)(i0.ɵɵdirectiveInject(DrAccordionItemComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
9759
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemBodyComponent, selectors: [["dr-accordion-item-body"]], ngContentSelectors: _c1$3, decls: 3, vars: 3, consts: [[1, "item-body"]], template: function DrAccordionItemBodyComponent_Template(rf, ctx) { if (rf & 1) {
9786
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemBodyComponent, selectors: [["dr-accordion-item-body"]], ngContentSelectors: _c1$4, decls: 3, vars: 3, consts: [[1, "item-body"]], template: function DrAccordionItemBodyComponent_Template(rf, ctx) { if (rf & 1) {
9760
9787
  i0.ɵɵprojectionDef();
9761
9788
  i0.ɵɵelementStart(0, "div")(1, "div", 0);
9762
9789
  i0.ɵɵprojection(2);
9763
9790
  i0.ɵɵelementEnd()();
9764
9791
  } if (rf & 2) {
9765
- i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$a, ctx.state));
9792
+ i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$b, ctx.state));
9766
9793
  } }, styles: [".item-body[_ngcontent-%COMP%]{flex:1;-ms-flex:1 1 auto;overflow:auto;position:relative}"], data: { animation: [accordionItemBodyTrigger] }, changeDetection: 0 }); }
9767
9794
  }
9768
9795
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAccordionItemBodyComponent, [{
@@ -9778,13 +9805,13 @@ class DrAccordionItemBodyComponent {
9778
9805
  type: Host
9779
9806
  }] }, { type: i0.ChangeDetectorRef }]; }, null); })();
9780
9807
 
9781
- const _c0$9 = [[["dr-layout-header"]], [["dr-layout-body"]]];
9782
- const _c1$2 = ["dr-layout-header", "dr-layout-body"];
9808
+ const _c0$a = [[["dr-layout-header"]], [["dr-layout-body"]]];
9809
+ const _c1$3 = ["dr-layout-header", "dr-layout-body"];
9783
9810
  class DrLayoutComponent {
9784
9811
  constructor() { }
9785
9812
  /** @nocollapse */ static { this.ɵfac = function DrLayoutComponent_Factory(t) { return new (t || DrLayoutComponent)(); }; }
9786
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutComponent, selectors: [["dr-layout"]], ngContentSelectors: _c1$2, 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) {
9787
- i0.ɵɵprojectionDef(_c0$9);
9813
+ /** @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) {
9814
+ i0.ɵɵprojectionDef(_c0$a);
9788
9815
  i0.ɵɵelementStart(0, "div", 0);
9789
9816
  i0.ɵɵprojection(1);
9790
9817
  i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3);
@@ -9797,11 +9824,11 @@ class DrLayoutComponent {
9797
9824
  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"] }]
9798
9825
  }], function () { return []; }, null); })();
9799
9826
 
9800
- const _c0$8 = ["*"];
9827
+ const _c0$9 = ["*"];
9801
9828
  class DrLayoutHeaderComponent {
9802
9829
  constructor() { }
9803
9830
  /** @nocollapse */ static { this.ɵfac = function DrLayoutHeaderComponent_Factory(t) { return new (t || DrLayoutHeaderComponent)(); }; }
9804
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$8, decls: 2, vars: 0, template: function DrLayoutHeaderComponent_Template(rf, ctx) { if (rf & 1) {
9831
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$9, decls: 2, vars: 0, template: function DrLayoutHeaderComponent_Template(rf, ctx) { if (rf & 1) {
9805
9832
  i0.ɵɵprojectionDef();
9806
9833
  i0.ɵɵelementStart(0, "nav");
9807
9834
  i0.ɵɵprojection(1);
@@ -9820,11 +9847,11 @@ class DrLayoutHeaderComponent {
9820
9847
  }]
9821
9848
  }], function () { return []; }, null); })();
9822
9849
 
9823
- const _c0$7 = ["*"];
9850
+ const _c0$8 = ["*"];
9824
9851
  class DrLayoutBodyComponent {
9825
9852
  constructor() { }
9826
9853
  /** @nocollapse */ static { this.ɵfac = function DrLayoutBodyComponent_Factory(t) { return new (t || DrLayoutBodyComponent)(); }; }
9827
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$7, decls: 1, vars: 0, template: function DrLayoutBodyComponent_Template(rf, ctx) { if (rf & 1) {
9854
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$8, decls: 1, vars: 0, template: function DrLayoutBodyComponent_Template(rf, ctx) { if (rf & 1) {
9828
9855
  i0.ɵɵprojectionDef();
9829
9856
  i0.ɵɵprojection(0);
9830
9857
  } }, encapsulation: 2 }); }
@@ -9846,7 +9873,7 @@ function DrDetailsListComponent_li_5_Template(rf, ctx) { if (rf & 1) {
9846
9873
  i0.ɵɵadvance(1);
9847
9874
  i0.ɵɵtextInterpolate(item_r1);
9848
9875
  } }
9849
- const _c0$6 = function (a0) { return { value: a0 }; };
9876
+ const _c0$7 = function (a0) { return { value: a0 }; };
9850
9877
  class DrDetailsListComponent {
9851
9878
  set items(val) {
9852
9879
  if (!val) {
@@ -9893,7 +9920,7 @@ class DrDetailsListComponent {
9893
9920
  i0.ɵɵadvance(1);
9894
9921
  i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
9895
9922
  i0.ɵɵadvance(1);
9896
- i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$6, ctx.state));
9923
+ i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$7, ctx.state));
9897
9924
  i0.ɵɵadvance(1);
9898
9925
  i0.ɵɵproperty("ngForOf", ctx.list);
9899
9926
  } }, 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: [
@@ -9937,7 +9964,7 @@ class DrDetailsListComponent {
9937
9964
  type: Input
9938
9965
  }] }); })();
9939
9966
 
9940
- const _c0$5 = ["content"];
9967
+ const _c0$6 = ["content"];
9941
9968
  function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9942
9969
  const _r7 = i0.ɵɵgetCurrentView();
9943
9970
  i0.ɵɵelementStart(0, "i", 10);
@@ -10039,7 +10066,7 @@ function DialogWrapperComponent_div_9_Template(rf, ctx) { if (rf & 1) {
10039
10066
  i0.ɵɵadvance(1);
10040
10067
  i0.ɵɵproperty("ngIf", ctx_r5.dialogData.acceptButton);
10041
10068
  } }
10042
- const _c1$1 = function (a0) { return { "flex-position": a0 }; };
10069
+ const _c1$2 = function (a0) { return { "flex-position": a0 }; };
10043
10070
  class DialogWrapperComponent {
10044
10071
  get elementClass() {
10045
10072
  return this.dialogData?.theme?.noThemeSizeClass ? null : this.dialogData?.theme?.themeSize || 'medium-modal';
@@ -10114,7 +10141,7 @@ class DialogWrapperComponent {
10114
10141
  }
10115
10142
  /** @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)); }; }
10116
10143
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DialogWrapperComponent, selectors: [["dr-dialog-wrapper"]], viewQuery: function DialogWrapperComponent_Query(rf, ctx) { if (rf & 1) {
10117
- i0.ɵɵviewQuery(_c0$5, 5, ViewContainerRef);
10144
+ i0.ɵɵviewQuery(_c0$6, 5, ViewContainerRef);
10118
10145
  } if (rf & 2) {
10119
10146
  let _t;
10120
10147
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
@@ -10139,7 +10166,7 @@ class DialogWrapperComponent {
10139
10166
  i0.ɵɵproperty("ngIf", ctx.dialogData.title);
10140
10167
  i0.ɵɵadvance(1);
10141
10168
  i0.ɵɵclassProp("dialog-wrapper__content--no-padding", ctx.dialogData.theme == null ? null : ctx.dialogData.theme.contentNoPadding);
10142
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$1, (ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class) && !ctx.childComponent));
10169
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$2, (ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class) && !ctx.childComponent));
10143
10170
  i0.ɵɵadvance(1);
10144
10171
  i0.ɵɵproperty("ngIf", ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class);
10145
10172
  i0.ɵɵadvance(1);
@@ -10310,8 +10337,8 @@ function DialogModalWrapperComponent_form_7_div_2_label_9_Template(rf, ctx) { if
10310
10337
  i0.ɵɵadvance(1);
10311
10338
  i0.ɵɵtextInterpolate1(" ", ctx_r19.dialogData.serverErrorMessage, " ");
10312
10339
  } }
10313
- const _c0$4 = function (a0) { return { display: a0 }; };
10314
- const _c1 = function (a0, a1) { return { "col-md-10": a0, "col-md-12": a1 }; };
10340
+ const _c0$5 = function (a0) { return { display: a0 }; };
10341
+ const _c1$1 = function (a0, a1) { return { "col-md-10": a0, "col-md-12": a1 }; };
10315
10342
  function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1) {
10316
10343
  i0.ɵɵelementStart(0, "div", 16);
10317
10344
  i0.ɵɵtemplate(1, DialogModalWrapperComponent_form_7_div_2_label_1_Template, 2, 2, "label", 17);
@@ -10328,11 +10355,11 @@ function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1
10328
10355
  const field_r11 = ctx.$implicit;
10329
10356
  const ctx_r10 = i0.ɵɵnextContext(2);
10330
10357
  i0.ɵɵclassMap(field_r11.formGroupClass);
10331
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$4, field_r11.isLabelFullWidth ? "block" : "flex"));
10358
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$5, field_r11.isLabelFullWidth ? "block" : "flex"));
10332
10359
  i0.ɵɵadvance(1);
10333
10360
  i0.ɵɵproperty("ngIf", field_r11.label && field_r11.type !== ctx_r10.dialogFieldType.CHECKBOX);
10334
10361
  i0.ɵɵadvance(1);
10335
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(14, _c1, field_r11.label && !field_r11.isLabelFullWidth, !field_r11.label || field_r11.isLabelFullWidth));
10362
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(14, _c1$1, field_r11.label && !field_r11.isLabelFullWidth, !field_r11.label || field_r11.isLabelFullWidth));
10336
10363
  i0.ɵɵadvance(1);
10337
10364
  i0.ɵɵproperty("ngIf", field_r11.type === ctx_r10.dialogFieldType.SELECT);
10338
10365
  i0.ɵɵadvance(1);
@@ -11013,7 +11040,7 @@ function TreeviewItemComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
11013
11040
  i0.ɵɵadvance(1);
11014
11041
  i0.ɵɵproperty("ngForOf", ctx_r2.item.children);
11015
11042
  } }
11016
- const _c0$3 = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
11043
+ const _c0$4 = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
11017
11044
  function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11018
11045
  i0.ɵɵelementStart(0, "div", 1);
11019
11046
  i0.ɵɵtemplate(1, TreeviewItemComponent_div_0_ng_template_1_Template, 0, 0, "ng-template", 2);
@@ -11022,7 +11049,7 @@ function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11022
11049
  } if (rf & 2) {
11023
11050
  const ctx_r0 = i0.ɵɵnextContext();
11024
11051
  i0.ɵɵadvance(1);
11025
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$3, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
11052
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$4, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
11026
11053
  i0.ɵɵadvance(1);
11027
11054
  i0.ɵɵproperty("ngIf", !ctx_r0.item.collapsed);
11028
11055
  } }
@@ -11757,6 +11784,119 @@ class DrShineAnimationDirective {
11757
11784
  type: Input
11758
11785
  }] }); })();
11759
11786
 
11787
+ class LetContext {
11788
+ constructor(dir) {
11789
+ this.dir = dir;
11790
+ }
11791
+ get ngLet() {
11792
+ return this.dir.ngLet;
11793
+ }
11794
+ }
11795
+ /**
11796
+ * Works like *ngIf but does not have a condition
11797
+ * Use it to declare the result of pipes calculation
11798
+ * (i.e. async pipe)
11799
+ */
11800
+ class LetDirective {
11801
+ constructor(viewContainer, templateRef) {
11802
+ viewContainer.createEmbeddedView(templateRef, new LetContext(this));
11803
+ }
11804
+ static ngTemplateContextGuard(dir, ctx) {
11805
+ return true;
11806
+ }
11807
+ /** @nocollapse */ static { this.ɵfac = function LetDirective_Factory(t) { return new (t || LetDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.TemplateRef)); }; }
11808
+ /** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: LetDirective, selectors: [["", "ngLet", ""]], inputs: { ngLet: "ngLet" }, standalone: true }); }
11809
+ }
11810
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LetDirective, [{
11811
+ type: Directive,
11812
+ args: [{
11813
+ selector: '[ngLet]',
11814
+ standalone: true,
11815
+ }]
11816
+ }], function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, { ngLet: [{
11817
+ type: Input
11818
+ }] }); })();
11819
+
11820
+ class TrackByPropertyDirective {
11821
+ constructor(ngForOfDir) {
11822
+ ngForOfDir.ngForTrackBy = (_, item) => item[this.ngForTrackByProperty];
11823
+ }
11824
+ /** @nocollapse */ static { this.ɵfac = function TrackByPropertyDirective_Factory(t) { return new (t || TrackByPropertyDirective)(i0.ɵɵdirectiveInject(i1.NgForOf, 1)); }; }
11825
+ /** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TrackByPropertyDirective, selectors: [["", "ngForTrackByProperty", ""]], inputs: { ngForTrackByProperty: "ngForTrackByProperty" }, standalone: true }); }
11826
+ }
11827
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TrackByPropertyDirective, [{
11828
+ type: Directive,
11829
+ args: [{
11830
+ selector: '[ngForTrackByProperty]',
11831
+ standalone: true,
11832
+ }]
11833
+ }], function () { return [{ type: i1.NgForOf, decorators: [{
11834
+ type: Host
11835
+ }] }]; }, { ngForTrackByProperty: [{
11836
+ type: Input
11837
+ }] }); })();
11838
+
11839
+ class ImgPipe {
11840
+ transform(value, ...args) {
11841
+ const isLocalHost = STATIC_URL.indexOf('localhost') >= 0 || STATIC_URL.indexOf('127.0.0.1') >= 0;
11842
+ const path = value.startsWith('./') ? value.replace('./', '/') : value.startsWith('/') ? value : '/' + value;
11843
+ return isLocalHost ? value : document.staticFunc(path);
11844
+ }
11845
+ /** @nocollapse */ static { this.ɵfac = function ImgPipe_Factory(t) { return new (t || ImgPipe)(); }; }
11846
+ /** @nocollapse */ static { this.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "img", type: ImgPipe, pure: true, standalone: true }); }
11847
+ }
11848
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImgPipe, [{
11849
+ type: Pipe,
11850
+ args: [{
11851
+ name: 'img',
11852
+ standalone: true,
11853
+ }]
11854
+ }], null, null); })();
11855
+
11856
+ class FilterPipe {
11857
+ transform(arr, fn, type, refresh) {
11858
+ if (!fn) {
11859
+ return arr;
11860
+ }
11861
+ if (!_.isArray(arr)) {
11862
+ return arr;
11863
+ }
11864
+ if (_.isFunction(fn)) {
11865
+ return arr.filter(fn);
11866
+ }
11867
+ else if (_.isArray(fn)) {
11868
+ const [key, value] = fn;
11869
+ if (_.isUndefined(value)) {
11870
+ return arr;
11871
+ }
11872
+ if (type === 'text') {
11873
+ if (key) {
11874
+ return arr.filter((item) => item[key].toLowerCase().includes(value.toLowerCase()));
11875
+ }
11876
+ else {
11877
+ return arr.filter((item) => item.toString().toLowerCase().includes(value.toLowerCase()));
11878
+ }
11879
+ }
11880
+ return arr.filter((item) => DrSharedUtils.getProperty(item, key) === value || item.system === 1);
11881
+ }
11882
+ else if (fn) {
11883
+ return arr.filter((item) => item === fn);
11884
+ }
11885
+ else {
11886
+ return arr;
11887
+ }
11888
+ }
11889
+ /** @nocollapse */ static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
11890
+ /** @nocollapse */ static { this.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true, standalone: true }); }
11891
+ }
11892
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPipe, [{
11893
+ type: Pipe,
11894
+ args: [{
11895
+ name: 'filter',
11896
+ standalone: true,
11897
+ }]
11898
+ }], null, null); })();
11899
+
11760
11900
  var FeedbackSentiment;
11761
11901
  (function (FeedbackSentiment) {
11762
11902
  FeedbackSentiment["POSITIVE"] = "positive";
@@ -12189,7 +12329,7 @@ class DrImageCropperCanvasService {
12189
12329
  type: Injectable
12190
12330
  }], null, null); })();
12191
12331
 
12192
- const _c0$2 = ["imageCanvas"];
12332
+ const _c0$3 = ["imageCanvas"];
12193
12333
  class DrImageCropperComponent {
12194
12334
  constructor(canvasService) {
12195
12335
  this.canvasService = canvasService;
@@ -12247,7 +12387,7 @@ class DrImageCropperComponent {
12247
12387
  }
12248
12388
  /** @nocollapse */ static { this.ɵfac = function DrImageCropperComponent_Factory(t) { return new (t || DrImageCropperComponent)(i0.ɵɵdirectiveInject(DrImageCropperCanvasService)); }; }
12249
12389
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrImageCropperComponent, selectors: [["dr-image-cropper"]], viewQuery: function DrImageCropperComponent_Query(rf, ctx) { if (rf & 1) {
12250
- i0.ɵɵviewQuery(_c0$2, 7);
12390
+ i0.ɵɵviewQuery(_c0$3, 7);
12251
12391
  } if (rf & 2) {
12252
12392
  let _t;
12253
12393
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.canvasElement = _t.first);
@@ -12464,10 +12604,395 @@ class DrDialogModule {
12464
12604
  }], null, null); })();
12465
12605
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrDialogModule, { declarations: [DialogWrapperComponent, DialogModalWrapperComponent], imports: [CommonModule, MatLegacyDialogModule, DrInputsModule, ReactiveFormsModule, DrTooltipModule, DrDetailsListModule], exports: [DialogWrapperComponent, DialogModalWrapperComponent] }); })();
12466
12606
 
12607
+ class ClickOutsideModule {
12608
+ /** @nocollapse */ static { this.ɵfac = function ClickOutsideModule_Factory(t) { return new (t || ClickOutsideModule)(); }; }
12609
+ /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: ClickOutsideModule }); }
12610
+ /** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
12611
+ }
12612
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClickOutsideModule, [{
12613
+ type: NgModule,
12614
+ args: [{
12615
+ imports: [CommonModule],
12616
+ declarations: [ClickOutsideDirective],
12617
+ exports: [ClickOutsideDirective],
12618
+ }]
12619
+ }], null, null); })();
12620
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ClickOutsideModule, { declarations: [ClickOutsideDirective], imports: [CommonModule], exports: [ClickOutsideDirective] }); })();
12621
+
12622
+ const _c0$2 = ["textAreaElement"];
12623
+ function DrChatFormWithHistoryComponent_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
12624
+ const _r11 = i0.ɵɵgetCurrentView();
12625
+ i0.ɵɵelementStart(0, "div", 18);
12626
+ i0.ɵɵelement(1, "i", 19);
12627
+ i0.ɵɵelementStart(2, "div", 20);
12628
+ i0.ɵɵtext(3);
12629
+ i0.ɵɵelementEnd();
12630
+ i0.ɵɵelementStart(4, "i", 21);
12631
+ i0.ɵɵlistener("click", function DrChatFormWithHistoryComponent_div_2_div_1_Template_i_click_4_listener() { const restoredCtx = i0.ɵɵrestoreView(_r11); const file_r9 = restoredCtx.$implicit; const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.removeFile(file_r9)); });
12632
+ i0.ɵɵelementEnd()();
12633
+ } if (rf & 2) {
12634
+ const file_r9 = ctx.$implicit;
12635
+ i0.ɵɵadvance(3);
12636
+ i0.ɵɵtextInterpolate(file_r9.name);
12637
+ } }
12638
+ function DrChatFormWithHistoryComponent_div_2_Template(rf, ctx) { if (rf & 1) {
12639
+ i0.ɵɵelementStart(0, "div", 16);
12640
+ i0.ɵɵtemplate(1, DrChatFormWithHistoryComponent_div_2_div_1_Template, 5, 1, "div", 17);
12641
+ i0.ɵɵelementEnd();
12642
+ } if (rf & 2) {
12643
+ const ctx_r0 = i0.ɵɵnextContext();
12644
+ i0.ɵɵadvance(1);
12645
+ i0.ɵɵproperty("ngForOf", ctx_r0.droppedFiles);
12646
+ } }
12647
+ function DrChatFormWithHistoryComponent_i_13_Template(rf, ctx) { if (rf & 1) {
12648
+ const _r13 = i0.ɵɵgetCurrentView();
12649
+ i0.ɵɵelementStart(0, "i", 22);
12650
+ i0.ɵɵlistener("click", function DrChatFormWithHistoryComponent_i_13_Template_i_click_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.sendMessage($event)); });
12651
+ i0.ɵɵelementEnd();
12652
+ } if (rf & 2) {
12653
+ const ctx_r3 = i0.ɵɵnextContext();
12654
+ const _r1 = i0.ɵɵreference(5);
12655
+ i0.ɵɵstyleMap(ctx_r3.getSendButtonPosition(_r1));
12656
+ } }
12657
+ function DrChatFormWithHistoryComponent_i_14_Template(rf, ctx) { if (rf & 1) {
12658
+ const _r15 = i0.ɵɵgetCurrentView();
12659
+ i0.ɵɵelementStart(0, "i", 23);
12660
+ i0.ɵɵlistener("click", function DrChatFormWithHistoryComponent_i_14_Template_i_click_0_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.sendMessage($event)); });
12661
+ i0.ɵɵelementEnd();
12662
+ } }
12663
+ function DrChatFormWithHistoryComponent_dr_dot_flashing_15_Template(rf, ctx) { if (rf & 1) {
12664
+ i0.ɵɵelement(0, "dr-dot-flashing", 24);
12665
+ } }
12666
+ function DrChatFormWithHistoryComponent_dr_button_16_Template(rf, ctx) { if (rf & 1) {
12667
+ const _r17 = i0.ɵɵgetCurrentView();
12668
+ i0.ɵɵelementStart(0, "dr-button", 25);
12669
+ i0.ɵɵlistener("click", function DrChatFormWithHistoryComponent_dr_button_16_Template_dr_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.abortMessage()); });
12670
+ i0.ɵɵtext(1, "Stop generating");
12671
+ i0.ɵɵelementEnd();
12672
+ } }
12673
+ function DrChatFormWithHistoryComponent_ng_container_17_Template(rf, ctx) { if (rf & 1) {
12674
+ const _r19 = i0.ɵɵgetCurrentView();
12675
+ i0.ɵɵelementContainerStart(0);
12676
+ i0.ɵɵelementStart(1, "div", 26);
12677
+ i0.ɵɵlistener("clickOutside", function DrChatFormWithHistoryComponent_ng_container_17_Template_div_clickOutside_1_listener() { i0.ɵɵrestoreView(_r19); const ctx_r18 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r18.closeHistory()); });
12678
+ i0.ɵɵprojection(2);
12679
+ i0.ɵɵelementEnd();
12680
+ i0.ɵɵelementContainerEnd();
12681
+ } if (rf & 2) {
12682
+ const ctx_r7 = i0.ɵɵnextContext();
12683
+ i0.ɵɵadvance(1);
12684
+ i0.ɵɵproperty("@dropdownAnimation", ctx_r7.isShowedHistory ? "visible" : "hidden")("exclude", ".dr-icon-history");
12685
+ } }
12686
+ const _c1 = function (a0) { return { height: a0 }; };
12687
+ const _c2 = function (a0, a1) { return { value: a0, params: a1 }; };
12688
+ const _c3 = function (a0, a1, a2) { return { "message-row__input--focused": a0, "message-row__input--filled": a1, "showed-dropdown": a2 }; };
12689
+ const _c4 = ["*"];
12690
+ class DrChatFormWithHistoryComponent {
12691
+ constructor(cdr, domSanitizer) {
12692
+ this.cdr = cdr;
12693
+ this.domSanitizer = domSanitizer;
12694
+ this._textareaInitialHeight = true;
12695
+ this.inputFocus = false;
12696
+ this.inputHover = false;
12697
+ this.droppedFiles = [];
12698
+ this.isShowedHistory = false;
12699
+ this.isChatMode = false;
12700
+ /**
12701
+ * Predefined message text
12702
+ *
12703
+ * @type {string}
12704
+ */
12705
+ this.message = '';
12706
+ /**
12707
+ * Message placeholder text
12708
+ *
12709
+ * @type {string}
12710
+ */
12711
+ this.messagePlaceholder = 'Type a message';
12712
+ /**
12713
+ * Show send button
12714
+ *
12715
+ * @type {boolean}
12716
+ */
12717
+ this.dropFiles = false;
12718
+ /**
12719
+ * File drop placeholder text
12720
+ *
12721
+ * @type {string}
12722
+ */
12723
+ this.dropFilePlaceholder = 'Drop file to send';
12724
+ /**
12725
+ * Parameter to check is send message function available
12726
+ *
12727
+ * @type {boolean}
12728
+ */
12729
+ this.waitForReply = false;
12730
+ /**
12731
+ * Parameter to check is send message function available
12732
+ *
12733
+ * @type {boolean}
12734
+ */
12735
+ this.showDisabledButtonInsteadOfDotFlashing = false;
12736
+ /**
12737
+ *
12738
+ * @type {EventEmitter<{ message: string, files: File[] }>}
12739
+ */
12740
+ this.send = new EventEmitter();
12741
+ this.abort = new EventEmitter();
12742
+ /**
12743
+ * Emits when message input value has been changed
12744
+ *
12745
+ * @type {EventEmitter<string>}
12746
+ */
12747
+ this.inputChange = new EventEmitter();
12748
+ this.fileOver = false;
12749
+ }
12750
+ onDrop(event) {
12751
+ if (this.dropFiles) {
12752
+ event.preventDefault();
12753
+ event.stopPropagation();
12754
+ this.fileOver = false;
12755
+ if (event.dataTransfer?.files) {
12756
+ for (const file of event.dataTransfer.files) {
12757
+ const res = file;
12758
+ if (IMAGE_TYPES.includes(file.type)) {
12759
+ const fr = new FileReader();
12760
+ fr.onload = (e) => {
12761
+ res.src = e.target.result;
12762
+ res.urlStyle = this.domSanitizer.bypassSecurityTrustStyle(`url(${res.src})`);
12763
+ this.cdr.detectChanges();
12764
+ };
12765
+ fr.readAsDataURL(file);
12766
+ }
12767
+ this.droppedFiles.push(res);
12768
+ }
12769
+ }
12770
+ }
12771
+ }
12772
+ removeFile(file) {
12773
+ const index = this.droppedFiles.indexOf(file);
12774
+ if (index >= 0) {
12775
+ this.droppedFiles.splice(index, 1);
12776
+ }
12777
+ }
12778
+ onDragOver(event) {
12779
+ event.preventDefault();
12780
+ event.stopPropagation();
12781
+ if (this.dropFiles) {
12782
+ this.fileOver = true;
12783
+ }
12784
+ }
12785
+ onDragLeave(event) {
12786
+ event.preventDefault();
12787
+ event.stopPropagation();
12788
+ if (this.dropFiles) {
12789
+ this.fileOver = false;
12790
+ }
12791
+ }
12792
+ sendMessage($event) {
12793
+ if (!$event || !$event.shiftKey) {
12794
+ $event && $event.preventDefault();
12795
+ if (this.waitForReply) {
12796
+ return;
12797
+ }
12798
+ if (this.droppedFiles.length || String(this.message).trim().length) {
12799
+ this._textareaInitialHeight = true;
12800
+ this.send.emit({ message: this.message, files: this.droppedFiles });
12801
+ this.message = '';
12802
+ this.droppedFiles = [];
12803
+ this.cdr.markForCheck();
12804
+ }
12805
+ }
12806
+ }
12807
+ abortMessage() {
12808
+ this.abort.emit();
12809
+ }
12810
+ onModelChange(value) {
12811
+ this._textareaInitialHeight = false;
12812
+ this.inputChange.emit(value);
12813
+ }
12814
+ getTextAreaHeight(textAreaElement) {
12815
+ if (this._textareaInitialHeight) {
12816
+ textAreaElement.style.height = '48px';
12817
+ }
12818
+ else {
12819
+ textAreaElement.style.height = 'auto';
12820
+ textAreaElement.style.height = textAreaElement.scrollHeight + 'px';
12821
+ }
12822
+ return `${textAreaElement.style.height}`;
12823
+ }
12824
+ getSendButtonPosition(textAreaElement) {
12825
+ return `top: calc(${this.getTextAreaHeight(textAreaElement)} - var(--send-button-offset));`;
12826
+ }
12827
+ showHistory() {
12828
+ this.isShowedHistory = !this.isShowedHistory;
12829
+ }
12830
+ closeHistory() {
12831
+ this.isShowedHistory = false;
12832
+ this.cdr.markForCheck();
12833
+ }
12834
+ onFileSelected(event) {
12835
+ const input = event.target;
12836
+ }
12837
+ /** @nocollapse */ static { this.ɵfac = function DrChatFormWithHistoryComponent_Factory(t) { return new (t || DrChatFormWithHistoryComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$5.DomSanitizer)); }; }
12838
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatFormWithHistoryComponent, selectors: [["dr-chat-form-with-history"]], viewQuery: function DrChatFormWithHistoryComponent_Query(rf, ctx) { if (rf & 1) {
12839
+ i0.ɵɵviewQuery(_c0$2, 5);
12840
+ } if (rf & 2) {
12841
+ let _t;
12842
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.textAreaElementRef = _t.first);
12843
+ } }, hostVars: 2, hostBindings: function DrChatFormWithHistoryComponent_HostBindings(rf, ctx) { if (rf & 1) {
12844
+ i0.ɵɵlistener("drop", function DrChatFormWithHistoryComponent_drop_HostBindingHandler($event) { return ctx.onDrop($event); })("dragover", function DrChatFormWithHistoryComponent_dragover_HostBindingHandler($event) { return ctx.onDragOver($event); })("dragleave", function DrChatFormWithHistoryComponent_dragleave_HostBindingHandler($event) { return ctx.onDragLeave($event); });
12845
+ } if (rf & 2) {
12846
+ i0.ɵɵclassProp("file-over", ctx.fileOver);
12847
+ } }, inputs: { isChatMode: "isChatMode", message: "message", messagePlaceholder: "messagePlaceholder", dropFiles: "dropFiles", dropFilePlaceholder: "dropFilePlaceholder", waitForReply: "waitForReply", showDisabledButtonInsteadOfDotFlashing: "showDisabledButtonInsteadOfDotFlashing" }, outputs: { send: "send", abort: "abort", inputChange: "inputChange" }, ngContentSelectors: _c4, decls: 18, vars: 23, consts: [[1, "message-row"], [1, "message-row__input", 3, "ngClass"], ["class", "dropped-files", 4, "ngIf"], [1, "message-row__input-textarea-wrap"], ["type", "text", 3, "ngModel", "rows", "placeholder", "focus", "blur", "mouseenter", "mouseleave", "ngModelChange", "keydown.enter"], ["textAreaElement", ""], [1, "message-input-tmp"], ["type", "file", "hidden", "", "multiple", "", 3, "change"], ["fileInput", ""], [1, "dr-icon-history", 3, "click"], [1, "dr-icon-attachment", 3, "click"], ["class", "dr-icon-send-arrow-up send-button", 3, "style", "click", 4, "ngIf"], ["class", "dr-icon-send-arrow-up send-button-disabled", 3, "click", 4, "ngIf"], ["class", "wait-reply-dot-flashing", 4, "ngIf"], ["theme", "ghost", "class", "abort-button", 3, "click", 4, "ngIf"], [4, "ngIf"], [1, "dropped-files"], ["class", "dropped-files__item", 4, "ngFor", "ngForOf"], [1, "dropped-files__item"], [1, "dr-icon-file"], [1, "dropped-files__item-name"], [1, "dr-icon-noty-error", "dropped-files__item-remove", 3, "click"], [1, "dr-icon-send-arrow-up", "send-button", 3, "click"], [1, "dr-icon-send-arrow-up", "send-button-disabled", 3, "click"], [1, "wait-reply-dot-flashing"], ["theme", "ghost", 1, "abort-button", 3, "click"], [1, "history-dropdown", 3, "exclude", "clickOutside"]], template: function DrChatFormWithHistoryComponent_Template(rf, ctx) { if (rf & 1) {
12848
+ const _r20 = i0.ɵɵgetCurrentView();
12849
+ i0.ɵɵprojectionDef();
12850
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
12851
+ i0.ɵɵtemplate(2, DrChatFormWithHistoryComponent_div_2_Template, 2, 1, "div", 2);
12852
+ i0.ɵɵelementStart(3, "div", 3)(4, "textarea", 4, 5);
12853
+ i0.ɵɵlistener("focus", function DrChatFormWithHistoryComponent_Template_textarea_focus_4_listener() { return ctx.inputFocus = true; })("blur", function DrChatFormWithHistoryComponent_Template_textarea_blur_4_listener() { return ctx.inputFocus = false; })("mouseenter", function DrChatFormWithHistoryComponent_Template_textarea_mouseenter_4_listener() { return ctx.inputHover = true; })("mouseleave", function DrChatFormWithHistoryComponent_Template_textarea_mouseleave_4_listener() { return ctx.inputHover = false; })("ngModelChange", function DrChatFormWithHistoryComponent_Template_textarea_ngModelChange_4_listener($event) { return ctx.message = $event; })("ngModelChange", function DrChatFormWithHistoryComponent_Template_textarea_ngModelChange_4_listener($event) { return ctx.onModelChange($event); })("keydown.enter", function DrChatFormWithHistoryComponent_Template_textarea_keydown_enter_4_listener($event) { return ctx.sendMessage($event); });
12854
+ i0.ɵɵtext(6, " ");
12855
+ i0.ɵɵelementEnd();
12856
+ i0.ɵɵelementStart(7, "div", 6);
12857
+ i0.ɵɵtext(8);
12858
+ i0.ɵɵelementEnd();
12859
+ i0.ɵɵelementStart(9, "input", 7, 8);
12860
+ i0.ɵɵlistener("change", function DrChatFormWithHistoryComponent_Template_input_change_9_listener($event) { return ctx.onFileSelected($event); });
12861
+ i0.ɵɵelementEnd();
12862
+ i0.ɵɵelementStart(11, "i", 9);
12863
+ i0.ɵɵlistener("click", function DrChatFormWithHistoryComponent_Template_i_click_11_listener() { return ctx.showHistory(); });
12864
+ i0.ɵɵelementEnd();
12865
+ i0.ɵɵelementStart(12, "i", 10);
12866
+ i0.ɵɵlistener("click", function DrChatFormWithHistoryComponent_Template_i_click_12_listener() { i0.ɵɵrestoreView(_r20); const _r2 = i0.ɵɵreference(10); return i0.ɵɵresetView(_r2.click()); });
12867
+ i0.ɵɵelementEnd();
12868
+ i0.ɵɵtemplate(13, DrChatFormWithHistoryComponent_i_13_Template, 1, 2, "i", 11);
12869
+ i0.ɵɵtemplate(14, DrChatFormWithHistoryComponent_i_14_Template, 1, 0, "i", 12);
12870
+ i0.ɵɵtemplate(15, DrChatFormWithHistoryComponent_dr_dot_flashing_15_Template, 1, 0, "dr-dot-flashing", 13);
12871
+ i0.ɵɵtemplate(16, DrChatFormWithHistoryComponent_dr_button_16_Template, 2, 0, "dr-button", 14);
12872
+ i0.ɵɵelementEnd();
12873
+ i0.ɵɵtemplate(17, DrChatFormWithHistoryComponent_ng_container_17_Template, 3, 2, "ng-container", 15);
12874
+ i0.ɵɵelementEnd()();
12875
+ } if (rf & 2) {
12876
+ const _r1 = i0.ɵɵreference(5);
12877
+ i0.ɵɵadvance(1);
12878
+ i0.ɵɵproperty("@containerHeightAnimation", i0.ɵɵpureFunction2(16, _c2, ctx.showHistory ? "expanded" : "collapsed", i0.ɵɵpureFunction1(14, _c1, ctx.getTextAreaHeight(_r1))))("ngClass", i0.ɵɵpureFunction3(19, _c3, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length), ctx.isShowedHistory));
12879
+ i0.ɵɵadvance(1);
12880
+ i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
12881
+ i0.ɵɵadvance(2);
12882
+ i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
12883
+ i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
12884
+ i0.ɵɵproperty("ngModel", ctx.message)("rows", 1);
12885
+ i0.ɵɵadvance(4);
12886
+ i0.ɵɵtextInterpolate(_r1.value);
12887
+ i0.ɵɵadvance(5);
12888
+ i0.ɵɵproperty("ngIf", !ctx.waitForReply);
12889
+ i0.ɵɵadvance(1);
12890
+ i0.ɵɵproperty("ngIf", ctx.waitForReply && ctx.showDisabledButtonInsteadOfDotFlashing);
12891
+ i0.ɵɵadvance(1);
12892
+ i0.ɵɵproperty("ngIf", ctx.waitForReply && !ctx.showDisabledButtonInsteadOfDotFlashing);
12893
+ i0.ɵɵadvance(1);
12894
+ i0.ɵɵproperty("ngIf", ctx.waitForReply);
12895
+ i0.ɵɵadvance(1);
12896
+ i0.ɵɵproperty("ngIf", !ctx.isChatMode);
12897
+ } }, dependencies: [i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.NgModel, i1.NgClass, i1.NgForOf, i1.NgIf, DrButtonComponent, ClickOutsideDirective, DrDotFlashingComponent], styles: ["[_nghost-%COMP%]{--send-button-offset: 42px;display:flex;flex-direction:column;align-items:center;padding:0 16px}[_nghost-%COMP%] .message-row[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;padding:0 0 21px;max-width:956px}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%]{flex-direction:column;background-color:#fff;position:relative;display:flex;align-items:center;flex-grow:1;height:auto;overflow:visible;min-width:265px;border-radius:24px;border:1.5px solid transparent;box-shadow:0 2px 16px -10px #603cff29;transition:.35s ease}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .send-button[_ngcontent-%COMP%], [_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .send-button-disabled[_ngcontent-%COMP%]{width:32px;height:32px;display:flex;align-items:center;justify-content:center;position:absolute;top:2.5px;right:8px;cursor:pointer;font-size:24px;border-radius:100px;background:#f0f1f4;color:#aeabac;transition:.15s ease-in-out}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .dr-icon-history[_ngcontent-%COMP%], [_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .dr-icon-attachment[_ngcontent-%COMP%]{display:flex;align-items:center;position:absolute;cursor:pointer;width:32px;height:48px;left:16px;top:-1px}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .dr-icon-attachment[_ngcontent-%COMP%]{left:52px}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .send-button[_ngcontent-%COMP%]{color:#fff;background:linear-gradient(266deg,#6969ff 25.2%,#4eb7df 90.24%) border-box;opacity:.5}[_nghost-%COMP%] .message-row__input--focused[_ngcontent-%COMP%]{box-shadow:8px 8px 16px #6969ff40,-4px -4px 8px #40b6e340,8px 8px 60px #00000040;height:auto!important;background:#fff}[_nghost-%COMP%] .message-row__input--filled[_ngcontent-%COMP%]{box-shadow:8px 8px 16px #6969ff40,-4px -4px 8px #40b6e340,8px 8px 60px #00000040;background:#fff}[_nghost-%COMP%] .message-row__input--filled[_ngcontent-%COMP%] .send-button[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .message-input-tmp[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .message-row__input.showed-dropdown[_ngcontent-%COMP%] .send-button[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%]:before{content:\"\";position:absolute;inset:-3px;background:linear-gradient(266deg,#6969ff 25.2%,#4eb7df 90.24%);border-radius:25px;z-index:-1}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], [_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .message-input-tmp[_ngcontent-%COMP%]{font-size:14px;color:#333;width:100%;outline:none;min-height:48px;line-height:19px;flex-grow:1;resize:none;padding:13px 55px 13px 88px;margin:auto;border:none;border-radius:22.5px}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus, [_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .message-input-tmp[_ngcontent-%COMP%]:focus{border:none}[_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder, [_nghost-%COMP%] .message-row__input[_ngcontent-%COMP%] .message-input-tmp[_ngcontent-%COMP%]::placeholder{color:#9ea1aa}[_nghost-%COMP%] .message-row__input-textarea-wrap[_ngcontent-%COMP%]{display:flex;width:100%;position:relative}[_nghost-%COMP%] .history-dropdown[_ngcontent-%COMP%]{width:100%;max-height:220px;overflow-y:auto;padding:12px 16px 0}[_nghost-%COMP%] .showed-dropdown[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{visibility:hidden;position:absolute}[_nghost-%COMP%] .showed-dropdown[_ngcontent-%COMP%] .message-input-tmp[_ngcontent-%COMP%]{display:block;margin-left:inherit;white-space:nowrap;font-family:monospace;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .showed-dropdown[_ngcontent-%COMP%] .send-button[_ngcontent-%COMP%]{top:2.5px!important}[_nghost-%COMP%] .dropped-files[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:.5rem;flex-wrap:wrap;gap:8px;padding-left:16px}[_nghost-%COMP%] .dropped-files__item[_ngcontent-%COMP%]{max-width:183px;display:flex;flex-direction:row;gap:4px;justify-content:space-between;align-items:center;margin-top:16px;padding:4px 8px;border:1px solid rgb(223,224,227);box-sizing:border-box;border-radius:8px}[_nghost-%COMP%] .dropped-files__item-name[_ngcontent-%COMP%]{font-family:Poppins,sans-serif;font-size:12px;line-height:20px;font-weight:500;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .dropped-files__item-remove[_ngcontent-%COMP%]{cursor:pointer}"], data: { animation: [
12898
+ trigger('containerHeightAnimation', [
12899
+ state('collapsed', style({ height: '{{height}}' }), { params: { height: '48px' } }),
12900
+ state('expanded', style({
12901
+ height: '*',
12902
+ })),
12903
+ transition('collapsed => expanded', [animate('300ms ease-in-out')]),
12904
+ transition('expanded => collapsed', [query('@dropdownAnimation', animateChild()), animate('300ms ease-in-out')]),
12905
+ ]),
12906
+ trigger('dropdownAnimation', [
12907
+ state('hidden', style({
12908
+ opacity: 0,
12909
+ transform: 'translateY(-30px)',
12910
+ display: 'none',
12911
+ })),
12912
+ state('visible', style({
12913
+ opacity: 1,
12914
+ transform: 'translateY(0)',
12915
+ display: 'block',
12916
+ })),
12917
+ transition('hidden => visible', [style({ display: 'block' }), animate('300ms ease-in-out')]),
12918
+ transition('visible => hidden', [
12919
+ animate('300ms ease-in-out', style({ opacity: 0, transform: 'translateY(-30px)' })),
12920
+ style({ display: 'none' }),
12921
+ ]),
12922
+ ]),
12923
+ ] }, changeDetection: 0 }); }
12924
+ }
12925
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrChatFormWithHistoryComponent, [{
12926
+ type: Component,
12927
+ args: [{ selector: 'dr-chat-form-with-history', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
12928
+ trigger('containerHeightAnimation', [
12929
+ state('collapsed', style({ height: '{{height}}' }), { params: { height: '48px' } }),
12930
+ state('expanded', style({
12931
+ height: '*',
12932
+ })),
12933
+ transition('collapsed => expanded', [animate('300ms ease-in-out')]),
12934
+ transition('expanded => collapsed', [query('@dropdownAnimation', animateChild()), animate('300ms ease-in-out')]),
12935
+ ]),
12936
+ trigger('dropdownAnimation', [
12937
+ state('hidden', style({
12938
+ opacity: 0,
12939
+ transform: 'translateY(-30px)',
12940
+ display: 'none',
12941
+ })),
12942
+ state('visible', style({
12943
+ opacity: 1,
12944
+ transform: 'translateY(0)',
12945
+ display: 'block',
12946
+ })),
12947
+ transition('hidden => visible', [style({ display: 'block' }), animate('300ms ease-in-out')]),
12948
+ transition('visible => hidden', [
12949
+ animate('300ms ease-in-out', style({ opacity: 0, transform: 'translateY(-30px)' })),
12950
+ style({ display: 'none' }),
12951
+ ]),
12952
+ ]),
12953
+ ], template: "<div class=\"message-row\">\n <div\n [@containerHeightAnimation]=\"{\n value: showHistory ? 'expanded' : 'collapsed',\n params: { height: getTextAreaHeight(textAreaElement) },\n }\"\n class=\"message-row__input\"\n [ngClass]=\"{\n 'message-row__input--focused': inputFocus,\n 'message-row__input--filled': !!message?.length,\n 'showed-dropdown': isShowedHistory,\n }\">\n <div class=\"dropped-files\" *ngIf=\"droppedFiles?.length\">\n <div class=\"dropped-files__item\" *ngFor=\"let file of droppedFiles\">\n <i class=\"dr-icon-file\"></i>\n <div class=\"dropped-files__item-name\">{{ file.name }}</div>\n <i class=\"dr-icon-noty-error dropped-files__item-remove\" (click)=\"removeFile(file)\"></i>\n </div>\n </div>\n\n <div class=\"message-row__input-textarea-wrap\">\n <textarea\n #textAreaElement\n (focus)=\"inputFocus = true\"\n (blur)=\"inputFocus = false\"\n (mouseenter)=\"inputHover = true\"\n (mouseleave)=\"inputHover = false\"\n [(ngModel)]=\"message\"\n [rows]=\"1\"\n [style]=\"getTextAreaHeight(textAreaElement)\"\n (ngModelChange)=\"onModelChange($event)\"\n type=\"text\"\n placeholder=\"{{ fileOver ? dropFilePlaceholder : messagePlaceholder }}\"\n (keydown.enter)=\"sendMessage($event)\">\n </textarea>\n\n <div class=\"message-input-tmp\">{{ textAreaElement.value }}</div>\n\n <input #fileInput type=\"file\" hidden multiple (change)=\"onFileSelected($event)\" />\n <i (click)=\"showHistory()\" class=\"dr-icon-history\"></i>\n <i (click)=\"fileInput.click()\" class=\"dr-icon-attachment\"></i>\n\n <i\n *ngIf=\"!waitForReply\"\n [style]=\"getSendButtonPosition(textAreaElement)\"\n (click)=\"sendMessage($event)\"\n class=\"dr-icon-send-arrow-up send-button\"></i>\n <i\n *ngIf=\"waitForReply && showDisabledButtonInsteadOfDotFlashing\"\n (click)=\"sendMessage($event)\"\n class=\"dr-icon-send-arrow-up send-button-disabled\"></i>\n\n <dr-dot-flashing\n *ngIf=\"waitForReply && !showDisabledButtonInsteadOfDotFlashing\"\n class=\"wait-reply-dot-flashing\"></dr-dot-flashing>\n <dr-button *ngIf=\"waitForReply\" (click)=\"abortMessage()\" theme=\"ghost\" class=\"abort-button\"\n >Stop generating</dr-button\n >\n </div>\n\n <ng-container *ngIf=\"!isChatMode\">\n <div\n [@dropdownAnimation]=\"isShowedHistory ? 'visible' : 'hidden'\"\n class=\"history-dropdown\"\n [exclude]=\"'.dr-icon-history'\"\n (clickOutside)=\"closeHistory()\">\n <ng-content></ng-content>\n </div>\n </ng-container>\n </div>\n</div>\n", styles: [":host{--send-button-offset: 42px;display:flex;flex-direction:column;align-items:center;padding:0 16px}:host .message-row{display:flex;justify-content:center;width:100%;padding:0 0 21px;max-width:956px}:host .message-row__input{flex-direction:column;background-color:#fff;position:relative;display:flex;align-items:center;flex-grow:1;height:auto;overflow:visible;min-width:265px;border-radius:24px;border:1.5px solid transparent;box-shadow:0 2px 16px -10px #603cff29;transition:.35s ease}:host .message-row__input .send-button,:host .message-row__input .send-button-disabled{width:32px;height:32px;display:flex;align-items:center;justify-content:center;position:absolute;top:2.5px;right:8px;cursor:pointer;font-size:24px;border-radius:100px;background:#f0f1f4;color:#aeabac;transition:.15s ease-in-out}:host .message-row__input .dr-icon-history,:host .message-row__input .dr-icon-attachment{display:flex;align-items:center;position:absolute;cursor:pointer;width:32px;height:48px;left:16px;top:-1px}:host .message-row__input .dr-icon-attachment{left:52px}:host .message-row__input .send-button{color:#fff;background:linear-gradient(266deg,#6969ff 25.2%,#4eb7df 90.24%) border-box;opacity:.5}:host .message-row__input--focused{box-shadow:8px 8px 16px #6969ff40,-4px -4px 8px #40b6e340,8px 8px 60px #00000040;height:auto!important;background:#fff}:host .message-row__input--filled{box-shadow:8px 8px 16px #6969ff40,-4px -4px 8px #40b6e340,8px 8px 60px #00000040;background:#fff}:host .message-row__input--filled .send-button{opacity:1}:host .message-row__input .message-input-tmp{display:none}:host .message-row__input.showed-dropdown .send-button{opacity:.5}:host .message-row__input:before{content:\"\";position:absolute;inset:-3px;background:linear-gradient(266deg,#6969ff 25.2%,#4eb7df 90.24%);border-radius:25px;z-index:-1}:host .message-row__input textarea,:host .message-row__input .message-input-tmp{font-size:14px;color:#333;width:100%;outline:none;min-height:48px;line-height:19px;flex-grow:1;resize:none;padding:13px 55px 13px 88px;margin:auto;border:none;border-radius:22.5px}:host .message-row__input textarea:focus,:host .message-row__input .message-input-tmp:focus{border:none}:host .message-row__input textarea::placeholder,:host .message-row__input .message-input-tmp::placeholder{color:#9ea1aa}:host .message-row__input-textarea-wrap{display:flex;width:100%;position:relative}:host .history-dropdown{width:100%;max-height:220px;overflow-y:auto;padding:12px 16px 0}:host .showed-dropdown textarea{visibility:hidden;position:absolute}:host .showed-dropdown .message-input-tmp{display:block;margin-left:inherit;white-space:nowrap;font-family:monospace;overflow:hidden;text-overflow:ellipsis}:host .showed-dropdown .send-button{top:2.5px!important}:host .dropped-files{display:flex;flex-direction:row;margin-bottom:.5rem;flex-wrap:wrap;gap:8px;padding-left:16px}:host .dropped-files__item{max-width:183px;display:flex;flex-direction:row;gap:4px;justify-content:space-between;align-items:center;margin-top:16px;padding:4px 8px;border:1px solid rgb(223,224,227);box-sizing:border-box;border-radius:8px}:host .dropped-files__item-name{font-family:Poppins,sans-serif;font-size:12px;line-height:20px;font-weight:500;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .dropped-files__item-remove{cursor:pointer}\n"] }]
12954
+ }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$5.DomSanitizer }]; }, { textAreaElementRef: [{
12955
+ type: ViewChild,
12956
+ args: ['textAreaElement']
12957
+ }], isChatMode: [{
12958
+ type: Input
12959
+ }], message: [{
12960
+ type: Input
12961
+ }], messagePlaceholder: [{
12962
+ type: Input
12963
+ }], dropFiles: [{
12964
+ type: Input
12965
+ }], dropFilePlaceholder: [{
12966
+ type: Input
12967
+ }], waitForReply: [{
12968
+ type: Input
12969
+ }], showDisabledButtonInsteadOfDotFlashing: [{
12970
+ type: Input
12971
+ }], send: [{
12972
+ type: Output
12973
+ }], abort: [{
12974
+ type: Output
12975
+ }], inputChange: [{
12976
+ type: Output
12977
+ }], fileOver: [{
12978
+ type: HostBinding,
12979
+ args: ['class.file-over']
12980
+ }], onDrop: [{
12981
+ type: HostListener,
12982
+ args: ['drop', ['$event']]
12983
+ }], onDragOver: [{
12984
+ type: HostListener,
12985
+ args: ['dragover', ['$event']]
12986
+ }], onDragLeave: [{
12987
+ type: HostListener,
12988
+ args: ['dragleave', ['$event']]
12989
+ }] }); })();
12990
+
12467
12991
  const DR_CHAT_COMPONENTS = [
12468
12992
  DrChatComponent,
12469
12993
  DrChatMessageComponent,
12470
12994
  DrChatFormComponent,
12995
+ DrChatFormWithHistoryComponent,
12471
12996
  DrChatMessageTextComponent,
12472
12997
  DrChatMessageFileComponent,
12473
12998
  DrChatSuggestionsComponent,
@@ -12478,12 +13003,26 @@ const DR_CHAT_DIRECTIVES = [DrChatCustomMessageDirective];
12478
13003
  class DrChatModule {
12479
13004
  /** @nocollapse */ static { this.ɵfac = function DrChatModule_Factory(t) { return new (t || DrChatModule)(); }; }
12480
13005
  /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: DrChatModule }); }
12481
- /** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [FormsModule, ReactiveFormsModule, CommonModule, DrAvatarModule, DrInputsModule, DrTooltipModule] }); }
13006
+ /** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [FormsModule,
13007
+ ReactiveFormsModule,
13008
+ CommonModule,
13009
+ DrAvatarModule,
13010
+ DrInputsModule,
13011
+ DrTooltipModule,
13012
+ ClickOutsideModule] }); }
12482
13013
  }
12483
13014
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrChatModule, [{
12484
13015
  type: NgModule,
12485
13016
  args: [{
12486
- imports: [FormsModule, ReactiveFormsModule, CommonModule, DrAvatarModule, DrInputsModule, DrTooltipModule],
13017
+ imports: [
13018
+ FormsModule,
13019
+ ReactiveFormsModule,
13020
+ CommonModule,
13021
+ DrAvatarModule,
13022
+ DrInputsModule,
13023
+ DrTooltipModule,
13024
+ ClickOutsideModule,
13025
+ ],
12487
13026
  declarations: [...DR_CHAT_COMPONENTS, ...DR_CHAT_DIRECTIVES],
12488
13027
  exports: [...DR_CHAT_COMPONENTS, ...DR_CHAT_DIRECTIVES],
12489
13028
  }]
@@ -12491,13 +13030,21 @@ class DrChatModule {
12491
13030
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrChatModule, { declarations: [DrChatComponent,
12492
13031
  DrChatMessageComponent,
12493
13032
  DrChatFormComponent,
13033
+ DrChatFormWithHistoryComponent,
12494
13034
  DrChatMessageTextComponent,
12495
13035
  DrChatMessageFileComponent,
12496
13036
  DrChatSuggestionsComponent,
12497
13037
  DrDotFlashingComponent,
12498
- DrChatAlertComponent, DrChatCustomMessageDirective], imports: [FormsModule, ReactiveFormsModule, CommonModule, DrAvatarModule, DrInputsModule, DrTooltipModule], exports: [DrChatComponent,
13038
+ DrChatAlertComponent, DrChatCustomMessageDirective], imports: [FormsModule,
13039
+ ReactiveFormsModule,
13040
+ CommonModule,
13041
+ DrAvatarModule,
13042
+ DrInputsModule,
13043
+ DrTooltipModule,
13044
+ ClickOutsideModule], exports: [DrChatComponent,
12499
13045
  DrChatMessageComponent,
12500
13046
  DrChatFormComponent,
13047
+ DrChatFormWithHistoryComponent,
12501
13048
  DrChatMessageTextComponent,
12502
13049
  DrChatMessageFileComponent,
12503
13050
  DrChatSuggestionsComponent,
@@ -12575,21 +13122,6 @@ class TreeviewModule {
12575
13122
  }], null, null); })();
12576
13123
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TreeviewModule, { declarations: [TreeviewComponent, TreeviewItemComponent, TreeviewPipe], imports: [FormsModule, CommonModule], exports: [TreeviewComponent, TreeviewPipe] }); })();
12577
13124
 
12578
- class ClickOutsideModule {
12579
- /** @nocollapse */ static { this.ɵfac = function ClickOutsideModule_Factory(t) { return new (t || ClickOutsideModule)(); }; }
12580
- /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: ClickOutsideModule }); }
12581
- /** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
12582
- }
12583
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClickOutsideModule, [{
12584
- type: NgModule,
12585
- args: [{
12586
- imports: [CommonModule],
12587
- declarations: [ClickOutsideDirective],
12588
- exports: [ClickOutsideDirective],
12589
- }]
12590
- }], null, null); })();
12591
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ClickOutsideModule, { declarations: [ClickOutsideDirective], imports: [CommonModule], exports: [ClickOutsideDirective] }); })();
12592
-
12593
13125
  class DrAlertModule {
12594
13126
  /** @nocollapse */ static { this.ɵfac = function DrAlertModule_Factory(t) { return new (t || DrAlertModule)(); }; }
12595
13127
  /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: DrAlertModule }); }
@@ -13180,5 +13712,5 @@ class DrawerModule {
13180
13712
  * Generated bundle index. Do not edit.
13181
13713
  */
13182
13714
 
13183
- 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, DrChatFormComponent, 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, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, 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, ForecastTagComponent, ForecastTagService, ICodeEditorHintIcon, IMAGE_TYPES, 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, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, WeekTagComponent, YearTagComponent };
13715
+ 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, DrChatFormComponent, 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, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, 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, 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 };
13184
13716
  //# sourceMappingURL=datarailsshared-datarailsshared.mjs.map