@datarailsshared/datarailsshared 1.5.522 → 1.5.526

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.
Files changed (43) hide show
  1. package/datarailsshared-datarailsshared-1.5.526.tgz +0 -0
  2. package/esm2022/lib/drawer/drawer-animation.mjs +18 -0
  3. package/esm2022/lib/drawer/drawer-config.mjs +35 -0
  4. package/esm2022/lib/drawer/drawer-container.component.mjs +177 -0
  5. package/esm2022/lib/drawer/drawer-position-strategy.mjs +14 -0
  6. package/esm2022/lib/drawer/drawer-ref.mjs +98 -0
  7. package/esm2022/lib/drawer/drawer.module.mjs +19 -0
  8. package/esm2022/lib/drawer/drawer.service.mjs +140 -0
  9. package/esm2022/lib/drawer/public-api.mjs +6 -0
  10. package/esm2022/public-api.mjs +2 -1
  11. package/esm2022/src/lib/drawer/drDrawer.mjs +5 -0
  12. package/esm2022/src/lib/drawer/drawer-animation.mjs +18 -0
  13. package/esm2022/src/lib/drawer/drawer-config.mjs +35 -0
  14. package/esm2022/src/lib/drawer/drawer-container.component.mjs +177 -0
  15. package/esm2022/src/lib/drawer/drawer-position-strategy.mjs +14 -0
  16. package/esm2022/src/lib/drawer/drawer-ref.mjs +98 -0
  17. package/esm2022/src/lib/drawer/drawer.module.mjs +19 -0
  18. package/esm2022/src/lib/drawer/drawer.service.mjs +140 -0
  19. package/esm2022/src/lib/drawer/public-api.mjs +6 -0
  20. package/fesm2022/datarailsshared-datarailsshared.mjs +557 -88
  21. package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
  22. package/fesm2022/drDrawer.mjs +486 -0
  23. package/fesm2022/drDrawer.mjs.map +1 -0
  24. package/lib/drawer/drawer-animation.d.ts +5 -0
  25. package/lib/drawer/drawer-config.d.ts +63 -0
  26. package/lib/drawer/drawer-container.component.d.ts +45 -0
  27. package/lib/drawer/drawer-position-strategy.d.ts +10 -0
  28. package/lib/drawer/drawer-ref.d.ts +53 -0
  29. package/lib/drawer/drawer.module.d.ts +7 -0
  30. package/lib/drawer/drawer.service.d.ts +62 -0
  31. package/lib/drawer/public-api.d.ts +5 -0
  32. package/package.json +7 -1
  33. package/public-api.d.ts +1 -0
  34. package/src/lib/drawer/drawer-animation.d.ts +5 -0
  35. package/src/lib/drawer/drawer-config.d.ts +63 -0
  36. package/src/lib/drawer/drawer-container.component.d.ts +45 -0
  37. package/src/lib/drawer/drawer-position-strategy.d.ts +10 -0
  38. package/src/lib/drawer/drawer-ref.d.ts +53 -0
  39. package/src/lib/drawer/drawer.module.d.ts +7 -0
  40. package/src/lib/drawer/drawer.service.d.ts +62 -0
  41. package/src/lib/drawer/index.d.ts +5 -0
  42. package/src/lib/drawer/public-api.d.ts +5 -0
  43. package/datarailsshared-datarailsshared-1.5.522.tgz +0 -0
@@ -1,23 +1,24 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Output, Input, Injectable, ChangeDetectionStrategy, HostBinding, TemplateRef, HostListener, Directive, ViewContainerRef, ViewChild, ContentChild, Pipe, Inject, Optional, ViewEncapsulation, forwardRef, PLATFORM_ID, ContentChildren, ElementRef, Injector, inject, ChangeDetectorRef, DestroyRef, Host, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, Output, Input, Injectable, ChangeDetectionStrategy, HostBinding, TemplateRef, HostListener, Directive, ViewContainerRef, ViewChild, ContentChild, Pipe, Inject, Optional, ViewEncapsulation, forwardRef, PLATFORM_ID, ContentChildren, ElementRef, Injector, inject, ChangeDetectorRef, DestroyRef, Host, NgModule, InjectionToken, SkipSelf } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { isPlatformBrowser, DOCUMENT, CommonModule } from '@angular/common';
5
5
  import { MomentDateAdapter, MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular/material-moment-adapter';
6
6
  import * as i1$4 from '@angular/material/core';
7
- import { MAT_DATE_FORMATS, DateAdapter, MAT_DATE_LOCALE, MatNativeDateModule } from '@angular/material/core';
7
+ import { MAT_DATE_FORMATS, DateAdapter, MAT_DATE_LOCALE, MatNativeDateModule, MatCommonModule } from '@angular/material/core';
8
8
  import moment from 'moment';
9
9
  import * as i1$2 from '@angular/forms';
10
10
  import { NG_VALUE_ACCESSOR, FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
11
- import { Observable, BehaviorSubject, Subject, combineLatest, noop as noop$3, from, merge as merge$1, fromEvent, filter as filter$1, switchMap as switchMap$1, map as map$2, observeOn, asyncScheduler, withLatestFrom, first as first$1, takeUntil as takeUntil$1, interval, throwError } from 'rxjs';
11
+ import { Observable, BehaviorSubject, Subject, combineLatest, noop as noop$3, from, merge as merge$1, fromEvent, filter as filter$1, switchMap as switchMap$1, map as map$2, observeOn, asyncScheduler, withLatestFrom, first as first$1, takeUntil as takeUntil$1, interval, throwError, finalize as finalize$1, distinctUntilChanged as distinctUntilChanged$1, tap as tap$1, defer } from 'rxjs';
12
12
  import * as _ from 'lodash';
13
13
  import { cloneDeep, find, indexOf, reduce, isObject, isNil, map as map$1, isNumber, merge, forEach, some, orderBy, filter as filter$2, includes, pull, concat, isString, isBoolean } from 'lodash';
14
- import { skip, takeUntil, distinctUntilChanged, startWith, map, tap, shareReplay, debounceTime, filter, switchMap, first, catchError, finalize } from 'rxjs/operators';
14
+ import { skip, takeUntil, distinctUntilChanged, startWith, map, tap, shareReplay, debounceTime, filter, switchMap, first, catchError, finalize, take } from 'rxjs/operators';
15
15
  import * as i1$3 from '@angular/material/datepicker';
16
16
  import { MatCalendar, MatDatepickerModule } from '@angular/material/datepicker';
17
17
  import { transition, style, animate, trigger, state } from '@angular/animations';
18
18
  import * as i1$1 from '@angular/cdk/overlay';
19
19
  import { OverlayConfig } from '@angular/cdk/overlay';
20
- import { ComponentPortal } from '@angular/cdk/portal';
20
+ import * as i4 from '@angular/cdk/portal';
21
+ import { ComponentPortal, CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';
21
22
  import * as i3 from '@ng-select/ng-select';
22
23
  import { NgSelectComponent, NgSelectModule } from '@ng-select/ng-select';
23
24
  import * as i1$5 from 'ngx-mask';
@@ -34,6 +35,10 @@ import 'codemirror/mode/javascript/javascript';
34
35
  import 'codemirror/addon/edit/matchbrackets';
35
36
  import 'codemirror/addon/hint/show-hint';
36
37
  import '@codemirror/autocomplete';
38
+ import * as i1$9 from '@angular/cdk/a11y';
39
+ import { CdkDialogContainer, DialogModule, Dialog, DialogConfig } from '@angular/cdk/dialog';
40
+ import { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';
41
+ import { coerceCssPixelValue } from '@angular/cdk/coercion';
37
42
 
38
43
  class AnyTagComponent {
39
44
  constructor() {
@@ -523,7 +528,7 @@ var TooltipTheme;
523
528
  TooltipTheme["DARK"] = "dark";
524
529
  })(TooltipTheme || (TooltipTheme = {}));
525
530
 
526
- const _c0$E = ["*"];
531
+ const _c0$F = ["*"];
527
532
  class TooltipDefaultComponent {
528
533
  constructor() {
529
534
  this.theme = TooltipTheme.LIGHT;
@@ -531,7 +536,7 @@ class TooltipDefaultComponent {
531
536
  /** @nocollapse */ static { this.ɵfac = function TooltipDefaultComponent_Factory(t) { return new (t || TooltipDefaultComponent)(); }; }
532
537
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipDefaultComponent, selectors: [["dr-tooltip-default"]], hostVars: 2, hostBindings: function TooltipDefaultComponent_HostBindings(rf, ctx) { if (rf & 2) {
533
538
  i0.ɵɵclassMap(ctx.theme);
534
- } }, inputs: { content: "content", theme: "theme" }, ngContentSelectors: _c0$E, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
539
+ } }, 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) {
535
540
  i0.ɵɵprojectionDef();
536
541
  i0.ɵɵelement(0, "span", 0);
537
542
  i0.ɵɵprojection(1);
@@ -572,7 +577,7 @@ function TooltipComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
572
577
  const ctx_r3 = i0.ɵɵnextContext();
573
578
  i0.ɵɵproperty("content", ctx_r3.content)("theme", ctx_r3.theme);
574
579
  } }
575
- const _c0$D = function (a0) { return { "dr-tooltip": a0 }; };
580
+ const _c0$E = function (a0) { return { "dr-tooltip": a0 }; };
576
581
  class TooltipComponent {
577
582
  constructor() {
578
583
  this.isContentTemplate = false;
@@ -599,7 +604,7 @@ class TooltipComponent {
599
604
  } if (rf & 2) {
600
605
  const _r2 = i0.ɵɵreference(4);
601
606
  i0.ɵɵclassMap(ctx.position + " " + ctx.class + " " + ctx.theme);
602
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$D, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
607
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$E, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
603
608
  i0.ɵɵadvance(1);
604
609
  i0.ɵɵproperty("ngIf", !(ctx.options == null ? null : ctx.options.withoutArrow));
605
610
  i0.ɵɵadvance(1);
@@ -902,7 +907,7 @@ class DrSpinnerDirective {
902
907
  type: Input
903
908
  }] }); })();
904
909
 
905
- const _c0$C = ["labelTemplate"];
910
+ const _c0$D = ["labelTemplate"];
906
911
  const _c1$g = ["multiLabelTemplate"];
907
912
  const _c2$6 = ["optionTemplate"];
908
913
  const _c3$5 = ["optionHeaderTemplate"];
@@ -1118,7 +1123,7 @@ class DrSelectComponent {
1118
1123
  }
1119
1124
  /** @nocollapse */ static { this.ɵfac = function DrSelectComponent_Factory(t) { return new (t || DrSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
1120
1125
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1121
- i0.ɵɵcontentQuery(dirIndex, _c0$C, 5);
1126
+ i0.ɵɵcontentQuery(dirIndex, _c0$D, 5);
1122
1127
  i0.ɵɵcontentQuery(dirIndex, _c1$g, 5);
1123
1128
  i0.ɵɵcontentQuery(dirIndex, _c2$6, 5);
1124
1129
  i0.ɵɵcontentQuery(dirIndex, _c3$5, 5);
@@ -1299,7 +1304,7 @@ class DrShowTimeframePipe {
1299
1304
  }]
1300
1305
  }], null, null); })();
