@datarailsshared/datarailsshared 1.5.574 → 1.5.578

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.
@@ -14,7 +14,7 @@ import { isNil, isObject, cloneDeep, find, indexOf, reduce, map as map$1, isNumb
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';
@@ -638,7 +638,7 @@ var TooltipTheme;
638
638
  TooltipTheme["DARK"] = "dark";
639
639
  })(TooltipTheme || (TooltipTheme = {}));
640
640
 
641
- const _c0$F = ["*"];
641
+ const _c0$G = ["*"];
642
642
  class TooltipDefaultComponent {
643
643
  constructor() {
644
644
  this.theme = TooltipTheme.LIGHT;
@@ -646,7 +646,7 @@ class TooltipDefaultComponent {
646
646
  /** @nocollapse */ static { this.ɵfac = function TooltipDefaultComponent_Factory(t) { return new (t || TooltipDefaultComponent)(); }; }
647
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) {
648
648
  i0.ɵɵclassMap(ctx.theme);
649
- } }, 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) {
650
650
  i0.ɵɵprojectionDef();
651
651
  i0.ɵɵelement(0, "span", 0);
652
652
  i0.ɵɵprojection(1);
@@ -687,7 +687,7 @@ function TooltipComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
687
687
  const ctx_r3 = i0.ɵɵnextContext();
688
688
  i0.ɵɵproperty("content", ctx_r3.content)("theme", ctx_r3.theme);
689
689
  } }
690
- const _c0$E = function (a0) { return { "dr-tooltip": a0 }; };
690
+ const _c0$F = function (a0) { return { "dr-tooltip": a0 }; };
691
691
  class TooltipComponent {
692
692
  constructor() {
693
693
  this.isContentTemplate = false;
@@ -714,7 +714,7 @@ class TooltipComponent {
714
714
  } if (rf & 2) {
715
715
  const _r2 = i0.ɵɵreference(4);
716
716
  i0.ɵɵclassMap(ctx.position + " " + ctx.class + " " + ctx.theme);
717
- 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)));
718
718
  i0.ɵɵadvance(1);
719
719
  i0.ɵɵproperty("ngIf", !(ctx.options == null ? null : ctx.options.withoutArrow));
720
720
  i0.ɵɵadvance(1);
@@ -1017,11 +1017,11 @@ class DrSpinnerDirective {
1017
1017
  type: Input
1018
1018
  }] }); })();
1019
1019
 
1020
- const _c0$D = ["labelTemplate"];
1021
- const _c1$g = ["multiLabelTemplate"];
1022
- const _c2$6 = ["optionTemplate"];
1023
- const _c3$5 = ["optionHeaderTemplate"];
1024
- 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"];
1025
1025
  const _c5 = function (a0) { return { item: a0 }; };
1026
1026
  function DrSelectComponent_2_ng_template_0_Template(rf, ctx) { if (rf & 1) {
1027
1027
  i0.ɵɵelementContainer(0, 6);
@@ -1233,11 +1233,11 @@ class DrSelectComponent {
1233
1233
  }
1234
1234
  /** @nocollapse */ static { this.ɵfac = function DrSelectComponent_Factory(t) { return new (t || DrSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
1235
1235
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1236
- i0.ɵɵcontentQuery(dirIndex, _c0$D, 5);
1237
- i0.ɵɵcontentQuery(dirIndex, _c1$g, 5);
1238
- i0.ɵɵcontentQuery(dirIndex, _c2$6, 5);
1239
- i0.ɵɵcontentQuery(dirIndex, _c3$5, 5);
1240
- 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);
1241
1241
  } if (rf & 2) {
1242
1242
  let _t;
1243
1243
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.labelTemplate = _t.first);
@@ -1414,8 +1414,8 @@ class DrShowTimeframePipe {
1414
1414
  }]
1415
1415
  }], null, null); })();
1416
1416
 
1417
- const _c0$C = ["class", "component"];
1418
- 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 }; };
1419
1419
  function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
1420
1420
  const _r6 = i0.ɵɵgetCurrentView();
1421
1421
  i0.ɵɵelementStart(0, "div", 14);
@@ -1425,7 +1425,7 @@ function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) {
1425
1425
  } if (rf & 2) {
1426
1426
  const tag_r4 = ctx.$implicit;
1427
1427
  const ctx_r3 = i0.ɵɵnextContext(3);
1428
- 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");
1429
1429
  i0.ɵɵadvance(1);
1430
1430
  i0.ɵɵtextInterpolate1(" ", tag_r4.label, " ");
1431
1431
  } }
@@ -1683,7 +1683,7 @@ class DrDatePickerCustomHeaderComponent {
1683
1683
  calendar.insertBefore(selector.location.nativeElement, calendar.firstChild);
1684
1684
  }
1685
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)); }; }
1686
- /** @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) {
1687
1687
  i0.ɵɵtemplate(0, DrDatePickerCustomHeaderComponent_div_0_Template, 4, 6, "div", 0);
1688
1688
  i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
1689
1689
  i0.ɵɵlistener("click", function DrDatePickerCustomHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
@@ -1796,7 +1796,7 @@ class DrDatePickerFormatDirective {
1796
1796
  args: ['drDatePickerFormat']
1797
1797
  }] }); })();
1798
1798
 
1799
- const _c0$B = ["datePicker"];
1799
+ const _c0$C = ["datePicker"];
1800
1800
  function DrDatePickerComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
1801
1801
  const _r5 = i0.ɵɵgetCurrentView();
1802
1802
  i0.ɵɵelementContainerStart(0);
@@ -2114,7 +2114,7 @@ class DrDatePickerComponent {
2114
2114
  }
2115
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)); }; }
2116
2116
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerComponent, selectors: [["dr-date-picker"]], viewQuery: function DrDatePickerComponent_Query(rf, ctx) { if (rf & 1) {
2117
- i0.ɵɵviewQuery(_c0$B, 5);
2117
+ i0.ɵɵviewQuery(_c0$C, 5);
2118
2118
  } if (rf & 2) {
2119
2119
  let _t;
2120
2120
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePicker = _t.first);
@@ -2327,7 +2327,7 @@ class WeekTagComponent extends AnyTagComponent {
2327
2327
  deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS],
2328
2328
  },
2329
2329
  { provide: MAT_DATE_FORMATS, useValue: WEEK_FORMATS },
2330
- ]), i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 3, consts: [[1, "tag-wrapper"], [1, "tag__label"], ["format", "week", 3, "ngModel", "datepickerFilter", "ngModelChange"]], template: function WeekTagComponent_Template(rf, ctx) { if (rf & 1) {
2330
+ ]), i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 4, consts: [[1, "tag-wrapper"], [1, "tag__label"], ["format", "week", 3, "ngModel", "disabled", "datepickerFilter", "ngModelChange"]], template: function WeekTagComponent_Template(rf, ctx) { if (rf & 1) {
2331
2331
  i0.ɵɵelementStart(0, "div", 0)(1, "p", 1);
2332
2332
  i0.ɵɵtext(2);
2333
2333
  i0.ɵɵelementEnd();
@@ -2338,7 +2338,7 @@ class WeekTagComponent extends AnyTagComponent {
2338
2338
  i0.ɵɵadvance(2);
2339
2339
  i0.ɵɵtextInterpolate(ctx.name);
2340
2340
  i0.ɵɵadvance(1);
2341
- i0.ɵɵproperty("ngModel", ctx.date)("datepickerFilter", ctx.dateFilter.bind(ctx));
2341
+ i0.ɵɵproperty("ngModel", ctx.date)("disabled", ctx.disabled)("datepickerFilter", ctx.dateFilter.bind(ctx));
2342
2342
  } }, dependencies: [i1$2.NgControlStatus, i1$2.NgModel, DrDatePickerComponent], styles: [".locked[_nghost-%COMP%] > .tag-wrapper[_ngcontent-%COMP%] > dr-date-picker[_ngcontent-%COMP%]{opacity:.4}.tag__label[_ngcontent-%COMP%]{margin:0 0 4px;color:#0c142b;font-size:14px;font-weight:400;line-height:22px}"] }); }
2343
2343
  }
2344
2344
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WeekTagComponent, [{
@@ -2350,7 +2350,7 @@ class WeekTagComponent extends AnyTagComponent {
2350
2350
  deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS],
2351
2351
  },
2352
2352
  { provide: MAT_DATE_FORMATS, useValue: WEEK_FORMATS },
2353
- ], template: "<div class=\"tag-wrapper\">\n <p class=\"tag__label\">{{ name }}</p>\n <dr-date-picker\n format=\"week\"\n [(ngModel)]=\"date\"\n [datepickerFilter]=\"dateFilter.bind(this)\"\n (ngModelChange)=\"chosenTagHandler($event)\"></dr-date-picker>\n</div>\n", styles: [":host.locked>.tag-wrapper>dr-date-picker{opacity:.4}.tag__label{margin:0 0 4px;color:#0c142b;font-size:14px;font-weight:400;line-height:22px}\n"] }]
2353
+ ], template: "<div class=\"tag-wrapper\">\n <p class=\"tag__label\">{{ name }}</p>\n <dr-date-picker\n format=\"week\"\n [(ngModel)]=\"date\"\n [disabled]=\"disabled\"\n [datepickerFilter]=\"dateFilter.bind(this)\"\n (ngModelChange)=\"chosenTagHandler($event)\"></dr-date-picker>\n</div>\n", styles: [":host.locked>.tag-wrapper>dr-date-picker{opacity:.4}.tag__label{margin:0 0 4px;color:#0c142b;font-size:14px;font-weight:400;line-height:22px}\n"] }]
2354
2354
  }], function () { return []; }, { isLocked: [{
2355
2355
  type: HostBinding,
2356
2356
  args: ['class.locked']
@@ -3305,9 +3305,9 @@ class DrModelDebounceChangeDirective {
3305
3305
  type: Output
3306
3306
  }] }); })();
3307
3307
 
3308
- const _c0$A = ["prefix"];
3309
- const _c1$e = ["suffix"];
3310
- const _c2$5 = ["inputRef"];
3308
+ const _c0$B = ["prefix"];
3309
+ const _c1$f = ["suffix"];
3310
+ const _c2$6 = ["inputRef"];
3311
3311
  function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
3312
3312
  const _r8 = i0.ɵɵgetCurrentView();
3313
3313
  i0.ɵɵelementContainerStart(0);
@@ -3352,8 +3352,8 @@ function DrInputComponent_button_7_Template(rf, ctx) { if (rf & 1) {
3352
3352
  i0.ɵɵadvance(1);
3353
3353
  i0.ɵɵtextInterpolate1(" ", ctx_r5._buttonOptions.text, "\n");
3354
3354
  } }
3355
- const _c3$4 = [[["", "prefixIcon", ""]], [["", "suffixIcon", ""]]];
3356
- const _c4$1 = ["[prefixIcon]", "[suffixIcon]"];
3355
+ const _c3$5 = [[["", "prefixIcon", ""]], [["", "suffixIcon", ""]]];
3356
+ const _c4$2 = ["[prefixIcon]", "[suffixIcon]"];
3357
3357
  class DrInputComponent {
3358
3358
  set disabled(value) {
3359
3359
  this.setDisabledState(value);
@@ -3515,14 +3515,14 @@ class DrInputComponent {
3515
3515
  }
3516
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)); }; }
3517
3517
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrInputComponent, selectors: [["dr-input"]], contentQueries: function DrInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
3518
- i0.ɵɵcontentQuery(dirIndex, _c0$A, 5);
3519
- i0.ɵɵcontentQuery(dirIndex, _c1$e, 5);
3518
+ i0.ɵɵcontentQuery(dirIndex, _c0$B, 5);
3519
+ i0.ɵɵcontentQuery(dirIndex, _c1$f, 5);
3520
3520
  } if (rf & 2) {
3521
3521
  let _t;
3522
3522
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.prefixIcon = _t.first);
3523
3523
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suffixIcon = _t.first);
3524
3524
  } }, viewQuery: function DrInputComponent_Query(rf, ctx) { if (rf & 1) {
3525
- i0.ɵɵviewQuery(_c2$5, 5);
3525
+ i0.ɵɵviewQuery(_c2$6, 5);
3526
3526
  } if (rf & 2) {
3527
3527
  let _t;
3528
3528
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
@@ -3536,8 +3536,8 @@ class DrInputComponent {
3536
3536
  useExisting: forwardRef((() => DrInputComponent)),
3537
3537
  multi: true,
3538
3538
  },
3539
- ])], 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) {
3540
- 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);
3541
3541
  i0.ɵɵprojection(0);
3542
3542
  i0.ɵɵtemplate(1, DrInputComponent_ng_container_1_Template, 3, 11, "ng-container", 0);
3543
3543
  i0.ɵɵtemplate(2, DrInputComponent_ng_template_2_Template, 2, 14, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
@@ -3656,7 +3656,7 @@ function DrButtonComponent_i_4_Template(rf, ctx) { if (rf & 1) {
3656
3656
  i0.ɵɵclassMap(ctx_r2.iconAfter);
3657
3657
  i0.ɵɵstyleProp("font-size", ctx_r2.iconAfterSize)("color", ctx_r2.iconAfterColor || "inherit");
3658
3658
  } }
3659
- const _c0$z = ["*"];
3659
+ const _c0$A = ["*"];
3660
3660
  class DrButtonComponent {
3661
3661
  constructor() {
3662
3662
  this.theme = 'primary';
@@ -3670,7 +3670,7 @@ class DrButtonComponent {
3670
3670
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrButtonComponent, selectors: [["dr-button"]], hostVars: 12, hostBindings: function DrButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
3671
3671
  i0.ɵɵclassMap(ctx.theme);
3672
3672
  i0.ɵɵclassProp("with-icon", ctx.icon)("with-icon-after", ctx.iconAfter)("disabled", ctx.disabled)("loading", ctx.isLoading)("active", ctx.isActive);
3673
- } }, 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) {
3674
3674
  i0.ɵɵprojectionDef();
3675
3675
  i0.ɵɵelementStart(0, "button", 0);
3676
3676
  i0.ɵɵtemplate(1, DrButtonComponent_i_1_Template, 1, 6, "i", 1);
@@ -3731,7 +3731,7 @@ class DrButtonComponent {
3731
3731
  args: ['class.active']
3732
3732
  }] }); })();
3733
3733
 
3734
- const _c0$y = ["dynamicInputRef"];
3734
+ const _c0$z = ["dynamicInputRef"];
3735
3735
  function DrSelectAddItemComponent_div_5_p_1_Template(rf, ctx) { if (rf & 1) {
3736
3736
  i0.ɵɵelementStart(0, "p", 12);
3737
3737
  i0.ɵɵtext(1);
@@ -3821,7 +3821,7 @@ class DrSelectAddItemComponent {
3821
3821
  }
3822
3822
  /** @nocollapse */ static { this.ɵfac = function DrSelectAddItemComponent_Factory(t) { return new (t || DrSelectAddItemComponent)(i0.ɵɵdirectiveInject(DrSelectComponent)); }; }
3823
3823
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectAddItemComponent, selectors: [["dr-select-add-item"]], viewQuery: function DrSelectAddItemComponent_Query(rf, ctx) { if (rf & 1) {
3824
- i0.ɵɵviewQuery(_c0$y, 5);
3824
+ i0.ɵɵviewQuery(_c0$z, 5);
3825
3825
  } if (rf & 2) {
3826
3826
  let _t;
3827
3827
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);
@@ -4281,7 +4281,7 @@ class DrTagComponent {
4281
4281
  type: Output
4282
4282
  }] }); })();
4283
4283
 
4284
- const _c0$x = ["*"];
4284
+ const _c0$y = ["*"];
4285
4285
  class RadioButtonComponent {
4286
4286
  get disabled() {
4287
4287
  return this._disabled;
@@ -4332,7 +4332,7 @@ class RadioButtonComponent {
4332
4332
  useExisting: RadioButtonComponent,
4333
4333
  multi: true,
4334
4334
  },
4335
- ])], 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) {
4336
4336
  i0.ɵɵprojectionDef();
4337
4337
  i0.ɵɵelementStart(0, "label")(1, "input", 0);
4338
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); });
@@ -4365,8 +4365,8 @@ class RadioButtonComponent {
4365
4365
  type: Input
4366
4366
  }] }); })();