1301
1306
 
1302
- const _c0$B = ["class", "component"];
1307
+ const _c0$C = ["class", "component"];
1303
1308
  const _c1$f = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
1304
1309
  function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
1305
1310
  const _r6 = i0.ɵɵgetCurrentView();
@@ -1552,7 +1557,7 @@ class DrDatePickerCustomHeaderComponent {
1552
1557
  return false;
1553
1558
  }
1554
1559
  /** @nocollapse */ static { this.ɵfac = function DrDatePickerCustomHeaderComponent_Factory(t) { return new (t || DrDatePickerCustomHeaderComponent)(i0.ɵɵdirectiveInject(i1$3.MatCalendar), i0.ɵɵdirectiveInject(i1$4.DateAdapter), i0.ɵɵdirectiveInject(MAT_DATE_FORMATS), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
1555
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$B, 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) {
1560
+ /** @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) {
1556
1561
  i0.ɵɵtemplate(0, DrDatePickerCustomHeaderComponent_div_0_Template, 4, 6, "div", 0);
1557
1562
  i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
1558
1563
  i0.ɵɵlistener("click", function DrDatePickerCustomHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
@@ -1637,7 +1642,7 @@ class DrDatePickerFormatDirective {
1637
1642
  args: ['drDatePickerFormat']
1638
1643
  }] }); })();
1639
1644
 
1640
- const _c0$A = ["datePicker"];
1645
+ const _c0$B = ["datePicker"];
1641
1646
  const noop$2 = () => { };
1642
1647
  class CustomDateAdapter extends MomentDateAdapter {
1643
1648
  getFirstDayOfWeek() {
@@ -1878,7 +1883,7 @@ class DrDatePickerComponent {
1878
1883
  }
1879
1884
  /** @nocollapse */ static { this.ɵfac = function DrDatePickerComponent_Factory(t) { return new (t || DrDatePickerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.DateAdapter), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
1880
1885
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerComponent, selectors: [["dr-date-picker"]], viewQuery: function DrDatePickerComponent_Query(rf, ctx) { if (rf & 1) {
1881
- i0.ɵɵviewQuery(_c0$A, 5);
1886
+ i0.ɵɵviewQuery(_c0$B, 5);
1882
1887
  } if (rf & 2) {
1883
1888
  let _t;
1884
1889
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePicker = _t.first);
@@ -3057,7 +3062,7 @@ class DrModelDebounceChangeDirective {
3057
3062
  type: Output
3058
3063
  }] }); })();
3059
3064
 
3060
- const _c0$z = ["prefix"];
3065
+ const _c0$A = ["prefix"];
3061
3066
  const _c1$e = ["suffix"];
3062
3067
  const _c2$5 = ["inputRef"];
3063
3068
  function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
@@ -3267,7 +3272,7 @@ class DrInputComponent {
3267
3272
  }
3268
3273
  /** @nocollapse */ static { this.ɵfac = function DrInputComponent_Factory(t) { return new (t || DrInputComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
3269
3274
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrInputComponent, selectors: [["dr-input"]], contentQueries: function DrInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
3270
- i0.ɵɵcontentQuery(dirIndex, _c0$z, 5);
3275
+ i0.ɵɵcontentQuery(dirIndex, _c0$A, 5);
3271
3276
  i0.ɵɵcontentQuery(dirIndex, _c1$e, 5);
3272
3277
  } if (rf & 2) {
3273
3278
  let _t;
@@ -3408,7 +3413,7 @@ function DrButtonComponent_i_4_Template(rf, ctx) { if (rf & 1) {
3408
3413
  i0.ɵɵclassMap(ctx_r2.iconAfter);
3409
3414
  i0.ɵɵstyleProp("font-size", ctx_r2.iconAfterSize)("color", ctx_r2.iconAfterColor || "inherit");
3410
3415
  } }
3411
- const _c0$y = ["*"];
3416
+ const _c0$z = ["*"];
3412
3417
  class DrButtonComponent {
3413
3418
  constructor() {
3414
3419
  this.theme = 'primary';
@@ -3422,7 +3427,7 @@ class DrButtonComponent {
3422
3427
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrButtonComponent, selectors: [["dr-button"]], hostVars: 12, hostBindings: function DrButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
3423
3428
  i0.ɵɵclassMap(ctx.theme);
3424
3429
  i0.ɵɵclassProp("with-icon", ctx.icon)("with-icon-after", ctx.iconAfter)("disabled", ctx.disabled)("loading", ctx.isLoading)("active", ctx.isActive);
3425
- } }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, ngContentSelectors: _c0$y, 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) {
3430
+ } }, 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) {
3426
3431
  i0.ɵɵprojectionDef();
3427
3432
  i0.ɵɵelementStart(0, "button", 0);
3428
3433
  i0.ɵɵtemplate(1, DrButtonComponent_i_1_Template, 1, 6, "i", 1);
@@ -3483,7 +3488,7 @@ class DrButtonComponent {
3483
3488
  args: ['class.active']
3484
3489
  }] }); })();
3485
3490
 
3486
- const _c0$x = ["dynamicInputRef"];
3491
+ const _c0$y = ["dynamicInputRef"];
3487
3492
  function DrSelectAddItemComponent_div_5_p_1_Template(rf, ctx) { if (rf & 1) {
3488
3493
  i0.ɵɵelementStart(0, "p", 12);
3489
3494
  i0.ɵɵtext(1);
@@ -3573,7 +3578,7 @@ class DrSelectAddItemComponent {
3573
3578
  }
3574
3579
  /** @nocollapse */ static { this.ɵfac = function DrSelectAddItemComponent_Factory(t) { return new (t || DrSelectAddItemComponent)(i0.ɵɵdirectiveInject(DrSelectComponent)); }; }
3575
3580
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectAddItemComponent, selectors: [["dr-select-add-item"]], viewQuery: function DrSelectAddItemComponent_Query(rf, ctx) { if (rf & 1) {
3576
- i0.ɵɵviewQuery(_c0$x, 5);
3581
+ i0.ɵɵviewQuery(_c0$y, 5);
3577
3582
  } if (rf & 2) {
3578
3583
  let _t;
3579
3584
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);
@@ -4025,7 +4030,7 @@ class DrTagComponent {
4025
4030
  type: Output
4026
4031
  }] }); })();
4027
4032
 
4028
- const _c0$w = ["*"];
4033
+ const _c0$x = ["*"];
4029
4034
  class RadioButtonComponent {
4030
4035
  get disabled() {
4031
4036
  return this._disabled;
@@ -4076,7 +4081,7 @@ class RadioButtonComponent {
4076
4081
  useExisting: RadioButtonComponent,
4077
4082
  multi: true,
4078
4083
  },
4079
- ])], ngContentSelectors: _c0$w, decls: 4, vars: 4, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
4084
+ ])], 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) {
4080
4085
  i0.ɵɵprojectionDef();
4081
4086
  i0.ɵɵelementStart(0, "label")(1, "input", 0);
4082
4087
  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); });
@@ -4109,7 +4114,7 @@ class RadioButtonComponent {
4109
4114
  type: Input
4110
4115
  }] }); })();
4111
4116
 
4112
- const _c0$v = [[["dr-radio-button"]]];
4117
+ const _c0$w = [[["dr-radio-button"]]];
4113
4118
  const _c1$d = ["dr-radio-button"];
4114
4119
  class RadioGroupComponent {
4115
4120
  get value() {
@@ -4250,7 +4255,7 @@ class RadioGroupComponent {
4250
4255
  multi: true,
4251
4256
  },
4252
4257
  ])], ngContentSelectors: _c1$d, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
4253
- i0.ɵɵprojectionDef(_c0$v);
4258
+ i0.ɵɵprojectionDef(_c0$w);
4254
4259
  i0.ɵɵprojection(0);
4255
4260
  } }, encapsulation: 2, changeDetection: 0 }); }
4256
4261
  }
@@ -4287,7 +4292,7 @@ class RadioGroupComponent {
4287
4292
  type: Output
4288
4293
  }] }); })();
4289
4294
 
4290
- const _c0$u = ["checkboxContent"];
4295
+ const _c0$v = ["checkboxContent"];
4291
4296
  const _c1$c = ["*"];
4292
4297
  class CheckboxComponent {
4293
4298
  get indeterminate() {
@@ -4337,7 +4342,7 @@ class CheckboxComponent {
4337
4342
  }
4338
4343
  /** @nocollapse */ static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
4339
4344
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["dr-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
4340
- i0.ɵɵviewQuery(_c0$u, 5);
4345
+ i0.ɵɵviewQuery(_c0$v, 5);
4341
4346
  } if (rf & 2) {
4342
4347
  let _t;
4343
4348
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxContent = _t.first);
@@ -4393,7 +4398,7 @@ class CheckboxComponent {
4393
4398
  args: ['checkboxContent']
4394
4399
  }] }); })();
4395
4400
 
4396
- const _c0$t = ["*"];
4401
+ const _c0$u = ["*"];
4397
4402
  var LinkTheme;