4367
4367
 
4368
- const _c0$w = [[["dr-radio-button"]]];
4369
- const _c1$d = ["dr-radio-button"];
4368
+ const _c0$x = [[["dr-radio-button"]]];
4369
+ const _c1$e = ["dr-radio-button"];
4370
4370
  class RadioGroupComponent {
4371
4371
  get value() {
4372
4372
  return this._value;
@@ -4505,8 +4505,8 @@ class RadioGroupComponent {
4505
4505
  useExisting: forwardRef((() => RadioGroupComponent)),
4506
4506
  multi: true,
4507
4507
  },
4508
- ])], ngContentSelectors: _c1$d, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
4509
- 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);
4510
4510
  i0.ɵɵprojection(0);
4511
4511
  } }, encapsulation: 2, changeDetection: 0 }); }
4512
4512
  }
@@ -4543,8 +4543,8 @@ class RadioGroupComponent {
4543
4543
  type: Output
4544
4544
  }] }); })();
4545
4545
 
4546
- const _c0$v = ["checkboxContent"];
4547
- const _c1$c = ["*"];
4546
+ const _c0$w = ["checkboxContent"];
4547
+ const _c1$d = ["*"];
4548
4548
  class CheckboxComponent {
4549
4549
  get indeterminate() {
4550
4550
  return this._indeterminate;
@@ -4593,14 +4593,14 @@ class CheckboxComponent {
4593
4593
  }
4594
4594
  /** @nocollapse */ static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
4595
4595
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["dr-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
4596
- i0.ɵɵviewQuery(_c0$v, 5);
4596
+ i0.ɵɵviewQuery(_c0$w, 5);
4597
4597
  } if (rf & 2) {
4598
4598
  let _t;
4599
4599
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxContent = _t.first);
4600
4600
  } }, hostVars: 6, hostBindings: function CheckboxComponent_HostBindings(rf, ctx) { if (rf & 2) {
4601
4601
  i0.ɵɵclassMap(ctx.theme);
4602
4602
  i0.ɵɵclassProp("disabled", ctx.disabled)("text-nowrap", ctx.textNowrap);
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$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) {
4604
4604
  i0.ɵɵprojectionDef();
4605
4605
  i0.ɵɵelementStart(0, "label")(1, "input", 0);
4606
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(); });
@@ -4649,7 +4649,7 @@ class CheckboxComponent {
4649
4649
  args: ['checkboxContent']
4650
4650
  }] }); })();
4651
4651
 
4652
- const _c0$u = ["*"];
4652
+ const _c0$v = ["*"];
4653
4653
  var LinkTheme;
4654
4654
  (function (LinkTheme) {
4655
4655
  LinkTheme["DEFAULT"] = "DEFAULT";
@@ -4665,7 +4665,7 @@ class DrLinkComponent {
4665
4665
  this.theme = LinkTheme.DEFAULT;
4666
4666
  }
4667
4667
  /** @nocollapse */ static { this.ɵfac = function DrLinkComponent_Factory(t) { return new (t || DrLinkComponent)(); }; }
4668
- /** @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) {
4669
4669
  i0.ɵɵprojectionDef();
4670
4670
  i0.ɵɵelementStart(0, "a", 0);
4671
4671
  i0.ɵɵprojection(1);
@@ -4737,7 +4737,7 @@ function DrDatePickerWithTimeframeComponent_dr_button_11_Template(rf, ctx) { if
4737
4737
  const ctx_r5 = i0.ɵɵnextContext();
4738
4738
  i0.ɵɵproperty("disabled", ctx_r5.isNextDateDisabled);
4739
4739
  } }
4740
- const _c0$t = function (a0) { return { formattedValue: a0 }; };
4740
+ const _c0$u = function (a0) { return { formattedValue: a0 }; };
4741
4741
  class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4742
4742
  get isDashboardClassDisplayed() {
4743
4743
  return this.isDashboardDatepicker;
@@ -4910,7 +4910,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4910
4910
  i0.ɵɵadvance(1);
4911
4911
  i0.ɵɵproperty("ngIf", ctx.isDashboardDatepicker);
4912
4912
  i0.ɵɵadvance(2);
4913
- 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$)));
4914
4914
  i0.ɵɵadvance(4);
4915
4915
  i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(10, 17, ctx.displayValue$))("matDatepicker", _r6)("readonly", ctx.readonly)("min", ctx._min)("max", ctx._max);
4916
4916
  i0.ɵɵadvance(3);
@@ -5186,7 +5186,7 @@ class TooltipInfoComponent {
5186
5186
  type: Input
5187
5187
  }] }); })();
5188
5188
 
5189
- const _c0$s = ["stepper"];
5189
+ const _c0$t = ["stepper"];
5190
5190
  function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
5191
5191
  const _r9 = i0.ɵɵgetCurrentView();
5192
5192
  i0.ɵɵelementStart(0, "div", 6);
@@ -5202,7 +5202,7 @@ function StepperComponent_ng_container_3_div_1_ng_template_5_Template(rf, ctx) {
5202
5202
  i0.ɵɵelement(1, "i", 22);
5203
5203
  i0.ɵɵelementEnd();
5204
5204
  } }
5205
- const _c1$b = function (a0) { return { "blue with-ellipse": a0 }; };
5205
+ const _c1$c = function (a0) { return { "blue with-ellipse": a0 }; };
5206
5206
  function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) { if (rf & 1) {
5207
5207
  i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
5208
5208
  i0.ɵɵtext(2);
@@ -5213,13 +5213,13 @@ function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) {
5213
5213
  const index_r11 = ctx_r22.index;
5214
5214
  const ctx_r18 = i0.ɵɵnextContext();
5215
5215
  i0.ɵɵclassProp("gray", step_r10 !== ctx_r18.currentStep);
5216
- 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));
5217
5217
  i0.ɵɵadvance(1);
5218
5218
  i0.ɵɵproperty("hidden", step_r10 === ctx_r18.currentStep || ctx_r18.hiddenIndex);
5219
5219
  i0.ɵɵadvance(1);
5220
5220
  i0.ɵɵtextInterpolate(index_r11 + 1);
5221
5221
  } }
5222
- 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 }; };
5223
5223
  function StepperComponent_ng_container_3_div_1_ng_container_10_Template(rf, ctx) { if (rf & 1) {
5224
5224
  i0.ɵɵelementContainer(0, 25);
5225
5225
  } if (rf & 2) {
@@ -5229,7 +5229,7 @@ function StepperComponent_ng_container_3_div_1_ng_container_10_Template(rf, ctx)
5229
5229
  const step_r10 = ctx_r23.$implicit;
5230
5230
  i0.ɵɵnextContext();
5231
5231
  const _r6 = i0.ɵɵreference(8);
5232
- 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));
5233
5233
  } }
5234
5234
  function StepperComponent_ng_container_3_div_1_span_11_Template(rf, ctx) { if (rf & 1) {
5235
5235
  i0.ɵɵelementStart(0, "span", 26);
@@ -5249,9 +5249,9 @@ function StepperComponent_ng_container_3_div_1_ng_container_12_Template(rf, ctx)
5249
5249
  const step_r10 = ctx_r25.$implicit;
5250
5250
  i0.ɵɵnextContext();
5251
5251
  const _r6 = i0.ɵɵreference(8);
5252
- 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));
5253
5253
  } }
5254
- const _c3$3 = function (a0) { return { step: a0 }; };
5254
+ const _c3$4 = function (a0) { return { step: a0 }; };
5255
5255
  function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
5256
5256
  const _r28 = i0.ɵɵgetCurrentView();
5257
5257
  i0.ɵɵelementStart(0, "div", 10);
@@ -5278,7 +5278,7 @@ function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
5278
5278
  i0.ɵɵclassProp("step-setup", ctx_r14.inlineLabels);
5279
5279
  i0.ɵɵattribute("data-analytics", ctx_r14.getDataAnalyticsTag(step_r10));
5280
5280
  i0.ɵɵadvance(1);
5281
- 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");
5282
5282
  i0.ɵɵadvance(1);
5283
5283
  i0.ɵɵclassProp("active", ctx_r14.currentStep === step_r10)("completed", step_r10.completed);
5284
5284
  i0.ɵɵadvance(1);
@@ -5400,7 +5400,7 @@ class StepperComponent {
5400
5400
  }
5401
5401
  /** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
5402
5402
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], viewQuery: function StepperComponent_Query(rf, ctx) { if (rf & 1) {
5403
- i0.ɵɵviewQuery(_c0$s, 5, ElementRef);
5403
+ i0.ɵɵviewQuery(_c0$t, 5, ElementRef);
5404
5404
  } if (rf & 2) {
5405
5405
  let _t;
5406
5406
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepper = _t.first);
@@ -5558,7 +5558,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
5558
5558
  i0.ɵɵtext(1, "Stop generating");
5559
5559
  i0.ɵɵelementEnd();
5560
5560
  } }
5561
- 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 }; };
5562
5562
  class DrChatFormComponent {
5563
5563
  constructor(cdr, domSanitizer) {
5564
5564
  this.cdr = cdr;
@@ -5714,7 +5714,7 @@ class DrChatFormComponent {
5714
5714
  const _r1 = i0.ɵɵreference(4);
5715
5715
  i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
5716
5716
  i0.ɵɵadvance(2);
5717
- 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)));
5718
5718
  i0.ɵɵadvance(1);
5719
5719
  i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
5720
5720
  i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
@@ -5829,7 +5829,7 @@ function DrAvatarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
5829
5829
  const ctx_r0 = i0.ɵɵnextContext();
5830
5830
  i0.ɵɵstyleProp("width", ctx_r0.drAvatarSize || null)("height", ctx_r0.drAvatarSize || null);
5831
5831
  } }
5832
- 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 }; };
5833
5833
  function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
5834
5834
  const _r7 = i0.ɵɵgetCurrentView();
5835
5835
  i0.ɵɵelementStart(0, "div", 5);
@@ -5843,7 +5843,7 @@ function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
5843
5843
  const ctx_r1 = i0.ɵɵnextContext();
5844
5844
  i0.ɵɵclassMap(user_r5.status);
5845
5845
  i0.ɵɵstyleProp("width", ctx_r1.drAvatarSize || null)("height", ctx_r1.drAvatarSize || null)("background-color", ctx_r1.getAvatarColor(user_r5));
5846
- 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);
5847
5847
  i0.ɵɵadvance(2);
5848
5848
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), "\n");
5849
5849
  } }
@@ -6058,7 +6058,7 @@ class DrChatMessageFileComponent {
6058
6058
  type: Input
6059
6059
  }] }); })();
6060
6060
 
6061
- const _c0$p = ["drChatMessageActions"];
6061
+ const _c0$q = ["drChatMessageActions"];
6062
6062
  function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
6063
6063
  i0.ɵɵelementContainerStart(0);
6064
6064
  i0.ɵɵelement(1, "div", 7);
@@ -6160,7 +6160,7 @@ class DrChatMessageComponent {
6160
6160
  }
6161
6161
  /** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
6162
6162
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatMessageComponent, selectors: [["dr-chat-message"]], contentQueries: function DrChatMessageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
6163
- i0.ɵɵcontentQuery(dirIndex, _c0$p, 5);
6163
+ i0.ɵɵcontentQuery(dirIndex, _c0$q, 5);
6164
6164
  } if (rf & 2) {
6165
6165
  let _t;
6166
6166
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
@@ -6233,7 +6233,7 @@ class DrChatMessageComponent {
6233
6233
  args: ['drChatMessageActions']
6234
6234
  }] }); })();
6235
6235
 
6236
- const _c0$o = ["suggestionsContainer"];
6236
+ const _c0$p = ["suggestionsContainer"];
6237
6237
  function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
6238
6238
  i0.ɵɵelementContainer(0);
6239
6239
  } }
@@ -6272,18 +6272,18 @@ function DrChatSuggestionsComponent_ng_template_3_div_1_Template(rf, ctx) { if (
6272
6272
  i0.ɵɵadvance(1);
6273
6273
  i0.ɵɵtextInterpolate1(" ", item_r9, " ");
6274
6274
  } }
6275
- 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 }; };
6276
6276
  function DrChatSuggestionsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
6277
6277
  i0.ɵɵelementStart(0, "div", 8);
6278
6278
  i0.ɵɵtemplate(1, DrChatSuggestionsComponent_ng_template_3_div_1_Template, 2, 1, "div", 9);
6279
6279
  i0.ɵɵelementEnd();
6280
6280
  } if (rf & 2) {
6281
6281
  const ctx_r3 = i0.ɵɵnextContext();
6282
- 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));
6283
6283
  i0.ɵɵadvance(1);
6284
6284
  i0.ɵɵproperty("ngForOf", ctx_r3.visibleValues);
6285
6285
  } }
6286
- 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 }; };
6287
6287
  class DrChatSuggestionsComponent {
6288
6288
  get hiddenValues() {
6289
6289
  return JSON.parse(localStorage.getItem('aiChatSuggestions')) || [];
@@ -6378,7 +6378,7 @@ class DrChatSuggestionsComponent {
6378
6378
  }
6379
6379
  /** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6380
6380
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatSuggestionsComponent, selectors: [["dr-chat-suggestions"]], viewQuery: function DrChatSuggestionsComponent_Query(rf, ctx) { if (rf & 1) {
6381
- i0.ɵɵviewQuery(_c0$o, 5);
6381
+ i0.ɵɵviewQuery(_c0$p, 5);
6382
6382
  } if (rf & 2) {
6383
6383
  let _t;
6384
6384
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
@@ -6389,7 +6389,7 @@ class DrChatSuggestionsComponent {
6389
6389
  i0.ɵɵtemplate(3, DrChatSuggestionsComponent_ng_template_3_Template, 2, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
6390
6390
  } if (rf & 2) {
6391
6391
  const _r2 = i0.ɵɵreference(4);
6392
- 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));
6393
6393
  i0.ɵɵadvance(2);
6394
6394
  i0.ɵɵproperty("ngIf", ctx.buttonMode)("ngIfElse", _r2);
6395
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 }); }
@@ -6412,8 +6412,8 @@ class DrChatSuggestionsComponent {
6412
6412
  args: ['suggestionsContainer', { static: false }]
6413
6413
  }] }); })();
6414
6414
 
6415
- const _c0$n = ["drChatHeader"];
6416
- const _c1$9 = ["messagesContainer"];
6415
+ const _c0$o = ["drChatHeader"];
6416
+ const _c1$a = ["messagesContainer"];
6417
6417
  function DrChatComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
6418
6418
  i0.ɵɵelementContainer(0, 8);
6419
6419
  } if (rf & 2) {
@@ -6431,7 +6431,7 @@ function DrChatComponent_div_5_Template(rf, ctx) { if (rf & 1) {
6431
6431
  } }
6432
6432
  function DrChatComponent_div_6_Template(rf, ctx) { if (rf & 1) {
6433
6433
  i0.ɵɵelementStart(0, "div", 11)(1, "div", 12, 13);
6434
- i0.ɵɵprojection(3, 2);
6434
+ i0.ɵɵprojection(3, 3);
6435
6435
  i0.ɵɵelementEnd()();
6436
6436
  } if (rf & 2) {
6437
6437
  const ctx_r2 = i0.ɵɵnextContext();
@@ -6448,8 +6448,8 @@ function DrChatComponent_dr_chat_suggestions_7_Template(rf, ctx) { if (rf & 1) {
6448
6448
  i0.ɵɵclassProp("chat__suggestions--full-height", ctx_r3.fullScreen && !(ctx_r3.messages == null ? null : ctx_r3.messages.length));
6449
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));
6450
6450
  } }
6451
- const _c2$2 = [[["dr-chat-alert"]], [["dr-chat-form"]], [["dr-chat-message"]]];
6452
- 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"];
6453
6453
  class DrChatComponent {
6454
6454
  set contentUpdateSubject(value) {
6455
6455
  if (value) {
@@ -6528,7 +6528,7 @@ class DrChatComponent {
6528
6528
  /** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6529
6529
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
6530
6530
  i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
6531
- i0.ɵɵcontentQuery(dirIndex, _c0$n, 5);
6531
+ i0.ɵɵcontentQuery(dirIndex, _c0$o, 5);
6532
6532
  i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
6533
6533
  } if (rf & 2) {
6534
6534
  let _t;
@@ -6536,14 +6536,14 @@ class DrChatComponent {
6536
6536
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatHeader = _t.first);
6537
6537
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messages = _t);
6538
6538
  } }, viewQuery: function DrChatComponent_Query(rf, ctx) { if (rf & 1) {
6539
- i0.ɵɵviewQuery(_c1$9, 5);
6539
+ i0.ɵɵviewQuery(_c1$a, 5);
6540
6540
  i0.ɵɵviewQuery(DrChatSuggestionsComponent, 5);
6541
6541
  } if (rf & 2) {
6542
6542
  let _t;
6543
6543
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messagesContainer = _t.first);
6544
6544
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._chatSuggestions = _t.first);
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$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) {
6546
- 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);
6547
6547
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
6548
6548
  i0.ɵɵtemplate(2, DrChatComponent_ng_container_2_Template, 1, 1, "ng-container", 2);
6549
6549
  i0.ɵɵelementStart(3, "div", 3);
@@ -6554,6 +6554,7 @@ class DrChatComponent {
6554
6554
  i0.ɵɵtemplate(7, DrChatComponent_dr_chat_suggestions_7_Template, 1, 6, "dr-chat-suggestions", 6);
6555
6555
  i0.ɵɵelementStart(8, "div", 7);
6556
6556
  i0.ɵɵprojection(9, 1);
6557
+ i0.ɵɵprojection(10, 2);
6557
6558
  i0.ɵɵelementEnd()();
6558
6559
  } if (rf & 2) {
6559
6560
  i0.ɵɵclassProp("chat--in-full-screen", ctx.fullScreen);
@@ -6569,7 +6570,7 @@ class DrChatComponent {
6569
6570
  }
6570
6571
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrChatComponent, [{
6571
6572
  type: Component,
6572
- 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"] }]
6573
6574
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { fullScreen: [{
6574
6575
  type: Input
6575
6576
  }], noMessagesPlaceholder: [{
@@ -6646,14 +6647,14 @@ class DrChatCustomMessageDirective {
6646
6647
  type: Input
6647
6648
  }] }); })();
6648
6649
 
6649
- const _c0$m = ["*"];
6650
+ const _c0$n = ["*"];
6650
6651
  class DrChatAlertComponent {
6651
6652
  constructor() {
6652
6653
  this.iconClass = 'dr-icon-info';
6653
6654
  this.close = new EventEmitter();
6654
6655
  }
6655
6656
  /** @nocollapse */ static { this.ɵfac = function DrChatAlertComponent_Factory(t) { return new (t || DrChatAlertComponent)(); }; }
6656
- /** @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) {
6657
6658
  i0.ɵɵprojectionDef();
6658
6659
  i0.ɵɵelement(0, "i");
6659
6660
  i0.ɵɵprojection(1);
@@ -6691,7 +6692,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
6691
6692
  i0.ɵɵadvance(1);
6692
6693
  i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
6693
6694
  } }
6694
- const _c0$l = ["*"];
6695
+ const _c0$m = ["*"];
6695
6696
  class DrToggleComponent {
6696
6697
  set disabled(value) {
6697
6698
  this.setDisabledState(value);
@@ -6734,7 +6735,7 @@ class DrToggleComponent {
6734
6735
  /** @nocollapse */ static { this.ɵfac = function DrToggleComponent_Factory(t) { return new (t || DrToggleComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6735
6736
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 2, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
6736
6737
  i0.ɵɵclassMap(ctx.elementClass);
6737
- } }, 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) {
6738
6739
  i0.ɵɵprojectionDef();
6739
6740
  i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
6740
6741
  i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
@@ -6854,7 +6855,7 @@ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
6854
6855
  i0.ɵɵadvance(1);
6855
6856
  i0.ɵɵtextInterpolate(ctx_r0.text);
6856
6857
  } }
6857
- const _c0$k = ["*"];
6858
+ const _c0$l = ["*"];
6858
6859
  const ALERT_THEME_ICONS = {
6859
6860
  [DrAlertTheme.SUCCESS]: 'dr-icon-uploaded-success',
6860
6861
  [DrAlertTheme.BOLD_ERROR]: 'dr-icon-error',
@@ -6875,7 +6876,7 @@ class DrAlertComponent {
6875
6876
  /** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
6876
6877
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
6877
6878
  i0.ɵɵclassMap(ctx.elementClass);
6878
- } }, 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) {
6879
6880
  i0.ɵɵprojectionDef();
6880
6881
  i0.ɵɵelementStart(0, "div", 0);
6881
6882
  i0.ɵɵelement(1, "i");
@@ -6921,7 +6922,7 @@ class CodeEditorHintWrapperComponent {
6921
6922
  }]
6922
6923
  }], null, null); })();
6923
6924
 
6924
- const _c0$j = ["ref"];
6925
+ const _c0$k = ["ref"];
6925
6926
  class DrCodemirrorComponent {
6926
6927
  set options(value) {
6927
6928
  this._options = value;
@@ -7051,7 +7052,7 @@ class DrCodemirrorComponent {
7051
7052
  }
7052
7053
  /** @nocollapse */ static { this.ɵfac = function DrCodemirrorComponent_Factory(t) { return new (t || DrCodemirrorComponent)(i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
7053
7054
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodemirrorComponent, selectors: [["dr-codemirror"]], viewQuery: function DrCodemirrorComponent_Query(rf, ctx) { if (rf & 1) {
7054
- i0.ɵɵviewQuery(_c0$j, 5);
7055
+ i0.ɵɵviewQuery(_c0$k, 5);
7055
7056
  } if (rf & 2) {
7056
7057
  let _t;
7057
7058
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ref = _t.first);
@@ -7203,7 +7204,7 @@ class DrErrorComponent {
7203
7204
  args: ['class.no-icon']
7204
7205
  }] }); })();
7205
7206
 
7206
- const _c0$i = ["codeEditor"];
7207
+ const _c0$j = ["codeEditor"];
7207
7208
  function DrCodeEditorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
7208
7209
  i0.ɵɵelementStart(0, "span", 4);
7209
7210
  i0.ɵɵtext(1);
@@ -7482,7 +7483,7 @@ class DrCodeEditorComponent {
7482
7483
  }
7483
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)); }; }
7484
7485
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodeEditorComponent, selectors: [["dr-code-editor"]], viewQuery: function DrCodeEditorComponent_Query(rf, ctx) { if (rf & 1) {
7485
- i0.ɵɵviewQuery(_c0$i, 5);
7486
+ i0.ɵɵviewQuery(_c0$j, 5);
7486
7487
  } if (rf & 2) {
7487
7488
  let _t;
7488
7489
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.codeEditor = _t.first);
@@ -8250,7 +8251,7 @@ const getAlignmentDimension = (position) => {
8250
8251
  return DrPopoverAlignmentDimension.Width;
8251
8252
  };
8252
8253
 
8253
- const _c0$h = ["popoverContainer"];
8254
+ const _c0$i = ["popoverContainer"];
8254
8255
  function DrPopoverComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8255
8256
  i0.ɵɵelementContainer(0);
8256
8257
  } }