4398
4403
  (function (LinkTheme) {
4399
4404
  LinkTheme["DEFAULT"] = "DEFAULT";
@@ -4409,7 +4414,7 @@ class DrLinkComponent {
4409
4414
  this.theme = LinkTheme.DEFAULT;
4410
4415
  }
4411
4416
  /** @nocollapse */ static { this.ɵfac = function DrLinkComponent_Factory(t) { return new (t || DrLinkComponent)(); }; }
4412
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$t, decls: 2, vars: 7, consts: [[1, "dr-link", 3, "href"]], template: function DrLinkComponent_Template(rf, ctx) { if (rf & 1) {
4417
+ /** @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) {
4413
4418
  i0.ɵɵprojectionDef();
4414
4419
  i0.ɵɵelementStart(0, "a", 0);
4415
4420
  i0.ɵɵprojection(1);
@@ -4481,7 +4486,7 @@ function DrDatePickerWithTimeframeComponent_dr_button_11_Template(rf, ctx) { if
4481
4486
  const ctx_r5 = i0.ɵɵnextContext();
4482
4487
  i0.ɵɵproperty("disabled", ctx_r5.isNextDateDisabled);
4483
4488
  } }
4484
- const _c0$s = function (a0) { return { formattedValue: a0 }; };
4489
+ const _c0$t = function (a0) { return { formattedValue: a0 }; };
4485
4490
  class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4486
4491
  get isDashboardClassDisplayed() {
4487
4492
  return this.isDashboardDatepicker;
@@ -4655,7 +4660,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4655
4660
  i0.ɵɵadvance(1);
4656
4661
  i0.ɵɵproperty("ngIf", ctx.isDashboardDatepicker);
4657
4662
  i0.ɵɵadvance(2);
4658
- i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(19, _c0$s, i0.ɵɵpipeBind1(5, 15, ctx.displayedFormattedValue$)));
4663
+ i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(19, _c0$t, i0.ɵɵpipeBind1(5, 15, ctx.displayedFormattedValue$)));
4659
4664
  i0.ɵɵadvance(4);
4660
4665
  i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(10, 17, ctx.displayValue$))("matDatepicker", _r6)("readonly", ctx.readonly)("min", ctx._min)("max", ctx._max);
4661
4666
  i0.ɵɵadvance(3);
@@ -4931,7 +4936,7 @@ class TooltipInfoComponent {
4931
4936
  type: Input
4932
4937
  }] }); })();
4933
4938
 
4934
- const _c0$r = ["stepper"];
4939
+ const _c0$s = ["stepper"];
4935
4940
  function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
4936
4941
  const _r9 = i0.ɵɵgetCurrentView();
4937
4942
  i0.ɵɵelementStart(0, "div", 6);
@@ -5141,7 +5146,7 @@ class StepperComponent {
5141
5146
  }
5142
5147
  /** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
5143
5148
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], viewQuery: function StepperComponent_Query(rf, ctx) { if (rf & 1) {
5144
- i0.ɵɵviewQuery(_c0$r, 5, ElementRef);
5149
+ i0.ɵɵviewQuery(_c0$s, 5, ElementRef);
5145
5150
  } if (rf & 2) {
5146
5151
  let _t;
5147
5152
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepper = _t.first);
@@ -5296,7 +5301,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
5296
5301
  i0.ɵɵtext(1, "Stop generating");
5297
5302
  i0.ɵɵelementEnd();
5298
5303
  } }
5299
- const _c0$q = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
5304
+ const _c0$r = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
5300
5305
  class DrChatFormComponent {
5301
5306
  constructor(cdr, domSanitizer) {
5302
5307
  this.cdr = cdr;
@@ -5452,7 +5457,7 @@ class DrChatFormComponent {
5452
5457
  const _r1 = i0.ɵɵreference(4);
5453
5458
  i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
5454
5459
  i0.ɵɵadvance(2);
5455
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$q, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
5460
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$r, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
5456
5461
  i0.ɵɵadvance(1);
5457
5462
  i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
5458
5463
  i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
@@ -5564,7 +5569,7 @@ class DrAvatarPipe {
5564
5569
  function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
5565
5570
  i0.ɵɵelement(0, "div", 5);
5566
5571
  } }
5567
- const _c0$p = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
5572
+ const _c0$q = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
5568
5573
  function DrAvatarComponent_div_2_Template(rf, ctx) { if (rf & 1) {
5569
5574
  const _r7 = i0.ɵɵgetCurrentView();
5570
5575
  i0.ɵɵelementStart(0, "div", 6);
@@ -5578,7 +5583,7 @@ function DrAvatarComponent_div_2_Template(rf, ctx) { if (rf & 1) {
5578
5583
  const ctx_r1 = i0.ɵɵnextContext();
5579
5584
  i0.ɵɵclassMap(user_r5.status);
5580
5585
  i0.ɵɵstyleProp("width", ctx_r1.drAvatarSize || null)("height", ctx_r1.drAvatarSize || null)("background-color", ctx_r1.getAvatarColor(user_r5));
5581
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$p, ctx_r1.showUnassigned && !user_r5.email, ctx_r1.drAvatarIsClickable))("drTooltip", i0.ɵɵpipeBind1(1, 13, user_r5))("drTooltipClass", ctx_r1.drAvatarTooltipClass)("drTooltipPosition", ctx_r1.drAvatarTooltipPosition);
5586
+ 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);
5582
5587
  i0.ɵɵadvance(2);
5583
5588
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), " ");
5584
5589
  } }
@@ -5792,7 +5797,7 @@ class DrChatMessageFileComponent {
5792
5797
  type: Input
5793
5798
  }] }); })();
5794
5799
 
5795
- const _c0$o = ["drChatMessageActions"];
5800
+ const _c0$p = ["drChatMessageActions"];
5796
5801
  function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
5797
5802
  i0.ɵɵelementContainerStart(0);
5798
5803
  i0.ɵɵelement(1, "div", 7);
@@ -5894,7 +5899,7 @@ class DrChatMessageComponent {
5894
5899
  }
5895
5900
  /** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
5896
5901
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatMessageComponent, selectors: [["dr-chat-message"]], contentQueries: function DrChatMessageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
5897
- i0.ɵɵcontentQuery(dirIndex, _c0$o, 5);
5902
+ i0.ɵɵcontentQuery(dirIndex, _c0$p, 5);
5898
5903
  } if (rf & 2) {
5899
5904
  let _t;
5900
5905
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
@@ -5967,7 +5972,7 @@ class DrChatMessageComponent {
5967
5972
  args: ['drChatMessageActions']
5968
5973
  }] }); })();
5969
5974
 
5970
- const _c0$n = ["suggestionsContainer"];
5975
+ const _c0$o = ["suggestionsContainer"];
5971
5976
  function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
5972
5977
  i0.ɵɵelementContainer(0);
5973
5978
  } }
@@ -6112,7 +6117,7 @@ class DrChatSuggestionsComponent {
6112
6117
  }
6113
6118
  /** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6114
6119
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatSuggestionsComponent, selectors: [["dr-chat-suggestions"]], viewQuery: function DrChatSuggestionsComponent_Query(rf, ctx) { if (rf & 1) {
6115
- i0.ɵɵviewQuery(_c0$n, 5);
6120
+ i0.ɵɵviewQuery(_c0$o, 5);
6116
6121
  } if (rf & 2) {
6117
6122
  let _t;
6118
6123
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
@@ -6146,7 +6151,7 @@ class DrChatSuggestionsComponent {
6146
6151
  args: ['suggestionsContainer', { static: false }]
6147
6152
  }] }); })();
6148
6153
 
6149
- const _c0$m = ["drChatHeader"];
6154
+ const _c0$n = ["drChatHeader"];
6150
6155
  const _c1$9 = ["messagesContainer"];
6151
6156
  function DrChatComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
6152
6157
  i0.ɵɵelementContainer(0, 8);
@@ -6262,7 +6267,7 @@ class DrChatComponent {
6262
6267
  /** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6263
6268
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
6264
6269
  i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
6265
- i0.ɵɵcontentQuery(dirIndex, _c0$m, 5);
6270
+ i0.ɵɵcontentQuery(dirIndex, _c0$n, 5);
6266
6271
  i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
6267
6272
  } if (rf & 2) {
6268
6273
  let _t;
@@ -6380,14 +6385,14 @@ class DrChatCustomMessageDirective {
6380
6385
  type: Input
6381
6386
  }] }); })();
6382
6387
 
6383
- const _c0$l = ["*"];
6388
+ const _c0$m = ["*"];
6384
6389
  class DrChatAlertComponent {
6385
6390
  constructor() {
6386
6391
  this.iconClass = 'dr-icon-info';
6387
6392
  this.close = new EventEmitter();
6388
6393
  }
6389
6394
  /** @nocollapse */ static { this.ɵfac = function DrChatAlertComponent_Factory(t) { return new (t || DrChatAlertComponent)(); }; }
6390
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$l, 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) {
6395
+ /** @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) {
6391
6396
  i0.ɵɵprojectionDef();
6392
6397
  i0.ɵɵelement(0, "i");
6393
6398
  i0.ɵɵprojection(1);
@@ -6425,7 +6430,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
6425
6430
  i0.ɵɵadvance(1);
6426
6431
  i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
6427
6432
  } }
6428
- const _c0$k = ["*"];
6433
+ const _c0$l = ["*"];
6429
6434
  class DrToggleComponent {
6430
6435
  set disabled(value) {
6431
6436
  this.setDisabledState(value);
@@ -6468,7 +6473,7 @@ class DrToggleComponent {
6468
6473
  /** @nocollapse */ static { this.ɵfac = function DrToggleComponent_Factory(t) { return new (t || DrToggleComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
6469
6474
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 2, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
6470
6475
  i0.ɵɵclassMap(ctx.elementClass);
6471
- } }, 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$k, 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) {
6476
+ } }, 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) {
6472
6477
  i0.ɵɵprojectionDef();
6473
6478
  i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
6474
6479
  i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
@@ -6588,7 +6593,7 @@ function DrAlertComponent_span_2_Template(rf, ctx) { if (rf & 1) {
6588
6593
  i0.ɵɵadvance(1);
6589
6594
  i0.ɵɵtextInterpolate(ctx_r0.text);
6590
6595
  } }
6591
- const _c0$j = ["*"];
6596
+ const _c0$k = ["*"];
6592
6597
  const ALERT_THEME_ICONS = {
6593
6598
  [DrAlertTheme.SUCCESS]: 'dr-icon-uploaded-success',
6594
6599
  [DrAlertTheme.BOLD_ERROR]: 'dr-icon-error',
@@ -6609,7 +6614,7 @@ class DrAlertComponent {
6609
6614
  /** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
6610
6615
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
6611
6616
  i0.ɵɵclassMap(ctx.elementClass);
6612
- } }, inputs: { theme: "theme", customIconClass: "customIconClass", text: "text" }, ngContentSelectors: _c0$j, 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) {
6617
+ } }, 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) {
6613
6618
  i0.ɵɵprojectionDef();
6614
6619
  i0.ɵɵelementStart(0, "div", 0);
6615
6620
  i0.ɵɵelement(1, "i");
@@ -6655,7 +6660,7 @@ class CodeEditorHintWrapperComponent {
6655
6660
  }]
6656
6661
  }], null, null); })();
6657
6662
 
6658
- const _c0$i = ["ref"];
6663
+ const _c0$j = ["ref"];
6659
6664
  class DrCodemirrorComponent {
6660
6665
  set options(value) {
6661
6666
  this._options = value;
@@ -6785,7 +6790,7 @@ class DrCodemirrorComponent {
6785
6790
  }
6786
6791
  /** @nocollapse */ static { this.ɵfac = function DrCodemirrorComponent_Factory(t) { return new (t || DrCodemirrorComponent)(i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
6787
6792
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodemirrorComponent, selectors: [["dr-codemirror"]], viewQuery: function DrCodemirrorComponent_Query(rf, ctx) { if (rf & 1) {
6788
- i0.ɵɵviewQuery(_c0$i, 5);
6793
+ i0.ɵɵviewQuery(_c0$j, 5);
6789
6794
  } if (rf & 2) {
6790
6795
  let _t;
6791
6796
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ref = _t.first);
@@ -6937,7 +6942,7 @@ class DrErrorComponent {
6937
6942
  args: ['class.no-icon']
6938
6943
  }] }); })();
6939
6944
 
6940
- const _c0$h = ["codeEditor"];
6945
+ const _c0$i = ["codeEditor"];
6941
6946
  function DrCodeEditorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
6942
6947
  i0.ɵɵelementStart(0, "span", 4);
6943
6948
  i0.ɵɵtext(1);
@@ -7216,7 +7221,7 @@ class DrCodeEditorComponent {
7216
7221
  }
7217
7222
  /** @nocollapse */ static { this.ɵfac = function DrCodeEditorComponent_Factory(t) { return new (t || DrCodeEditorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.Injector)); }; }
7218
7223
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodeEditorComponent, selectors: [["dr-code-editor"]], viewQuery: function DrCodeEditorComponent_Query(rf, ctx) { if (rf & 1) {
7219
- i0.ɵɵviewQuery(_c0$h, 5);
7224
+ i0.ɵɵviewQuery(_c0$i, 5);
7220
7225
  } if (rf & 2) {
7221
7226
  let _t;
7222
7227
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.codeEditor = _t.first);
@@ -7981,7 +7986,7 @@ const getAlignmentDimension = (position) => {
7981
7986
  return DrPopoverAlignmentDimension.Width;
7982
7987
  };
7983
7988
 
7984
- const _c0$g = ["popoverContainer"];
7989
+ const _c0$h = ["popoverContainer"];
7985
7990
  function DrPopoverComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
7986
7991
  i0.ɵɵelementContainer(0);
7987
7992
  } }
@@ -8071,7 +8076,7 @@ class DrPopoverComponent {
8071
8076
  }
8072
8077
  /** @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)); }; }
8073
8078
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrPopoverComponent, selectors: [["dr-popover"]], viewQuery: function DrPopoverComponent_Query(rf, ctx) { if (rf & 1) {
8074
- i0.ɵɵviewQuery(_c0$g, 7, ElementRef);
8079
+ i0.ɵɵviewQuery(_c0$h, 7, ElementRef);
8075
8080
  } if (rf & 2) {
8076
8081
  let _t;
8077
8082
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverContainer = _t.first);
@@ -8361,7 +8366,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8361
8366
  var __metadata = (this && this.__metadata) || function (k, v) {
8362
8367
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
8363
8368
  };
8364
- const _c0$f = ["menuContainer"];
8369
+ const _c0$g = ["menuContainer"];
8365
8370
  function DrDropdownComponent_dr_dropdown_item_4_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
8366
8371
  i0.ɵɵelement(0, "i", 11);
8367
8372
  } if (rf & 2) {
@@ -8557,7 +8562,7 @@ class DrDropdownComponent {
8557
8562
  }
8558
8563
  /** @nocollapse */ static { this.ɵfac = function DrDropdownComponent_Factory(t) { return new (t || DrDropdownComponent)(); }; }
8559
8564
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownComponent, selectors: [["dr-dropdown"]], viewQuery: function DrDropdownComponent_Query(rf, ctx) { if (rf & 1) {
8560
- i0.ɵɵviewQuery(_c0$f, 7);
8565
+ i0.ɵɵviewQuery(_c0$g, 7);
8561
8566
  } if (rf & 2) {
8562
8567
  let _t;
8563
8568
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
@@ -8790,12 +8795,12 @@ class DrDropdownChildDirective {
8790
8795
  }]
8791
8796
  }], null, null); })();