@@ -8340,7 +8341,7 @@ class DrPopoverComponent {
8340
8341
  }
8341
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)); }; }
8342
8343
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrPopoverComponent, selectors: [["dr-popover"]], viewQuery: function DrPopoverComponent_Query(rf, ctx) { if (rf & 1) {
8343
- i0.ɵɵviewQuery(_c0$h, 7, ElementRef);
8344
+ i0.ɵɵviewQuery(_c0$i, 7, ElementRef);
8344
8345
  } if (rf & 2) {
8345
8346
  let _t;
8346
8347
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverContainer = _t.first);
@@ -8657,7 +8658,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8657
8658
  var __metadata = (this && this.__metadata) || function (k, v) {
8658
8659
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
8659
8660
  };
8660
- const _c0$g = ["menuContainer"];
8661
+ const _c0$h = ["menuContainer"];
8661
8662
  function DrDropdownComponent_dr_dropdown_item_4_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
8662
8663
  i0.ɵɵelement(0, "i", 11);
8663
8664
  } if (rf & 2) {
@@ -8707,14 +8708,14 @@ function DrDropdownComponent_dr_dropdown_item_4_ng_container_2_Template(rf, ctx)
8707
8708
  i0.ɵɵadvance(1);
8708
8709
  i0.ɵɵproperty("ngIf", ctx_r5.hasChildren(act_r2));
8709
8710
  } }
8710
- const _c1$8 = function (a0) { return { $implicit: a0 }; };
8711
+ const _c1$9 = function (a0) { return { $implicit: a0 }; };
8711
8712
  function DrDropdownComponent_dr_dropdown_item_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
8712
8713
  i0.ɵɵelementContainer(0, 17);
8713
8714
  } if (rf & 2) {
8714
8715
  const act_r2 = i0.ɵɵnextContext().$implicit;
8715
- 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));
8716
8717
  } }
8717
- const _c2$1 = function () { return { withoutArrow: true }; };
8718
+ const _c2$2 = function () { return { withoutArrow: true }; };
8718
8719
  function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1) {
8719
8720
  const _r20 = i0.ɵɵgetCurrentView();
8720
8721
  i0.ɵɵelementStart(0, "dr-dropdown-item", 4);
@@ -8727,7 +8728,7 @@ function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1)
8727
8728
  const act_r2 = ctx.$implicit;
8728
8729
  const index_r3 = ctx.index;
8729
8730
  const ctx_r1 = i0.ɵɵnextContext();
8730
- 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);
8731
8732
  i0.ɵɵattribute("data-analytics", ctx_r1.getDataAnalyticsTag(act_r2, index_r3));
8732
8733
  i0.ɵɵadvance(1);
8733
8734
  i0.ɵɵproperty("ngIf", !act_r2.templateRef);
@@ -8736,8 +8737,8 @@ function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1)
8736
8737
  i0.ɵɵadvance(1);
8737
8738
  i0.ɵɵproperty("ngIf", act_r2.templateRef);
8738
8739
  } }
8739
- const _c3$1 = [[["dr-dropdown-item"]]];
8740
- const _c4 = ["dr-dropdown-item"];
8740
+ const _c3$2 = [[["dr-dropdown-item"]]];
8741
+ const _c4$1 = ["dr-dropdown-item"];
8741
8742
  class DrDropdownComponent {
8742
8743
  set options(data) {
8743
8744
  if (data) {
@@ -8853,12 +8854,12 @@ class DrDropdownComponent {
8853
8854
  }
8854
8855
  /** @nocollapse */ static { this.ɵfac = function DrDropdownComponent_Factory(t) { return new (t || DrDropdownComponent)(); }; }
8855
8856
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownComponent, selectors: [["dr-dropdown"]], viewQuery: function DrDropdownComponent_Query(rf, ctx) { if (rf & 1) {
8856
- i0.ɵɵviewQuery(_c0$g, 7);
8857
+ i0.ɵɵviewQuery(_c0$h, 7);
8857
8858
  } if (rf & 2) {
8858
8859
  let _t;
8859
8860
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
8860
- } }, 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) {
8861
- 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);
8862
8863
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
8863
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(); });
8864
8865
  i0.ɵɵprojection(3);
@@ -9086,12 +9087,12 @@ class DrDropdownChildDirective {
9086
9087
  }]
9087
9088
  }], null, null); })();
9088
9089
 
9089
- const _c0$f = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
9090
- const _c1$7 = ["[dropdownItemContent]", "[dropdownItemActions]"];
9090
+ const _c0$g = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
9091
+ const _c1$8 = ["[dropdownItemContent]", "[dropdownItemActions]"];
9091
9092
  class DrDropdownItemComponent {
9092
9093
  /** @nocollapse */ static { this.ɵfac = function DrDropdownItemComponent_Factory(t) { return new (t || DrDropdownItemComponent)(); }; }
9093
- /** @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) {
9094
- 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);
9095
9096
  i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
9096
9097
  i0.ɵɵprojection(2);
9097
9098
  i0.ɵɵelementEnd();
@@ -9130,7 +9131,7 @@ class DrDropdownItemShowPipe {
9130
9131
  function DrTabComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
9131
9132
  i0.ɵɵprojection(0);
9132
9133
  } }
9133
- const _c0$e = ["*"];
9134
+ const _c0$f = ["*"];
9134
9135
  class DrTabComponent {
9135
9136
  constructor() { }
9136
9137
  ngOnInit() { }
@@ -9140,7 +9141,7 @@ class DrTabComponent {
9140
9141
  } if (rf & 2) {
9141
9142
  let _t;
9142
9143
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
9143
- } }, 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) {
9144
9145
  i0.ɵɵprojectionDef();
9145
9146
  i0.ɵɵtemplate(0, DrTabComponent_ng_template_0_Template, 1, 0, "ng-template");
9146
9147
  } }, encapsulation: 2 }); }
@@ -9415,8 +9416,8 @@ class DrTabsComponent {
9415
9416
  args: [DrTabComponent]
9416
9417
  }] }); })();
9417
9418
 
9418
- const _c0$d = [[["dr-accordion-item"]]];
9419
- const _c1$6 = ["dr-accordion-item"];
9419
+ const _c0$e = [[["dr-accordion-item"]]];
9420
+ const _c1$7 = ["dr-accordion-item"];
9420
9421
  class DrAccordionComponent {
9421
9422
  constructor() {
9422
9423
  this.openCloseItems = new Subject();
@@ -9449,8 +9450,8 @@ class DrAccordionComponent {
9449
9450
  /** @nocollapse */ static { this.ɵfac = function DrAccordionComponent_Factory(t) { return new (t || DrAccordionComponent)(); }; }
9450
9451
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionComponent, selectors: [["dr-accordion"]], hostVars: 2, hostBindings: function DrAccordionComponent_HostBindings(rf, ctx) { if (rf & 2) {
9451
9452
  i0.ɵɵclassMap(ctx.theme);
9452
- } }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$6, decls: 1, vars: 0, template: function DrAccordionComponent_Template(rf, ctx) { if (rf & 1) {
9453
- 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);
9454
9455
  i0.ɵɵprojection(0);
9455
9456
  } }, styles: ["[_nghost-%COMP%]{display:block;box-shadow:#2c33491a 0 5px 10px}.borderless[_nghost-%COMP%]{box-shadow:none}"], changeDetection: 0 }); }
9456
9457
  }
@@ -9467,8 +9468,8 @@ class DrAccordionComponent {
9467
9468
  args: ['class']
9468
9469
  }] }); })();
9469
9470
 
9470
- const _c0$c = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
9471
- 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"];
9472
9473
  class DrAccordionItemComponent {
9473
9474
  /**
9474
9475
  * Item is collapse (`true` by default)
@@ -9568,8 +9569,8 @@ class DrAccordionItemComponent {
9568
9569
  /** @nocollapse */ static { this.ɵfac = function DrAccordionItemComponent_Factory(t) { return new (t || DrAccordionItemComponent)(i0.ɵɵdirectiveInject(DrAccordionComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
9569
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) {
9570
9571
  i0.ɵɵclassProp("collapsed", ctx.collapsed)("expanded", ctx.expanded)("disabled", ctx.disabled);
9571
- } }, 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) {
9572
- 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);
9573
9574
  i0.ɵɵprojection(0);
9574
9575
  i0.ɵɵprojection(1, 1);
9575
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 }); }
@@ -9611,8 +9612,8 @@ function DrAccordionItemHeaderComponent_i_0_Template(rf, ctx) { if (rf & 1) {
9611
9612
  i0.ɵɵclassMap("dr-accordion-item-header-icon " + ctx_r0.icon);
9612
9613
  i0.ɵɵclassProp("dr-accordion-item-header-icon--additional-padding", ctx_r0.chevronPosition === "left");
9613
9614
  } }
9614
- const _c0$b = function (a0) { return { rotationDegree: a0 }; };
9615
- 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 }; };
9616
9617
  function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9617
9618
  const _r3 = i0.ɵɵgetCurrentView();
9618
9619
  i0.ɵɵelementStart(0, "i", 2);
@@ -9621,10 +9622,10 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9621
9622
  } if (rf & 2) {
9622
9623
  const ctx_r1 = i0.ɵɵnextContext();
9623
9624
  i0.ɵɵclassMap(ctx_r1.chevronIconClass);
9624
- 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)));
9625
9626
  } }