8792
8797
 
8793
- const _c0$e = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
8798
+ const _c0$f = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
8794
8799
  const _c1$7 = ["[dropdownItemContent]", "[dropdownItemActions]"];
8795
8800
  class DrDropdownItemComponent {
8796
8801
  /** @nocollapse */ static { this.ɵfac = function DrDropdownItemComponent_Factory(t) { return new (t || DrDropdownItemComponent)(); }; }
8797
8802
  /** @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) {
8798
- i0.ɵɵprojectionDef(_c0$e);
8803
+ i0.ɵɵprojectionDef(_c0$f);
8799
8804
  i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
8800
8805
  i0.ɵɵprojection(2);
8801
8806
  i0.ɵɵelementEnd();
@@ -8834,7 +8839,7 @@ class DrDropdownItemShowPipe {
8834
8839
  function DrTabComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
8835
8840
  i0.ɵɵprojection(0);
8836
8841
  } }
8837
- const _c0$d = ["*"];
8842
+ const _c0$e = ["*"];
8838
8843
  class DrTabComponent {
8839
8844
  constructor() { }
8840
8845
  ngOnInit() { }
@@ -8844,7 +8849,7 @@ class DrTabComponent {
8844
8849
  } if (rf & 2) {
8845
8850
  let _t;
8846
8851
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
8847
- } }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$d, decls: 1, vars: 0, template: function DrTabComponent_Template(rf, ctx) { if (rf & 1) {
8852
+ } }, 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) {
8848
8853
  i0.ɵɵprojectionDef();
8849
8854
  i0.ɵɵtemplate(0, DrTabComponent_ng_template_0_Template, 1, 0, "ng-template");
8850
8855
  } }, encapsulation: 2 }); }
@@ -9119,7 +9124,7 @@ class DrTabsComponent {
9119
9124
  args: [DrTabComponent]
9120
9125
  }] }); })();
9121
9126
 
9122
- const _c0$c = [[["dr-accordion-item"]]];
9127
+ const _c0$d = [[["dr-accordion-item"]]];
9123
9128
  const _c1$6 = ["dr-accordion-item"];
9124
9129
  class DrAccordionComponent {
9125
9130
  constructor() {
@@ -9154,7 +9159,7 @@ class DrAccordionComponent {
9154
9159
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionComponent, selectors: [["dr-accordion"]], hostVars: 2, hostBindings: function DrAccordionComponent_HostBindings(rf, ctx) { if (rf & 2) {
9155
9160
  i0.ɵɵclassMap(ctx.theme);
9156
9161
  } }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$6, decls: 1, vars: 0, template: function DrAccordionComponent_Template(rf, ctx) { if (rf & 1) {
9157
- i0.ɵɵprojectionDef(_c0$c);
9162
+ i0.ɵɵprojectionDef(_c0$d);
9158
9163
  i0.ɵɵprojection(0);
9159
9164
  } }, styles: ["[_nghost-%COMP%]{display:block;box-shadow:#2c33491a 0 5px 10px}.borderless[_nghost-%COMP%]{box-shadow:none}"], changeDetection: 0 }); }
9160
9165
  }
@@ -9171,7 +9176,7 @@ class DrAccordionComponent {
9171
9176
  args: ['class']
9172
9177
  }] }); })();
9173
9178
 
9174
- const _c0$b = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
9179
+ const _c0$c = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
9175
9180
  const _c1$5 = ["dr-accordion-item-header", "dr-accordion-item-body"];
9176
9181
  class DrAccordionItemComponent {
9177
9182
  /**
@@ -9273,7 +9278,7 @@ class DrAccordionItemComponent {
9273
9278
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemComponent, selectors: [["dr-accordion-item"]], hostVars: 6, hostBindings: function DrAccordionItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
9274
9279
  i0.ɵɵclassProp("collapsed", ctx.collapsed)("expanded", ctx.expanded)("disabled", ctx.disabled);
9275
9280
  } }, 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) {
9276
- i0.ɵɵprojectionDef(_c0$b);
9281
+ i0.ɵɵprojectionDef(_c0$c);
9277
9282
  i0.ɵɵprojection(0);
9278
9283
  i0.ɵɵprojection(1, 1);
9279
9284
  } }, 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 }); }
@@ -9315,7 +9320,7 @@ function DrAccordionItemHeaderComponent_i_0_Template(rf, ctx) { if (rf & 1) {
9315
9320
  i0.ɵɵclassMap("dr-accordion-item-header-icon " + ctx_r0.icon);
9316
9321
  i0.ɵɵclassProp("dr-accordion-item-header-icon--additional-padding", ctx_r0.chevronPosition === "left");
9317
9322
  } }
9318
- const _c0$a = function (a0) { return { rotationDegree: a0 }; };
9323
+ const _c0$b = function (a0) { return { rotationDegree: a0 }; };
9319
9324
  const _c1$4 = function (a0, a1) { return { value: a0, params: a1 }; };
9320
9325
  function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9321
9326
  const _r3 = i0.ɵɵgetCurrentView();
@@ -9325,7 +9330,7 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9325
9330
  } if (rf & 2) {
9326
9331
  const ctx_r1 = i0.ɵɵnextContext();
9327
9332
  i0.ɵɵclassMap(ctx_r1.chevronIconClass);
9328
- i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$4, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$a, ctx_r1.chevronRotationDegree)));
9333
+ i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$4, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$b, ctx_r1.chevronRotationDegree)));
9329
9334
  } }
9330
9335
  const _c2 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
9331
9336
  const _c3 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
@@ -9454,7 +9459,7 @@ class DrAccordionItemHeaderComponent {
9454
9459
  args: ['keydown.enter']
9455
9460
  }] }); })();
9456
9461
 
9457
- const _c0$9 = function (a0) { return { value: a0 }; };
9462
+ const _c0$a = function (a0) { return { value: a0 }; };
9458
9463
  const _c1$3 = ["*"];
9459
9464
  const accordionItemBodyTrigger = trigger('accordionItemBody', [
9460
9465
  state('collapsed', style({
@@ -9492,7 +9497,7 @@ class DrAccordionItemBodyComponent {
9492
9497
  i0.ɵɵprojection(2);
9493
9498
  i0.ɵɵelementEnd()();
9494
9499
  } if (rf & 2) {
9495
- i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$9, ctx.state));
9500
+ i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$a, ctx.state));
9496
9501
  } }, styles: [".item-body[_ngcontent-%COMP%]{flex:1;-ms-flex:1 1 auto;overflow:auto;position:relative}"], data: { animation: [accordionItemBodyTrigger] }, changeDetection: 0 }); }
9497
9502
  }
9498
9503
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAccordionItemBodyComponent, [{
@@ -9508,13 +9513,13 @@ class DrAccordionItemBodyComponent {
9508
9513
  type: Host
9509
9514
  }] }, { type: i0.ChangeDetectorRef }]; }, null); })();
9510
9515
 
9511
- const _c0$8 = [[["dr-layout-header"]], [["dr-layout-body"]]];
9516
+ const _c0$9 = [[["dr-layout-header"]], [["dr-layout-body"]]];
9512
9517
  const _c1$2 = ["dr-layout-header", "dr-layout-body"];
9513
9518
  class DrLayoutComponent {
9514
9519
  constructor() { }
9515
9520
  /** @nocollapse */ static { this.ɵfac = function DrLayoutComponent_Factory(t) { return new (t || DrLayoutComponent)(); }; }
9516
9521
  /** @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) {
9517
- i0.ɵɵprojectionDef(_c0$8);
9522
+ i0.ɵɵprojectionDef(_c0$9);
9518
9523
  i0.ɵɵelementStart(0, "div", 0);
9519
9524
  i0.ɵɵprojection(1);
9520
9525
  i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3);
@@ -9527,11 +9532,11 @@ class DrLayoutComponent {
9527
9532
  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"] }]
9528
9533
  }], function () { return []; }, null); })();
9529
9534
 
9530
- const _c0$7 = ["*"];
9535
+ const _c0$8 = ["*"];
9531
9536
  class DrLayoutHeaderComponent {
9532
9537
  constructor() { }
9533
9538
  /** @nocollapse */ static { this.ɵfac = function DrLayoutHeaderComponent_Factory(t) { return new (t || DrLayoutHeaderComponent)(); }; }
9534
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$7, decls: 2, vars: 0, template: function DrLayoutHeaderComponent_Template(rf, ctx) { if (rf & 1) {
9539
+ /** @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) {
9535
9540
  i0.ɵɵprojectionDef();
9536
9541
  i0.ɵɵelementStart(0, "nav");
9537
9542
  i0.ɵɵprojection(1);
@@ -9550,11 +9555,11 @@ class DrLayoutHeaderComponent {
9550
9555
  }]
9551
9556
  }], function () { return []; }, null); })();
9552
9557
 
9553
- const _c0$6 = ["*"];
9558
+ const _c0$7 = ["*"];
9554
9559
  class DrLayoutBodyComponent {
9555
9560
  constructor() { }
9556
9561
  /** @nocollapse */ static { this.ɵfac = function DrLayoutBodyComponent_Factory(t) { return new (t || DrLayoutBodyComponent)(); }; }
9557
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$6, decls: 1, vars: 0, template: function DrLayoutBodyComponent_Template(rf, ctx) { if (rf & 1) {
9562
+ /** @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) {
9558
9563
  i0.ɵɵprojectionDef();
9559
9564
  i0.ɵɵprojection(0);
9560
9565
  } }, encapsulation: 2 }); }
@@ -9576,7 +9581,7 @@ function DrDetailsListComponent_li_5_Template(rf, ctx) { if (rf & 1) {
9576
9581
  i0.ɵɵadvance(1);
9577
9582
  i0.ɵɵtextInterpolate(item_r1);
9578
9583
  } }
9579
- const _c0$5 = function (a0) { return { value: a0 }; };
9584
+ const _c0$6 = function (a0) { return { value: a0 }; };
9580
9585
  class DrDetailsListComponent {
9581
9586
  set items(val) {
9582
9587
  if (!val) {
@@ -9623,7 +9628,7 @@ class DrDetailsListComponent {
9623
9628
  i0.ɵɵadvance(1);
9624
9629
  i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
9625
9630
  i0.ɵɵadvance(1);
9626
- i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$5, ctx.state));
9631
+ i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$6, ctx.state));
9627
9632
  i0.ɵɵadvance(1);
9628
9633
  i0.ɵɵproperty("ngForOf", ctx.list);
9629
9634
  } }, 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: [
@@ -9667,7 +9672,7 @@ class DrDetailsListComponent {
9667
9672
  type: Input
9668
9673
  }] }); })();
9669
9674
 
9670
- const _c0$4 = ["content"];
9675
+ const _c0$5 = ["content"];
9671
9676
  function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
9672
9677
  const _r7 = i0.ɵɵgetCurrentView();
9673
9678
  i0.ɵɵelementStart(0, "i", 10);
@@ -9844,7 +9849,7 @@ class DialogWrapperComponent {
9844
9849
  }
9845
9850
  /** @nocollapse */ static { this.ɵfac = function DialogWrapperComponent_Factory(t) { return new (t || DialogWrapperComponent)(i0.ɵɵdirectiveInject(i1$7.MatLegacyDialogRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(MAT_LEGACY_DIALOG_DATA)); }; }
9846
9851
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DialogWrapperComponent, selectors: [["dr-dialog-wrapper"]], viewQuery: function DialogWrapperComponent_Query(rf, ctx) { if (rf & 1) {
9847
- i0.ɵɵviewQuery(_c0$4, 5, ViewContainerRef);
9852
+ i0.ɵɵviewQuery(_c0$5, 5, ViewContainerRef);
9848
9853
  } if (rf & 2) {
9849
9854
  let _t;
9850
9855
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
@@ -10044,7 +10049,7 @@ function DialogModalWrapperComponent_form_7_div_2_label_9_Template(rf, ctx) { if
10044
10049
  i0.ɵɵadvance(1);
10045
10050
  i0.ɵɵtextInterpolate1(" ", ctx_r19.dialogData.serverErrorMessage, " ");
10046
10051
  } }
10047
- const _c0$3 = function (a0) { return { display: a0 }; };
10052
+ const _c0$4 = function (a0) { return { display: a0 }; };
10048
10053
  const _c1 = function (a0, a1) { return { "col-md-10": a0, "col-md-12": a1 }; };
10049
10054
  function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1) {
10050
10055
  i0.ɵɵelementStart(0, "div", 16);
@@ -10062,7 +10067,7 @@ function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1
10062
10067
  const field_r11 = ctx.$implicit;
10063
10068
  const ctx_r10 = i0.ɵɵnextContext(2);
10064
10069
  i0.ɵɵclassMap(field_r11.formGroupClass);
10065
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$3, field_r11.isLabelFullWidth ? "block" : "flex"));
10070
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$4, field_r11.isLabelFullWidth ? "block" : "flex"));
10066
10071
  i0.ɵɵadvance(1);
10067
10072
  i0.ɵɵproperty("ngIf", field_r11.label && field_r11.type !== ctx_r10.dialogFieldType.CHECKBOX);
10068
10073
  i0.ɵɵadvance(1);
@@ -10744,7 +10749,7 @@ function TreeviewItemComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
10744
10749
  i0.ɵɵadvance(1);
10745
10750
  i0.ɵɵproperty("ngForOf", ctx_r2.item.children);
10746
10751
  } }
10747
- const _c0$2 = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
10752
+ const _c0$3 = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
10748
10753
  function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
10749
10754
  i0.ɵɵelementStart(0, "div", 1);
10750
10755
  i0.ɵɵtemplate(1, TreeviewItemComponent_div_0_ng_template_1_Template, 0, 0, "ng-template", 2);
@@ -10753,7 +10758,7 @@ function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
10753
10758
  } if (rf & 2) {
10754
10759
  const ctx_r0 = i0.ɵɵnextContext();
10755
10760
  i0.ɵɵadvance(1);
10756
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$2, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
10761
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$3, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
10757
10762
  i0.ɵɵadvance(1);
10758
10763
  i0.ɵɵproperty("ngIf", !ctx_r0.item.collapsed);
10759
10764
  } }