9626
- const _c2 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
9627
- 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", "*"];
9628
9629
  class DrAccordionItemHeaderComponent {
9629
9630
  get isCollapsed() {
9630
9631
  return this.accordionItem.collapsed;
@@ -9679,8 +9680,8 @@ class DrAccordionItemHeaderComponent {
9679
9680
  i0.ɵɵattribute("aria-expanded", ctx.expanded)("tabindex", ctx.tabbable)("aria-disabled", ctx.disabled);
9680
9681
  i0.ɵɵclassMap(ctx.theme);
9681
9682
  i0.ɵɵclassProp("accordion-item-header-collapsed", ctx.isCollapsed)("accordion-item-header-expanded", ctx.expanded);
9682
- } }, 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) {
9683
- 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);
9684
9685
  i0.ɵɵtemplate(0, DrAccordionItemHeaderComponent_i_0_Template, 1, 4, "i", 0);
9685
9686
  i0.ɵɵtemplate(1, DrAccordionItemHeaderComponent_i_1_Template, 1, 8, "i", 1);
9686
9687
  i0.ɵɵprojection(2);
@@ -9750,8 +9751,8 @@ class DrAccordionItemHeaderComponent {
9750
9751
  args: ['keydown.enter']
9751
9752
  }] }); })();
9752
9753
 
9753
- const _c0$a = function (a0) { return { value: a0 }; };
9754
- const _c1$3 = ["*"];
9754
+ const _c0$b = function (a0) { return { value: a0 }; };
9755
+ const _c1$4 = ["*"];
9755
9756
  const accordionItemBodyTrigger = trigger('accordionItemBody', [
9756
9757
  state('collapsed', style({
9757
9758
  overflow: 'hidden',
@@ -9782,13 +9783,13 @@ class DrAccordionItemBodyComponent {
9782
9783
  this.destroy$.complete();
9783
9784
  }
9784
9785
  /** @nocollapse */ static { this.ɵfac = function DrAccordionItemBodyComponent_Factory(t) { return new (t || DrAccordionItemBodyComponent)(i0.ɵɵdirectiveInject(DrAccordionItemComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
9785
- /** @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) {
9786
9787
  i0.ɵɵprojectionDef();
9787
9788
  i0.ɵɵelementStart(0, "div")(1, "div", 0);
9788
9789
  i0.ɵɵprojection(2);
9789
9790
  i0.ɵɵelementEnd()();
9790
9791
  } if (rf & 2) {
9791
- i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$a, ctx.state));
9792
+ i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$b, ctx.state));
9792
9793
  } }, styles: [".item-body[_ngcontent-%COMP%]{flex:1;-ms-flex:1 1 auto;overflow:auto;position:relative}"], data: { animation: [accordionItemBodyTrigger] }, changeDetection: 0 }); }
9793
9794
  }
9794
9795
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAccordionItemBodyComponent, [{
@@ -9804,13 +9805,13 @@ class DrAccordionItemBodyComponent {
9804
9805
  type: Host
9805
9806
  }] }, { type: i0.ChangeDetectorRef }]; }, null); })();
9806
9807
 
9807
- const _c0$9 = [[["dr-layout-header"]], [["dr-layout-body"]]];
9808
- 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"];
9809
9810
  class DrLayoutComponent {
9810
9811
  constructor() { }
9811
9812
  /** @nocollapse */ static { this.ɵfac = function DrLayoutComponent_Factory(t) { return new (t || DrLayoutComponent)(); }; }
9812
- /** @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) {
9813
- 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);
9814
9815
  i0.ɵɵelementStart(0, "div", 0);
9815
9816
  i0.ɵɵprojection(1);
9816
9817
  i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3);
@@ -9823,11 +9824,11 @@ class DrLayoutComponent {
9823
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"] }]
9824
9825
  }], function () { return []; }, null); })();
9825
9826
 
9826
- const _c0$8 = ["*"];
9827
+ const _c0$9 = ["*"];
9827
9828
  class DrLayoutHeaderComponent {
9828
9829
  constructor() { }
9829
9830
  /** @nocollapse */ static { this.ɵfac = function DrLayoutHeaderComponent_Factory(t) { return new (t || DrLayoutHeaderComponent)(); }; }
9830
- /** @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) {
9831
9832
  i0.ɵɵprojectionDef();
9832
9833
  i0.ɵɵelementStart(0, "nav");
9833
9834
  i0.ɵɵprojection(1);
@@ -9846,11 +9847,11 @@ class DrLayoutHeaderComponent {
9846
9847
  }]
9847
9848
  }], function () { return []; }, null); })();
9848
9849
 
9849
- const _c0$7 = ["*"];
9850
+ const _c0$8 = ["*"];
9850
9851
  class DrLayoutBodyComponent {
9851
9852
  constructor() { }
9852
9853
  /** @nocollapse */ static { this.ɵfac = function DrLayoutBodyComponent_Factory(t) { return new (t || DrLayoutBodyComponent)(); }; }
9853
- /** @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) {
9854
9855
  i0.ɵɵprojectionDef();
9855
9856
  i0.ɵɵprojection(0);
9856
9857
  } }, encapsulation: 2 }); }
@@ -9872,7 +9873,7 @@ function DrDetailsListComponent_li_5_Template(rf, ctx) { if (rf & 1) {
9872
9873
  i0.ɵɵadvance(1);
9873
9874
  i0.ɵɵtextInterpolate(item_r1);
9874
9875
  } }
9875
- const _c0$6 = function (a0) { return { value: a0 }; };
9876
+ const _c0$7 = function (a0) { return { value: a0 }; };
9876
9877
  class DrDetailsListComponent {
9877
9878
  set items(val) {
9878
9879
  if (!val) {
@@ -9919,7 +9920,7 @@ class DrDetailsListComponent {
9919
9920
  i0.ɵɵadvance(1);
9920
9921
  i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
9921
9922
  i0.ɵɵadvance(1);
9922
- i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$6, ctx.state));
9923
+ i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$7, ctx.state));
9923
9924
  i0.ɵɵadvance(1);
9924
9925
  i0.ɵɵproperty("ngForOf", ctx.list);
9925
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: [
@@ -9963,7 +9964,7 @@ class DrDetailsListComponent {
9963
9964
  type: Input
9964
9965
  }] }); })();
9965
9966
 
9966
- const _c0$5 = ["content"];
9967
+ const _c0$6 = ["content"];
9967
9968
  function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9968
9969
  const _r7 = i0.ɵɵgetCurrentView();
9969
9970
  i0.ɵɵelementStart(0, "i", 10);
@@ -10065,7 +10066,7 @@ function DialogWrapperComponent_div_9_Template(rf, ctx) { if (rf & 1) {
10065
10066
  i0.ɵɵadvance(1);
10066
10067
  i0.ɵɵproperty("ngIf", ctx_r5.dialogData.acceptButton);
10067
10068
  } }
10068
- const _c1$1 = function (a0) { return { "flex-position": a0 }; };
10069
+ const _c1$2 = function (a0) { return { "flex-position": a0 }; };
10069
10070
  class DialogWrapperComponent {
10070
10071
  get elementClass() {
10071
10072
  return this.dialogData?.theme?.noThemeSizeClass ? null : this.dialogData?.theme?.themeSize || 'medium-modal';
@@ -10140,7 +10141,7 @@ class DialogWrapperComponent {
10140
10141
  }
10141
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)); }; }
10142
10143
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DialogWrapperComponent, selectors: [["dr-dialog-wrapper"]], viewQuery: function DialogWrapperComponent_Query(rf, ctx) { if (rf & 1) {
10143
- i0.ɵɵviewQuery(_c0$5, 5, ViewContainerRef);
10144
+ i0.ɵɵviewQuery(_c0$6, 5, ViewContainerRef);
10144
10145
  } if (rf & 2) {
10145
10146
  let _t;
10146
10147
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
@@ -10165,7 +10166,7 @@ class DialogWrapperComponent {
10165
10166
  i0.ɵɵproperty("ngIf", ctx.dialogData.title);
10166
10167
  i0.ɵɵadvance(1);
10167
10168
  i0.ɵɵclassProp("dialog-wrapper__content--no-padding", ctx.dialogData.theme == null ? null : ctx.dialogData.theme.contentNoPadding);
10168
- 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));
10169
10170
  i0.ɵɵadvance(1);
10170
10171
  i0.ɵɵproperty("ngIf", ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class);
10171
10172
  i0.ɵɵadvance(1);
@@ -10336,8 +10337,8 @@ function DialogModalWrapperComponent_form_7_div_2_label_9_Template(rf, ctx) { if
10336
10337
  i0.ɵɵadvance(1);
10337
10338
  i0.ɵɵtextInterpolate1(" ", ctx_r19.dialogData.serverErrorMessage, " ");
10338
10339
  } }
10339
- const _c0$4 = function (a0) { return { display: a0 }; };
10340
- 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 }; };
10341
10342
  function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1) {
10342
10343
  i0.ɵɵelementStart(0, "div", 16);
10343
10344
  i0.ɵɵtemplate(1, DialogModalWrapperComponent_form_7_div_2_label_1_Template, 2, 2, "label", 17);
@@ -10354,11 +10355,11 @@ function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1
10354
10355
  const field_r11 = ctx.$implicit;
10355
10356
  const ctx_r10 = i0.ɵɵnextContext(2);
10356
10357
  i0.ɵɵclassMap(field_r11.formGroupClass);
10357
- 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"));
10358
10359
  i0.ɵɵadvance(1);
10359
10360
  i0.ɵɵproperty("ngIf", field_r11.label && field_r11.type !== ctx_r10.dialogFieldType.CHECKBOX);
10360
10361
  i0.ɵɵadvance(1);
10361
- 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));
10362
10363
  i0.ɵɵadvance(1);
10363
10364
  i0.ɵɵproperty("ngIf", field_r11.type === ctx_r10.dialogFieldType.SELECT);
10364
10365
  i0.ɵɵadvance(1);
@@ -11039,7 +11040,7 @@ function TreeviewItemComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
11039
11040
  i0.ɵɵadvance(1);
11040
11041
  i0.ɵɵproperty("ngForOf", ctx_r2.item.children);
11041
11042
  } }
11042
- 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 }; };
11043
11044
  function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11044
11045
  i0.ɵɵelementStart(0, "div", 1);
11045
11046
  i0.ɵɵtemplate(1, TreeviewItemComponent_div_0_ng_template_1_Template, 0, 0, "ng-template", 2);
@@ -11048,7 +11049,7 @@ function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11048
11049
  } if (rf & 2) {
11049
11050
  const ctx_r0 = i0.ɵɵnextContext();
11050
11051
  i0.ɵɵadvance(1);
11051
- 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));
11052
11053
  i0.ɵɵadvance(1);
11053
11054
  i0.ɵɵproperty("ngIf", !ctx_r0.item.collapsed);
11054
11055
  } }
@@ -12328,7 +12329,7 @@ class DrImageCropperCanvasService {
12328
12329
  type: Injectable
12329
12330
  }], null, null); })();
12330
12331
 
12331
- const _c0$2 = ["imageCanvas"];
12332
+ const _c0$3 = ["imageCanvas"];
12332
12333
  class DrImageCropperComponent {
12333
12334
  constructor(canvasService) {
12334
12335
  this.canvasService = canvasService;
@@ -12386,7 +12387,7 @@ class DrImageCropperComponent {
12386
12387
  }
12387
12388
  /** @nocollapse */ static { this.ɵfac = function DrImageCropperComponent_Factory(t) { return new (t || DrImageCropperComponent)(i0.ɵɵdirectiveInject(DrImageCropperCanvasService)); }; }
12388
12389
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrImageCropperComponent, selectors: [["dr-image-cropper"]], viewQuery: function DrImageCropperComponent_Query(rf, ctx) { if (rf & 1) {
12389
- i0.ɵɵviewQuery(_c0$2, 7);
12390
+ i0.ɵɵviewQuery(_c0$3, 7);
12390
12391
  } if (rf & 2) {
12391
12392
  let _t;
12392
12393
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.canvasElement = _t.first);
@@ -12603,10 +12604,395 @@ class DrDialogModule {
12603
12604
  }], null, null); })();
12604
12605
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrDialogModule, { declarations: [DialogWrapperComponent, DialogModalWrapperComponent], imports: [CommonModule, MatLegacyDialogModule, DrInputsModule, ReactiveFormsModule, DrTooltipModule, DrDetailsListModule], exports: [DialogWrapperComponent, DialogModalWrapperComponent] }); })();
12605
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
+
12606
12991
  const DR_CHAT_COMPONENTS = [
12607
12992
  DrChatComponent,
12608
12993
  DrChatMessageComponent,
12609
12994
  DrChatFormComponent,
12995
+ DrChatFormWithHistoryComponent,
12610
12996
  DrChatMessageTextComponent,
12611
12997
  DrChatMessageFileComponent,
12612
12998
  DrChatSuggestionsComponent,
@@ -12617,12 +13003,26 @@ const DR_CHAT_DIRECTIVES = [DrChatCustomMessageDirective];
12617
13003
  class DrChatModule {
12618
13004
  /** @nocollapse */ static { this.ɵfac = function DrChatModule_Factory(t) { return new (t || DrChatModule)(); }; }
12619
13005
  /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: DrChatModule }); }
12620
- /** @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] }); }
12621
13013
  }
12622
13014
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrChatModule, [{
12623
13015
  type: NgModule,
12624
13016
  args: [{
12625
- imports: [FormsModule, ReactiveFormsModule, CommonModule, DrAvatarModule, DrInputsModule, DrTooltipModule],
13017
+ imports: [
13018
+ FormsModule,
13019
+ ReactiveFormsModule,
13020
+ CommonModule,
13021
+ DrAvatarModule,
13022
+ DrInputsModule,
13023
+ DrTooltipModule,
13024
+ ClickOutsideModule,
13025
+ ],
12626
13026
  declarations: [...DR_CHAT_COMPONENTS, ...DR_CHAT_DIRECTIVES],
12627
13027
  exports: [...DR_CHAT_COMPONENTS, ...DR_CHAT_DIRECTIVES],
12628
13028
  }]
@@ -12630,13 +13030,21 @@ class DrChatModule {
12630
13030
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrChatModule, { declarations: [DrChatComponent,
12631
13031
  DrChatMessageComponent,
12632
13032
  DrChatFormComponent,
13033
+ DrChatFormWithHistoryComponent,
12633
13034
  DrChatMessageTextComponent,
12634
13035
  DrChatMessageFileComponent,
12635
13036
  DrChatSuggestionsComponent,
12636
13037
  DrDotFlashingComponent,
12637
- 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,
12638
13045
  DrChatMessageComponent,
12639
13046
  DrChatFormComponent,
13047
+ DrChatFormWithHistoryComponent,
12640
13048
  DrChatMessageTextComponent,
12641
13049
  DrChatMessageFileComponent,
12642
13050
  DrChatSuggestionsComponent,
@@ -12714,21 +13122,6 @@ class TreeviewModule {
12714
13122
  }], null, null); })();
12715
13123
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TreeviewModule, { declarations: [TreeviewComponent, TreeviewItemComponent, TreeviewPipe], imports: [FormsModule, CommonModule], exports: [TreeviewComponent, TreeviewPipe] }); })();
12716
13124
 
12717
- class ClickOutsideModule {
12718
- /** @nocollapse */ static { this.ɵfac = function ClickOutsideModule_Factory(t) { return new (t || ClickOutsideModule)(); }; }
12719
- /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: ClickOutsideModule }); }
12720
- /** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
12721
- }
12722
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClickOutsideModule, [{
12723
- type: NgModule,
12724
- args: [{
12725
- imports: [CommonModule],
12726
- declarations: [ClickOutsideDirective],
12727
- exports: [ClickOutsideDirective],
12728
- }]
12729
- }], null, null); })();
12730
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ClickOutsideModule, { declarations: [ClickOutsideDirective], imports: [CommonModule], exports: [ClickOutsideDirective] }); })();
12731
-
12732
13125
  class DrAlertModule {
12733
13126
  /** @nocollapse */ static { this.ɵfac = function DrAlertModule_Factory(t) { return new (t || DrAlertModule)(); }; }
12734
13127
  /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: DrAlertModule }); }