@@ -11856,7 +11861,7 @@ class DrImageCropperCanvasService {
11856
11861
  type: Injectable
11857
11862
  }], null, null); })();
11858
11863
 
11859
- const _c0$1 = ["imageCanvas"];
11864
+ const _c0$2 = ["imageCanvas"];
11860
11865
  class DrImageCropperComponent {
11861
11866
  constructor(canvasService) {
11862
11867
  this.canvasService = canvasService;
@@ -11914,7 +11919,7 @@ class DrImageCropperComponent {
11914
11919
  }
11915
11920
  /** @nocollapse */ static { this.ɵfac = function DrImageCropperComponent_Factory(t) { return new (t || DrImageCropperComponent)(i0.ɵɵdirectiveInject(DrImageCropperCanvasService)); }; }
11916
11921
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrImageCropperComponent, selectors: [["dr-image-cropper"]], viewQuery: function DrImageCropperComponent_Query(rf, ctx) { if (rf & 1) {
11917
- i0.ɵɵviewQuery(_c0$1, 7);
11922
+ i0.ɵɵviewQuery(_c0$2, 7);
11918
11923
  } if (rf & 2) {
11919
11924
  let _t;
11920
11925
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.canvasElement = _t.first);
@@ -12330,13 +12335,13 @@ function DrChipComponent_i_4_Template(rf, ctx) { if (rf & 1) {
12330
12335
  i0.ɵɵlistener("click", function DrChipComponent_i_4_Template_i_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.remove.next(null)); });
12331
12336
  i0.ɵɵelementEnd();
12332
12337
  } }
12333
- const _c0 = ["*"];
12338
+ const _c0$1 = ["*"];
12334
12339
  class DrChipComponent {
12335
12340
  constructor() {
12336
12341
  this.remove = new EventEmitter();
12337
12342
  }
12338
12343
  /** @nocollapse */ static { this.ɵfac = function DrChipComponent_Factory(t) { return new (t || DrChipComponent)(); }; }
12339
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChipComponent, selectors: [["dr-chip"]], inputs: { label: "label", icon: "icon", removable: "removable" }, outputs: { remove: "remove" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0, decls: 5, vars: 4, consts: [["class", "chip__icon", 3, "class", 4, "ngIf"], [1, "chip__label"], [4, "ngIf"], ["class", "chip__remove dr-icon-exit", 3, "click", 4, "ngIf"], [1, "chip__icon"], [1, "chip__remove", "dr-icon-exit", 3, "click"]], template: function DrChipComponent_Template(rf, ctx) { if (rf & 1) {
12344
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChipComponent, selectors: [["dr-chip"]], inputs: { label: "label", icon: "icon", removable: "removable" }, outputs: { remove: "remove" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$1, decls: 5, vars: 4, consts: [["class", "chip__icon", 3, "class", 4, "ngIf"], [1, "chip__label"], [4, "ngIf"], ["class", "chip__remove dr-icon-exit", 3, "click", 4, "ngIf"], [1, "chip__icon"], [1, "chip__remove", "dr-icon-exit", 3, "click"]], template: function DrChipComponent_Template(rf, ctx) { if (rf & 1) {
12340
12345
  i0.ɵɵprojectionDef();
12341
12346
  i0.ɵɵtemplate(0, DrChipComponent_i_0_Template, 1, 2, "i", 0);
12342
12347
  i0.ɵɵelementStart(1, "div", 1);
@@ -12367,11 +12372,475 @@ class DrChipComponent {
12367
12372
  type: Output
12368
12373
  }] }); })();
12369
12374
 
12375
+ /**
12376
+ * Configuration used when opening a drawer.
12377
+ */
12378
+ class DrawerConfig {
12379
+ constructor() {
12380
+ /** Data being injected into the child component. */
12381
+ this.data = null;
12382
+ /** Whether the drawer has a backdrop. */
12383
+ this.hasBackdrop = false;
12384
+ /** Whether the user can use escape or clicking outside to close the drawer. */
12385
+ this.disableClose = false;
12386
+ /** Aria label to assign to the drawer element. */
12387
+ this.ariaLabel = null;
12388
+ /**
12389
+ * Whether the drawer should close when the user goes backwards/forwards in history.
12390
+ * Note that this usually doesn't include clicking on links (unless the user is using
12391
+ * the `HashLocationStrategy`).
12392
+ */
12393
+ this.closeOnNavigation = true;
12394
+ /**
12395
+ * Where the drawer should focus on open.
12396
+ * @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or
12397
+ * AutoFocusTarget instead.
12398
+ */
12399
+ this.autoFocus = 'first-tabbable';
12400
+ /**
12401
+ * Whether the drawer should restore focus to the
12402
+ * previously-focused element, after it's closed.
12403
+ */
12404
+ this.restoreFocus = true;
12405
+ /** Position of the drawer. */
12406
+ this.position = 'bottom';
12407
+ }
12408
+ }
12409
+
12410
+ /** Animations used by the drawer. */
12411
+ const drDrawerAnimations = {
12412
+ /** Animation that shows and hides a drawer. */
12413
+ drawerState: trigger('state', [
12414
+ state('void, hidden', style({
12415
+ 'box-shadow': 'none',
12416
+ visibility: 'hidden',
12417
+ })),
12418
+ state('visible', style({
12419
+ transform: 'none',
12420
+ visibility: 'visible',
12421
+ })),
12422
+ transition('visible => void, visible => hidden', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')),
12423
+ transition('void => visible', animate('150ms cubic-bezier(0, 0, 0.2, 1)')),
12424
+ ]),
12425
+ };
12426
+
12427
+ class BottomPositionStrategy {
12428
+ extractMousePosition(event) {
12429
+ return event.clientY;
12430
+ }
12431
+ calculateTransform(currentPosition, containerPosition) {
12432
+ return currentPosition > containerPosition
12433
+ ? `translate3d(0px, ${currentPosition - containerPosition}px, 0px)`
12434
+ : `translate3d(0px, 0px, 0px)`;
12435
+ }
12436
+ shouldClose(currentPosition, initPosition, lastPosition) {
12437
+ return Math.abs(currentPosition - initPosition) <= currentPosition - lastPosition;
12438
+ }
12439
+ }
12440
+
12441
+ const _c0 = ["handleRef"];
12442
+ function DrawerContainer_div_0_Template(rf, ctx) { if (rf & 1) {
12443
+ i0.ɵɵelement(0, "div", 2, 3);
12444
+ } }
12445
+ function DrawerContainer_ng_template_1_Template(rf, ctx) { }
12446
+ /**
12447
+ * Internal component that wraps user-provided drawer content.
12448
+ * @docs-private
12449
+ */
12450
+ class DrawerContainer extends CdkDialogContainer {
12451
+ get _drawerPosition() {
12452
+ return `dr-drawer-${this._config.position}`;
12453
+ }
12454
+ constructor(elementRef, focusTrapFactory, document, config, checker, ngZone, overlayRef, focusMonitor) {
12455
+ super(elementRef, focusTrapFactory, document, config, checker, ngZone, overlayRef, focusMonitor);
12456
+ this.overlayRef = overlayRef;
12457
+ /** The state of the drawer animations. */
12458
+ this._animationState = 'void';
12459
+ /** Emits whenever the state of the animation changes. */
12460
+ this._animationStateChanged = new EventEmitter();
12461
+ /** Whether the component has been destroyed. */
12462
+ this._destroyed = false;
12463
+ this._changeDetectorRef = inject(ChangeDetectorRef);
12464
+ this.destroy$ = new Subject();
12465
+ }
12466
+ _contentAttached() {
12467
+ // Delegate to the original dialog-container initialization (i.e. saving the
12468
+ // previous element, setting up the focus trap and moving focus to the container).
12469
+ super._contentAttached();
12470
+ this.enter();
12471
+ }
12472
+ /** Begin animation of bottom sheet entrance into view. */
12473
+ enter() {
12474
+ if (!this._destroyed) {
12475
+ this._animationState = 'visible';
12476
+ this._changeDetectorRef.markForCheck();
12477
+ this._changeDetectorRef.detectChanges();
12478
+ }
12479
+ }
12480
+ /** Begin animation of the bottom sheet exiting from view. */
12481
+ exit() {
12482
+ this._elementRef.nativeElement.style.transition = undefined;
12483
+ if (!this._destroyed) {
12484
+ this._animationState = 'hidden';
12485
+ this._changeDetectorRef.markForCheck();
12486
+ }
12487
+ }
12488
+ ngAfterViewInit() {
12489
+ this.positionStrategy = this.resolvePositionStrategy();
12490
+ if (this.positionStrategy) {
12491
+ this.setupDragListener();
12492
+ }
12493
+ }
12494
+ resolvePositionStrategy() {
12495
+ switch (this._config.position) {
12496
+ case 'bottom':
12497
+ return new BottomPositionStrategy();
12498
+ }
12499
+ }
12500
+ setupDragListener() {
12501
+ const mousedown$ = fromEvent(this._handleRef.nativeElement, 'mousedown');
12502
+ const mousemove$ = fromEvent(document, 'mousemove');
12503
+ const mouseup$ = fromEvent(document, 'mouseup');
12504
+ let lastPosition = 0;
12505
+ let initPosition = 0;
12506
+ let currentPosition = 0;
12507
+ const container = this._elementRef.nativeElement;
12508
+ setTimeout(() => {
12509
+ lastPosition = this.getContainerPosition(container);
12510
+ initPosition = lastPosition;
12511
+ });
12512
+ mousedown$
12513
+ .pipe(switchMap$1(() => mousemove$.pipe(finalize$1(() => {
12514
+ const container = this._elementRef.nativeElement;
12515
+ if (this.positionStrategy.shouldClose(currentPosition, initPosition, lastPosition)) {
12516
+ this.overlayRef.dispose();
12517
+ return;
12518
+ }
12519
+ container.style.transition = 'transform 0.5s cubic-bezier(0.32, 0.72, 0, 1)';
12520
+ container.style.transform = `translate3d(0px, 0px, 0px)`;
12521
+ }), takeUntil$1(mouseup$))), map$2((event) => this.positionStrategy.extractMousePosition(event)), distinctUntilChanged$1(), tap$1((position) => {
12522
+ let containerPosition = this.getContainerPosition(container);
12523
+ containerPosition = Math.min(containerPosition, lastPosition);
12524
+ lastPosition = Math.min(containerPosition, lastPosition);
12525
+ currentPosition = position;
12526
+ container.style.transition = 'none';
12527
+ container.style.transform = this.positionStrategy.calculateTransform(position, containerPosition);
12528
+ }), takeUntil$1(this.destroy$))
12529
+ .subscribe();
12530
+ }
12531
+ getContainerPosition(container) {
12532
+ return this._config.position === 'bottom' || this._config.position === 'top'
12533
+ ? container.getBoundingClientRect().top
12534
+ : container.getBoundingClientRect().left;
12535
+ }
12536
+ ngOnDestroy() {
12537
+ super.ngOnDestroy();
12538
+ this.destroy$.next();
12539
+ this.destroy$.complete();
12540
+ this._destroyed = true;
12541
+ }
12542
+ _onAnimationDone(event) {
12543
+ if (event.toState === 'visible') {
12544
+ this._trapFocus();
12545
+ }
12546
+ this._animationStateChanged.emit(event);
12547
+ }
12548
+ _onAnimationStart(event) {
12549
+ this._animationStateChanged.emit(event);
12550
+ }
12551
+ _captureInitialFocus() { }
12552
+ /** @nocollapse */ static { this.ɵfac = function DrawerContainer_Factory(t) { return new (t || DrawerContainer)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$9.FocusTrapFactory), i0.ɵɵdirectiveInject(DOCUMENT, 8), i0.ɵɵdirectiveInject(DrawerConfig), i0.ɵɵdirectiveInject(i1$9.InteractivityChecker), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.OverlayRef), i0.ɵɵdirectiveInject(i1$9.FocusMonitor)); }; }
12553
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrawerContainer, selectors: [["dr-drawer-container"]], viewQuery: function DrawerContainer_Query(rf, ctx) { if (rf & 1) {
12554
+ i0.ɵɵviewQuery(CdkPortalOutlet, 7);
12555
+ i0.ɵɵviewQuery(_c0, 5);
12556
+ } if (rf & 2) {
12557
+ let _t;
12558
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._portalOutlet = _t.first);
12559
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._handleRef = _t.first);
12560
+ } }, hostAttrs: ["tabindex", "-1", 1, "dr-drawer-container"], hostVars: 7, hostBindings: function DrawerContainer_HostBindings(rf, ctx) { if (rf & 1) {
12561
+ i0.ɵɵsyntheticHostListener("@state.start", function DrawerContainer_animation_state_start_HostBindingHandler($event) { return ctx._onAnimationStart($event); })("@state.done", function DrawerContainer_animation_state_done_HostBindingHandler($event) { return ctx._onAnimationDone($event); });
12562
+ } if (rf & 2) {
12563
+ i0.ɵɵhostProperty("id", ctx._config.id);
12564
+ i0.ɵɵattribute("role", ctx._config.role)("aria-modal", ctx._config.isModal)("aria-label", ctx._config.ariaLabel);
12565
+ i0.ɵɵsyntheticHostProperty("@state", ctx._animationState);
12566
+ i0.ɵɵclassMap(ctx._drawerPosition);
12567
+ } }, standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 2, vars: 1, consts: [["class", "handle", 4, "ngIf"], ["cdkPortalOutlet", ""], [1, "handle"], ["handleRef", ""]], template: function DrawerContainer_Template(rf, ctx) { if (rf & 1) {
12568
+ i0.ɵɵtemplate(0, DrawerContainer_div_0_Template, 2, 0, "div", 0);
12569
+ i0.ɵɵtemplate(1, DrawerContainer_ng_template_1_Template, 0, 0, "ng-template", 1);
12570
+ } if (rf & 2) {
12571
+ i0.ɵɵproperty("ngIf", ctx._config.position === "bottom");
12572
+ } }, dependencies: [PortalModule, i4.CdkPortalOutlet, DialogModule, MatCommonModule, CommonModule, i1.NgIf], styles: [".dr-drawer-container{display:block;width:100%;overflow:auto;outline:0;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 14px #d8d9de80}.cdk-high-contrast-active .dr-drawer-container{outline:1px solid}.handle{position:relative;height:24px;cursor:pointer}.handle:after{content:\"\";position:absolute;top:16px;left:50%;transform:translate(-50%,-50%);background-color:#dfe0e3;height:4px;width:64px;border-radius:16px}.dr-drawer-right{transform:translate(100%);border-top-left-radius:16px;border-bottom-left-radius:16px}.dr-drawer-left{transform:translate(-100%);border-top-right-radius:16px;border-bottom-right-radius:16px}.dr-drawer-bottom{transform:translateY(100%);border-top-left-radius:16px;border-top-right-radius:16px}.dr-drawer-top{transform:translateY(-100%);border-bottom-left-radius:16px;border-bottom-right-radius:16px}\n"], encapsulation: 2, data: { animation: [drDrawerAnimations.drawerState] } }); }
12573
+ }
12574
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerContainer, [{
12575
+ type: Component,
12576
+ args: [{ selector: 'dr-drawer-container', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, animations: [drDrawerAnimations.drawerState], host: {
12577
+ class: 'dr-drawer-container',
12578
+ '[class]': '_drawerPosition',
12579
+ tabindex: '-1',
12580
+ '[id]': '_config.id',
12581
+ '[attr.role]': '_config.role',
12582
+ '[attr.aria-modal]': '_config.isModal',
12583
+ '[attr.aria-label]': '_config.ariaLabel',
12584
+ '[@state]': '_animationState',
12585
+ '(@state.start)': '_onAnimationStart($event)',
12586
+ '(@state.done)': '_onAnimationDone($event)',
12587
+ }, standalone: true, imports: [PortalModule, DialogModule, MatCommonModule, CommonModule], template: "<div *ngIf=\"_config.position === 'bottom'\" #handleRef class=\"handle\"></div>\n<ng-template cdkPortalOutlet></ng-template>\n", styles: [".dr-drawer-container{display:block;width:100%;overflow:auto;outline:0;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 14px #d8d9de80}.cdk-high-contrast-active .dr-drawer-container{outline:1px solid}.handle{position:relative;height:24px;cursor:pointer}.handle:after{content:\"\";position:absolute;top:16px;left:50%;transform:translate(-50%,-50%);background-color:#dfe0e3;height:4px;width:64px;border-radius:16px}.dr-drawer-right{transform:translate(100%);border-top-left-radius:16px;border-bottom-left-radius:16px}.dr-drawer-left{transform:translate(-100%);border-top-right-radius:16px;border-bottom-right-radius:16px}.dr-drawer-bottom{transform:translateY(100%);border-top-left-radius:16px;border-top-right-radius:16px}.dr-drawer-top{transform:translateY(-100%);border-bottom-left-radius:16px;border-bottom-right-radius:16px}\n"] }]
12588
+ }], function () { return [{ type: i0.ElementRef }, { type: i1$9.FocusTrapFactory }, { type: Document, decorators: [{
12589
+ type: Optional
12590
+ }, {
12591
+ type: Inject,
12592
+ args: [DOCUMENT]
12593
+ }] }, { type: DrawerConfig }, { type: i1$9.InteractivityChecker }, { type: i0.NgZone }, { type: i1$1.OverlayRef }, { type: i1$9.FocusMonitor }]; }, { _portalOutlet: [{
12594
+ type: ViewChild,
12595
+ args: [CdkPortalOutlet, { static: true }]
12596
+ }], _handleRef: [{
12597
+ type: ViewChild,
12598
+ args: ['handleRef']
12599
+ }] }); })();
12600
+
12601
+ /**
12602
+ * Reference to a drawer dispatched from the drawer service.
12603
+ */
12604
+ class DrawerRef {
12605
+ /** Instance of the component making up the content of the drawer. */
12606
+ get instance() {
12607
+ return this._ref.componentInstance;
12608
+ }
12609
+ /**
12610
+ * `ComponentRef` of the component opened into the drawer. Will be
12611
+ * null when the drawer is opened using a `TemplateRef`.
12612
+ */
12613
+ get componentRef() {
12614
+ return this._ref.componentRef;
12615
+ }
12616
+ constructor(_ref, config, containerInstance) {
12617
+ this._ref = _ref;
12618
+ /** Subject for notifying the user that the drawer has been dismissed. */
12619
+ this._afterDismissed = new Subject();
12620
+ /** Subject for notifying the user that the drawer has opened and appeared. */
12621
+ this._afterOpened = new Subject();
12622
+ this.containerInstance = containerInstance;
12623
+ this.disableClose = config.disableClose;
12624
+ this.id = _ref.id;
12625
+ // Emit when opening animation completes
12626
+ containerInstance._animationStateChanged
12627
+ .pipe(filter((event) => event.phaseName === 'done' && event.toState === 'visible'), take(1))
12628
+ .subscribe(() => {
12629
+ this._afterOpened.next();
12630
+ this._afterOpened.complete();
12631
+ });
12632
+ // Dispose overlay when closing animation is complete
12633
+ containerInstance._animationStateChanged
12634
+ .pipe(filter((event) => event.phaseName === 'done' && event.toState === 'hidden'), take(1))
12635
+ .subscribe(() => {
12636
+ clearTimeout(this._closeFallbackTimeout);
12637
+ this._ref.close(this._result);
12638
+ });
12639
+ _ref.overlayRef.detachments().subscribe(() => {
12640
+ this._ref.close(this._result);
12641
+ });
12642
+ merge$1(this.backdropClick(), this.keydownEvents().pipe(filter((event) => event.keyCode === ESCAPE))).subscribe((event) => {
12643
+ if (!this.disableClose && (event.type !== 'keydown' || !hasModifierKey(event))) {
12644
+ event.preventDefault();
12645
+ this.dismiss();
12646
+ }
12647
+ });
12648
+ }
12649
+ /**
12650
+ * Dismisses the drawer.
12651
+ * @param result Data to be passed back to the drawer opener.
12652
+ */
12653
+ dismiss(result) {
12654
+ if (this.containerInstance && !this._afterDismissed.closed) {
12655
+ // Transition the backdrop in parallel to the drawer.
12656
+ this.containerInstance._animationStateChanged
12657
+ .pipe(filter((event) => event.phaseName === 'start'), take(1))
12658
+ .subscribe((event) => {
12659
+ // The logic that disposes of the overlay depends on the exit animation completing, however
12660
+ // it isn't guaranteed if the parent view is destroyed while it's running. Add a fallback
12661
+ // timeout which will clean everything up if the animation hasn't fired within the specified
12662
+ // amount of time plus 100ms. We don't need to run this outside the NgZone, because for the
12663
+ // vast majority of cases the timeout will have been cleared before it has fired.
12664
+ this._closeFallbackTimeout = setTimeout(() => {
12665
+ this._ref.close(this._result);
12666
+ }, event.totalTime + 100);
12667
+ this._ref.overlayRef.detachBackdrop();
12668
+ });
12669
+ this._result = result;
12670
+ this.containerInstance.exit();
12671
+ this.containerInstance = null;
12672
+ }
12673
+ }
12674
+ /** Gets an observable that is notified when the drawer is finished closing. */
12675
+ afterDismissed() {
12676
+ return this._ref.closed;
12677
+ }
12678
+ /** Gets an observable that is notified when the drawer has opened and appeared. */
12679
+ afterOpened() {
12680
+ return this._afterOpened;
12681
+ }
12682
+ /**
12683
+ * Gets an observable that emits when the overlay's backdrop has been clicked.
12684
+ */
12685
+ backdropClick() {
12686
+ return this._ref.backdropClick;
12687
+ }
12688
+ /**
12689
+ * Gets an observable that emits when keydown events are targeted on the overlay.
12690
+ */
12691
+ keydownEvents() {
12692
+ return this._ref.keydownEvents;
12693
+ }
12694
+ }
12695
+
12696
+ /** Injection token that can be used to access the data that was passed in to a drawer. */
12697
+ const DR_DRAWER_DATA = new InjectionToken('DrDrawerData');
12698
+ /** Injection token that can be used to specify default drawer options. */
12699
+ const DR_DRAWER_DEFAULT_OPTIONS = new InjectionToken('dr-drawer-default-options');
12700
+ // Counter for unique drawer ids.
12701
+ let uniqueId = 0;
12702
+ /**
12703
+ * Service to trigger Material Design bottom sheets.
12704
+ */
12705
+ class Drawer {
12706
+ /** Keeps track of the currently-open dialogs. */
12707
+ get openDrawers() {
12708
+ return this._parentDrawer ? this._parentDrawer.openDrawers : this._openDrawersAtThisLevel;
12709
+ }
12710
+ /** Stream that emits when a drawer has been opened. */
12711
+ get afterOpened() {
12712
+ return this._parentDrawer ? this._parentDrawer.afterOpened : this._afterOpenedAtThisLevel;
12713
+ }
12714
+ _getAfterAllDismissed() {
12715
+ const parent = this._parentDrawer;
12716
+ return parent ? parent._getAfterAllDismissed() : this._afterAllDismissedAtThisLevel;
12717
+ }
12718
+ constructor(_overlay, _injector, _parentDrawer, _defaultOptions) {
12719
+ this._overlay = _overlay;
12720
+ this._injector = _injector;
12721
+ this._parentDrawer = _parentDrawer;
12722
+ this._defaultOptions = _defaultOptions;
12723
+ this._openDrawersAtThisLevel = [];
12724
+ this._afterAllDismissedAtThisLevel = new Subject();
12725
+ this._afterOpenedAtThisLevel = new Subject();
12726
+ /**
12727
+ * Stream that emits when all open drawer have finished closing.
12728
+ * Will emit on subscribe if there are no open drawers to begin with.
12729
+ */
12730
+ this.afterAllDismissed = defer(() => this.openDrawers.length ? this._getAfterAllDismissed() : this._getAfterAllDismissed().pipe(startWith(undefined)));
12731
+ this._dialog = _injector.get(Dialog);
12732
+ }
12733
+ open(componentOrTemplateRef, config) {
12734
+ let drawerRef;
12735
+ const _config = { ...(this._defaultOptions || new DrawerConfig()), ...config };
12736
+ _config.id = _config.id || `dr-drawer-${uniqueId++}`;
12737
+ _config.width =
12738
+ _config.position === 'left' || _config.position === 'right' ? coerceCssPixelValue(_config.width) : '100vw';
12739
+ _config.height =
12740
+ _config.position === 'top' || _config.position === 'bottom' ? coerceCssPixelValue(_config.height) : '100vh';
12741
+ this._dialog.open(componentOrTemplateRef, {
12742
+ ..._config,
12743
+ // Disable closing since we need to sync it up to the animation ourselves.
12744
+ disableClose: true,
12745
+ // Disable closing on detachments so that we can sync up the animation.
12746
+ closeOnOverlayDetachments: false,
12747
+ container: {
12748
+ type: DrawerContainer,
12749
+ providers: () => [
12750
+ // Provide our config as the CDK config as well since it has the same interface as the
12751
+ // CDK one, but it contains the actual values passed in by the user for things like
12752
+ // `disableClose` which we disable for the CDK dialog since we handle it ourselves.
12753
+ { provide: DrawerConfig, useValue: _config },
12754
+ { provide: DialogConfig, useValue: _config },
12755
+ ],
12756
+ },
12757
+ scrollStrategy: _config.scrollStrategy || this._overlay.scrollStrategies.block(),
12758
+ positionStrategy: this._overlay.position().global()[_config.position]('0'),
12759
+ templateContext: () => ({ drawerRef }),
12760
+ providers: (cdkRef, _cdkConfig, container) => {
12761
+ drawerRef = new DrawerRef(cdkRef, _config, container);
12762
+ return [
12763
+ { provide: DrawerRef, useValue: drawerRef },
12764
+ { provide: DR_DRAWER_DATA, useValue: _config.data },
12765
+ ];
12766
+ },
12767
+ });
12768
+ this.openDrawers.push(drawerRef);
12769
+ this.afterOpened.next(drawerRef);
12770
+ drawerRef.afterDismissed().subscribe(() => {
12771
+ const index = this.openDrawers.indexOf(drawerRef);
12772
+ if (index > -1) {
12773
+ this.openDrawers.splice(index, 1);
12774
+ if (!this.openDrawers.length) {
12775
+ this._getAfterAllDismissed().next();
12776
+ }
12777
+ }
12778
+ });
12779
+ return drawerRef;
12780
+ }
12781
+ /**
12782
+ * Dismisses all of the currently-open drawers.
12783
+ */
12784
+ dismissAll() {
12785
+ this._dismissDrawers(this.openDrawers);
12786
+ }
12787
+ /**
12788
+ * Finds an open drawer by its id.
12789
+ * @param id ID to use when looking up the drawer.
12790
+ */
12791
+ getDrawerById(id) {
12792
+ return this.openDrawers.find((drawer) => drawer.id === id);
12793
+ }
12794
+ ngOnDestroy() {
12795
+ // Only dismiss the drawers at this level on destroy
12796
+ // since the parent service may still be active.
12797
+ this._dismissDrawers(this._openDrawersAtThisLevel);
12798
+ this._afterAllDismissedAtThisLevel.complete();
12799
+ this._afterOpenedAtThisLevel.complete();
12800
+ }
12801
+ _dismissDrawers(drawers) {
12802
+ let i = drawers.length;
12803
+ while (i--) {
12804
+ drawers[i].dismiss();
12805
+ }
12806
+ }
12807
+ /** @nocollapse */ static { this.ɵfac = function Drawer_Factory(t) { return new (t || Drawer)(i0.ɵɵinject(i1$1.Overlay), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(Drawer, 12), i0.ɵɵinject(DR_DRAWER_DEFAULT_OPTIONS, 8)); }; }
12808
+ /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Drawer, factory: Drawer.ɵfac, providedIn: 'root' }); }
12809
+ }
12810
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Drawer, [{
12811
+ type: Injectable,
12812
+ args: [{ providedIn: 'root' }]
12813
+ }], function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: Drawer, decorators: [{
12814
+ type: Optional
12815
+ }, {
12816
+ type: SkipSelf
12817
+ }] }, { type: DrawerConfig, decorators: [{
12818
+ type: Optional
12819
+ }, {
12820
+ type: Inject,
12821
+ args: [DR_DRAWER_DEFAULT_OPTIONS]
12822
+ }] }]; }, null); })();
12823
+
12824
+ class DrawerModule {
12825
+ /** @nocollapse */ static { this.ɵfac = function DrawerModule_Factory(t) { return new (t || DrawerModule)(); }; }
12826
+ /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: DrawerModule }); }
12827
+ /** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [Drawer], imports: [DrawerContainer] }); }
12828
+ }
12829
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerModule, [{
12830
+ type: NgModule,
12831
+ args: [{
12832
+ imports: [DrawerContainer],
12833
+ exports: [DrawerContainer],
12834
+ providers: [Drawer],
12835
+ }]
12836
+ }], null, null); })();
12837
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { imports: [DrawerContainer], exports: [DrawerContainer] }); })();
12838
+
12370
12839
  /* components */
12371
12840
 
12372
12841
  /**
12373
12842
  * Generated bundle index. Do not edit.
12374
12843
  */
12375
12844
 
12376
- export { AnyTagComponent, BadgeStatus, CHAT_MESSAGE_TYPE, CROP_IMAGE_MODES, CalendarView, ChatMessage, ChatRole, CheckboxComponent, ClickOutsideDirective, ClickOutsideModule, CodeEditorHintWrapperComponent, CustomDateAdapter, CustomDateFormat, DEFAULT_LINK_FONT_SIZE, DEFAULT_LINK_FONT_WEIGHT, DIALOG_BUTTON_LABEL, DIALOG_FIELD_TYPE, DIALOG_SIZE, DataAnalyticsService, DateFromats, DatePickerPeriodPosition, DateTagComponent, DateTagModule, DateTags, DayTagComponent, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, DrBadgeStatusComponent, DrBadgeStatusModule, DrButtonComponent, DrChatAlertComponent, DrChatComponent, DrChatCustomMessageDirective, DrChatFormComponent, DrChatMessageComponent, DrChatMessageFileComponent, DrChatMessageTextComponent, DrChatModule, DrChatSuggestionsComponent, DrChipComponent, DrCodeEditorComponent, DrCodeEditorModule, DrCodemirrorComponent, DrDatePickerComponent, DrDatePickerCustomHeaderComponent, DrDatePickerFormatDirective, DrDatePickerRangeComponent, DrDatePickerWithTimeframeComponent, DrDetailsListComponent, DrDetailsListModule, DrDialogModule, DrDotFlashingComponent, DrDropdownChildDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemComponent, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownService, DrErrorComponent, DrErrorModule, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrScenarioConfigurationComponent, DrScenarioModule, DrScenarioTagConfigurationComponent, DrSelectAddItemComponent, DrSelectComponent, DrSharedUtils, DrShowTimeframePipe, DrSliderComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrStepperModule, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagModule, DrTagsConstructorComponent, DrTagsConstructorModule, DrToastrModule, DrToastrService, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, DropdownInstanceService, FeedbackSentiment, ForecastTagComponent, ForecastTagService, ICodeEditorHintIcon, IMAGE_TYPES, LinkTheme, ListTagComponent, ListTagModule, MonthTagComponent, OrderDownlineTreeviewEventParser, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, StepperComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth, TooltipPosition, TooltipTheme, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, WeekTagComponent, YearTagComponent };
12845
+ export { AnyTagComponent, BadgeStatus, CHAT_MESSAGE_TYPE, CROP_IMAGE_MODES, CalendarView, ChatMessage, ChatRole, CheckboxComponent, ClickOutsideDirective, ClickOutsideModule, CodeEditorHintWrapperComponent, CustomDateAdapter, CustomDateFormat, DEFAULT_LINK_FONT_SIZE, DEFAULT_LINK_FONT_WEIGHT, DIALOG_BUTTON_LABEL, DIALOG_FIELD_TYPE, DIALOG_SIZE, DR_DRAWER_DATA, DR_DRAWER_DEFAULT_OPTIONS, DataAnalyticsService, DateFromats, DatePickerPeriodPosition, DateTagComponent, DateTagModule, DateTags, DayTagComponent, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, DrBadgeStatusComponent, DrBadgeStatusModule, DrButtonComponent, DrChatAlertComponent, DrChatComponent, DrChatCustomMessageDirective, DrChatFormComponent, DrChatMessageComponent, DrChatMessageFileComponent, DrChatMessageTextComponent, DrChatModule, DrChatSuggestionsComponent, DrChipComponent, DrCodeEditorComponent, DrCodeEditorModule, DrCodemirrorComponent, DrDatePickerComponent, DrDatePickerCustomHeaderComponent, DrDatePickerFormatDirective, DrDatePickerRangeComponent, DrDatePickerWithTimeframeComponent, DrDetailsListComponent, DrDetailsListModule, DrDialogModule, DrDotFlashingComponent, DrDropdownChildDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemComponent, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownService, DrErrorComponent, DrErrorModule, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrScenarioConfigurationComponent, DrScenarioModule, DrScenarioTagConfigurationComponent, DrSelectAddItemComponent, DrSelectComponent, DrSharedUtils, DrShowTimeframePipe, DrSliderComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrStepperModule, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagModule, DrTagsConstructorComponent, DrTagsConstructorModule, DrToastrModule, DrToastrService, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, Drawer, DrawerConfig, DrawerContainer, DrawerModule, DrawerRef, DropdownInstanceService, FeedbackSentiment, ForecastTagComponent, ForecastTagService, ICodeEditorHintIcon, IMAGE_TYPES, LinkTheme, ListTagComponent, ListTagModule, MonthTagComponent, OrderDownlineTreeviewEventParser, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, StepperComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth, TooltipPosition, TooltipTheme, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, WeekTagComponent, YearTagComponent };
12377
12846
  //# sourceMappingURL=datarailsshared-datarailsshared.mjs.map