@datarailsshared/datarailsshared 1.6.338 → 1.6.342

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.
@@ -11,7 +11,7 @@ import { OverlayConfig, CdkOverlayOrigin, CdkConnectedOverlay } from '@angular/c
11
11
  import * as i4 from '@angular/cdk/portal';
12
12
  import { ComponentPortal, CdkPortalOutlet, PortalModule, TemplatePortal } from '@angular/cdk/portal';
13
13
  import { transition, style, animate, trigger, state } from '@angular/animations';
14
- import { BehaviorSubject, noop as noop$3, Subject, from, merge, fromEvent, Observable, distinctUntilChanged as distinctUntilChanged$1, startWith as startWith$1, delay, combineLatest, map as map$1, takeUntil as takeUntil$1, filter as filter$2, switchMap as switchMap$1, observeOn, asyncScheduler, withLatestFrom, first as first$1, interval, throwError, finalize as finalize$1, tap as tap$1, defer, firstValueFrom, throttleTime } from 'rxjs';
14
+ import { BehaviorSubject, noop as noop$3, Subject, from, merge, fromEvent, Observable, distinctUntilChanged as distinctUntilChanged$1, startWith as startWith$1, delay, combineLatest, map as map$1, takeUntil as takeUntil$1, filter as filter$2, switchMap as switchMap$1, observeOn, asyncScheduler, withLatestFrom, first as first$1, interval, throwError, tap as tap$1, finalize as finalize$1, EMPTY, defer, firstValueFrom, throttleTime } from 'rxjs';
15
15
  import { skip, debounceTime, filter, distinctUntilChanged, startWith, switchMap, takeUntil, map, tap, shareReplay, first, catchError, finalize, take } from 'rxjs/operators';
16
16
  import { provideNgxMask, NgxMaskDirective } from 'ngx-mask';
17
17
  import * as i3 from '@ng-select/ng-select';
@@ -89,7 +89,7 @@ function DrButtonComponent_i_4_Template(rf, ctx) { if (rf & 1) {
89
89
  i0.ɵɵclassMap(ctx_r2.iconAfter);
90
90
  i0.ɵɵstyleProp("font-size", ctx_r2.iconAfterSize)("color", ctx_r2.iconAfterColor || "inherit");
91
91
  } }
92
- const _c0$13 = ["*"];
92
+ const _c0$14 = ["*"];
93
93
  class DrButtonComponent {
94
94
  constructor() {
95
95
  this.theme = 'primary';
@@ -103,7 +103,7 @@ class DrButtonComponent {
103
103
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrButtonComponent, selectors: [["dr-button"]], hostVars: 12, hostBindings: function DrButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
104
104
  i0.ɵɵclassMap(ctx.theme);
105
105
  i0.ɵɵclassProp("with-icon", ctx.icon)("with-icon-after", ctx.iconAfter)("disabled", ctx.disabled)("loading", ctx.isLoading)("active", ctx.isActive);
106
- } }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$13, 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) {
106
+ } }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$14, 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) {
107
107
  i0.ɵɵprojectionDef();
108
108
  i0.ɵɵelementStart(0, "button", 0);
109
109
  i0.ɵɵtemplate(1, DrButtonComponent_i_1_Template, 1, 6, "i", 1);
@@ -376,7 +376,7 @@ var TooltipTheme;
376
376
  TooltipTheme["DARK"] = "dark";
377
377
  })(TooltipTheme || (TooltipTheme = {}));
378
378
 
379
- const _c0$12 = ["*"];
379
+ const _c0$13 = ["*"];
380
380
  class TooltipDefaultComponent {
381
381
  constructor() {
382
382
  this.theme = TooltipTheme.LIGHT;
@@ -384,7 +384,7 @@ class TooltipDefaultComponent {
384
384
  /** @nocollapse */ static { this.ɵfac = function TooltipDefaultComponent_Factory(t) { return new (t || TooltipDefaultComponent)(); }; }
385
385
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipDefaultComponent, selectors: [["dr-tooltip-default"]], hostVars: 2, hostBindings: function TooltipDefaultComponent_HostBindings(rf, ctx) { if (rf & 2) {
386
386
  i0.ɵɵclassMap(ctx.theme);
387
- } }, inputs: { content: "content", theme: "theme" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$12, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
387
+ } }, inputs: { content: "content", theme: "theme" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$13, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
388
388
  i0.ɵɵprojectionDef();
389
389
  i0.ɵɵelement(0, "span", 0);
390
390
  i0.ɵɵprojection(1);
@@ -404,7 +404,7 @@ class TooltipDefaultComponent {
404
404
  args: ['class']
405
405
  }] }); })();
406
406
 
407
- const _c0$11 = ["container"];
407
+ const _c0$12 = ["container"];
408
408
  class TooltipCustomComponent {
409
409
  constructor() {
410
410
  this.injector = inject(Injector);
@@ -435,7 +435,7 @@ class TooltipCustomComponent {
435
435
  }
436
436
  /** @nocollapse */ static { this.ɵfac = function TooltipCustomComponent_Factory(t) { return new (t || TooltipCustomComponent)(); }; }
437
437
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipCustomComponent, selectors: [["dr-tooltip-custom"]], viewQuery: function TooltipCustomComponent_Query(rf, ctx) { if (rf & 1) {
438
- i0.ɵɵviewQuery(_c0$11, 7, ViewContainerRef);
438
+ i0.ɵɵviewQuery(_c0$12, 7, ViewContainerRef);
439
439
  } if (rf & 2) {
440
440
  let _t;
441
441
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
@@ -496,7 +496,7 @@ function TooltipComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
496
496
  const ctx_r5 = i0.ɵɵnextContext();
497
497
  i0.ɵɵproperty("content", ctx_r5.content)("theme", ctx_r5.theme);
498
498
  } }
499
- const _c0$10 = function (a0) { return { "dr-tooltip": a0 }; };
499
+ const _c0$11 = function (a0) { return { "dr-tooltip": a0 }; };
500
500
  class TooltipComponent {
501
501
  constructor() {
502
502
  this.isContentTemplate = false;
@@ -529,7 +529,7 @@ class TooltipComponent {
529
529
  } if (rf & 2) {
530
530
  const _r2 = i0.ɵɵreference(4);
531
531
  i0.ɵɵclassMap(ctx.position + " " + ctx.class + " " + ctx.theme);
532
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$10, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
532
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$11, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
533
533
  i0.ɵɵadvance(1);
534
534
  i0.ɵɵproperty("ngIf", !(ctx.options == null ? null : ctx.options.withoutArrow));
535
535
  i0.ɵɵadvance(1);
@@ -872,7 +872,7 @@ class DrTooltipModule {
872
872
  TooltipComponent,
873
873
  DrTooltipDirective] }); })();
874
874
 
875
- const _c0$$ = ["checkboxContent"];
875
+ const _c0$10 = ["checkboxContent"];
876
876
  const _c1$q = ["*"];
877
877
  class CheckboxComponent {
878
878
  get indeterminate() {
@@ -923,7 +923,7 @@ class CheckboxComponent {
923
923
  }
924
924
  /** @nocollapse */ static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
925
925
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["dr-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
926
- i0.ɵɵviewQuery(_c0$$, 5);
926
+ i0.ɵɵviewQuery(_c0$10, 5);
927
927
  } if (rf & 2) {
928
928
  let _t;
929
929
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxContent = _t.first);
@@ -1018,7 +1018,7 @@ class DrModelDebounceChangeDirective {
1018
1018
  type: Output
1019
1019
  }] }); })();
1020
1020
 
1021
- const _c0$_ = ["prefix"];
1021
+ const _c0$$ = ["prefix"];
1022
1022
  const _c1$p = ["suffix"];
1023
1023
  const _c2$d = ["inputRef"];
1024
1024
  function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
@@ -1244,7 +1244,7 @@ class DrInputComponent {
1244
1244
  }
1245
1245
  /** @nocollapse */ static { this.ɵfac = function DrInputComponent_Factory(t) { return new (t || DrInputComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
1246
1246
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrInputComponent, selectors: [["dr-input"]], contentQueries: function DrInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1247
- i0.ɵɵcontentQuery(dirIndex, _c0$_, 5);
1247
+ i0.ɵɵcontentQuery(dirIndex, _c0$$, 5);
1248
1248
  i0.ɵɵcontentQuery(dirIndex, _c1$p, 5);
1249
1249
  } if (rf & 2) {
1250
1250
  let _t;
@@ -1491,7 +1491,7 @@ class DrSpinnerModule {
1491
1491
  }], null, null); })();
1492
1492
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrSpinnerModule, { declarations: [DrSpinnerComponent, DrSpinnerDirective], imports: [CommonModule], exports: [DrSpinnerComponent, DrSpinnerDirective] }); })();
1493
1493
 
1494
- const _c0$Z = ["labelTemplate"];
1494
+ const _c0$_ = ["labelTemplate"];
1495
1495
  const _c1$o = ["multiLabelTemplate"];
1496
1496
  const _c2$c = ["optionTemplate"];
1497
1497
  const _c3$7 = ["optionHeaderTemplate"];
@@ -1753,7 +1753,7 @@ class DrSelectComponent {
1753
1753
  }
1754
1754
  /** @nocollapse */ static { this.ɵfac = function DrSelectComponent_Factory(t) { return new (t || DrSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
1755
1755
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1756
- i0.ɵɵcontentQuery(dirIndex, _c0$Z, 5);
1756
+ i0.ɵɵcontentQuery(dirIndex, _c0$_, 5);
1757
1757
  i0.ɵɵcontentQuery(dirIndex, _c1$o, 5);
1758
1758
  i0.ɵɵcontentQuery(dirIndex, _c2$c, 5);
1759
1759
  i0.ɵɵcontentQuery(dirIndex, _c3$7, 5);
@@ -1949,7 +1949,7 @@ class DrSelectComponent {
1949
1949
  args: ['class.textView']
1950
1950
  }] }); })();
1951
1951
 
1952
- const _c0$Y = ["dynamicInputRef"];
1952
+ const _c0$Z = ["dynamicInputRef"];
1953
1953
  function DrSelectAddItemComponent_div_1_Template(rf, ctx) { if (rf & 1) {
1954
1954
  const _r3 = i0.ɵɵgetCurrentView();
1955
1955
  i0.ɵɵelementStart(0, "div", 3);
@@ -2057,7 +2057,7 @@ class DrSelectAddItemComponent {
2057
2057
  }
2058
2058
  /** @nocollapse */ static { this.ɵfac = function DrSelectAddItemComponent_Factory(t) { return new (t || DrSelectAddItemComponent)(i0.ɵɵdirectiveInject(DrSelectComponent)); }; }
2059
2059
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectAddItemComponent, selectors: [["dr-select-add-item"]], viewQuery: function DrSelectAddItemComponent_Query(rf, ctx) { if (rf & 1) {
2060
- i0.ɵɵviewQuery(_c0$Y, 5);
2060
+ i0.ɵɵviewQuery(_c0$Z, 5);
2061
2061
  } if (rf & 2) {
2062
2062
  let _t;
2063
2063
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);
@@ -2167,7 +2167,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
2167
2167
  i0.ɵɵadvance(1);
2168
2168
  i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
2169
2169
  } }
2170
- const _c0$X = ["*"];
2170
+ const _c0$Y = ["*"];
2171
2171
  class DrToggleComponent {
2172
2172
  set disabled(value) {
2173
2173
  this.setDisabledState(value);
@@ -2217,7 +2217,7 @@ class DrToggleComponent {
2217
2217
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 3, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
2218
2218
  i0.ɵɵattribute("id", ctx.hostId);
2219
2219
  i0.ɵɵclassMap(ctx.elementClass);
2220
- } }, inputs: { id: "id", toggleTitle: "toggleTitle", toggleTitleRight: "toggleTitleRight", successType: "successType", checkedStatus: "checkedStatus", disabled: "disabled" }, outputs: { checkedChange: "checkedChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }]), i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$X, decls: 7, vars: 10, consts: [["class", "toggle-title mr-3", 3, "click", 4, "ngIf"], [1, "toggle-container"], ["type", "checkbox", 3, "checked", "disabled", "click"], [1, "toggle-body"], ["class", "toggle-title ml-3", 3, "click", 4, "ngIf"], [1, "toggle-title", "mr-3", 3, "click"], [1, "toggle-title", "ml-3", 3, "click"]], template: function DrToggleComponent_Template(rf, ctx) { if (rf & 1) {
2220
+ } }, inputs: { id: "id", toggleTitle: "toggleTitle", toggleTitleRight: "toggleTitleRight", successType: "successType", checkedStatus: "checkedStatus", disabled: "disabled" }, outputs: { checkedChange: "checkedChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }]), i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$Y, decls: 7, vars: 10, consts: [["class", "toggle-title mr-3", 3, "click", 4, "ngIf"], [1, "toggle-container"], ["type", "checkbox", 3, "checked", "disabled", "click"], [1, "toggle-body"], ["class", "toggle-title ml-3", 3, "click", 4, "ngIf"], [1, "toggle-title", "mr-3", 3, "click"], [1, "toggle-title", "ml-3", 3, "click"]], template: function DrToggleComponent_Template(rf, ctx) { if (rf & 1) {
2221
2221
  i0.ɵɵprojectionDef();
2222
2222
  i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
2223
2223
  i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
@@ -2411,7 +2411,7 @@ class DrToggleButtonComponent {
2411
2411
  type: Input
2412
2412
  }] }); })();
2413
2413
 
2414
- const _c0$W = ["*"];
2414
+ const _c0$X = ["*"];
2415
2415
  class RadioButtonComponent {
2416
2416
  get disabled() {
2417
2417
  return this._disabled;
@@ -2465,7 +2465,7 @@ class RadioButtonComponent {
2465
2465
  useExisting: RadioButtonComponent,
2466
2466
  multi: true,
2467
2467
  },
2468
- ]), i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$W, decls: 4, vars: 5, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
2468
+ ]), i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$X, decls: 4, vars: 5, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
2469
2469
  i0.ɵɵprojectionDef();
2470
2470
  i0.ɵɵelementStart(0, "label")(1, "input", 0);
2471
2471
  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); });
@@ -2504,7 +2504,7 @@ class RadioButtonComponent {
2504
2504
  type: Input
2505
2505
  }] }); })();
2506
2506
 
2507
- const _c0$V = [[["dr-radio-button"]]];
2507
+ const _c0$W = [[["dr-radio-button"]]];
2508
2508
  const _c1$n = ["dr-radio-button"];
2509
2509
  class RadioGroupComponent {
2510
2510
  get value() {
@@ -2645,7 +2645,7 @@ class RadioGroupComponent {
2645
2645
  multi: true,
2646
2646
  },
2647
2647
  ]), i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$n, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
2648
- i0.ɵɵprojectionDef(_c0$V);
2648
+ i0.ɵɵprojectionDef(_c0$W);
2649
2649
  i0.ɵɵprojection(0);
2650
2650
  } }, encapsulation: 2, changeDetection: 0 }); }
2651
2651
  }
@@ -3341,7 +3341,7 @@ class DrShowTimeframePipe {
3341
3341
  }]
3342
3342
  }], null, null); })();
3343
3343
 
3344
- const _c0$U = ["class", "component"];
3344
+ const _c0$V = ["class", "component"];
3345
3345
  const _c1$m = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
3346
3346
  function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
3347
3347
  const _r7 = i0.ɵɵgetCurrentView();
@@ -3637,7 +3637,7 @@ class DrDatePickerCustomHeaderComponent {
3637
3637
  return selector;
3638
3638
  }
3639
3639
  /** @nocollapse */ static { this.ɵfac = function DrDatePickerCustomHeaderComponent_Factory(t) { return new (t || DrDatePickerCustomHeaderComponent)(i0.ɵɵdirectiveInject(i5.MatCalendar), i0.ɵɵdirectiveInject(i1$2.DateAdapter), i0.ɵɵdirectiveInject(MAT_DATE_FORMATS), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ApplicationRef), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
3640
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$U, 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"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["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"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector quarter-selector--select-current-quarter", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", "quarter-selector--select-current-quarter", 3, "click"]], template: function DrDatePickerCustomHeaderComponent_Template(rf, ctx) { if (rf & 1) {
3640
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$V, 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"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["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"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector quarter-selector--select-current-quarter", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", "quarter-selector--select-current-quarter", 3, "click"]], template: function DrDatePickerCustomHeaderComponent_Template(rf, ctx) { if (rf & 1) {
3641
3641
  i0.ɵɵtemplate(0, DrDatePickerCustomHeaderComponent_div_0_Template, 3, 2, "div", 0);
3642
3642
  i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
3643
3643
  i0.ɵɵlistener("click", function DrDatePickerCustomHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
@@ -3751,7 +3751,7 @@ class DrDatePickerFormatDirective {
3751
3751
  args: ['drDatePickerFormat']
3752
3752
  }] }); })();
3753
3753
 
3754
- const _c0$T = ["datePicker"];
3754
+ const _c0$U = ["datePicker"];
3755
3755
  function DrDatePickerComponent_i_0_Template(rf, ctx) { if (rf & 1) {
3756
3756
  const _r4 = i0.ɵɵgetCurrentView();
3757
3757
  i0.ɵɵelementStart(0, "i", 2);
@@ -4129,7 +4129,7 @@ class DrDatePickerComponent {
4129
4129
  }
4130
4130
  /** @nocollapse */ static { this.ɵfac = function DrDatePickerComponent_Factory(t) { return new (t || DrDatePickerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$2.DateAdapter), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
4131
4131
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerComponent, selectors: [["dr-date-picker"]], viewQuery: function DrDatePickerComponent_Query(rf, ctx) { if (rf & 1) {
4132
- i0.ɵɵviewQuery(_c0$T, 5);
4132
+ i0.ɵɵviewQuery(_c0$U, 5);
4133
4133
  } if (rf & 2) {
4134
4134
  let _t;
4135
4135
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePicker = _t.first);
@@ -4555,7 +4555,7 @@ function DrDatePickerWithTimeframeComponent_dr_button_11_Template(rf, ctx) { if
4555
4555
  const ctx_r4 = i0.ɵɵnextContext();
4556
4556
  i0.ɵɵproperty("disabled", ctx_r4.isNextDateDisabled);
4557
4557
  } }
4558
- const _c0$S = function (a0) { return { formattedValue: a0 }; };
4558
+ const _c0$T = function (a0) { return { formattedValue: a0 }; };
4559
4559
  class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4560
4560
  set dateFormatConfig(value) {
4561
4561
  if (value) {
@@ -4754,7 +4754,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4754
4754
  i0.ɵɵadvance(1);
4755
4755
  i0.ɵɵproperty("drTooltip", ctx.datepickerTooltip)("drTooltipPosition", ctx.datepickerTooltipPosition)("drTooltipMousleaveTimeout", ctx.datepickerTooltipTimeout);
4756
4756
  i0.ɵɵadvance(3);
4757
- i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c0$S, i0.ɵɵpipeBind1(5, 14, ctx.displayedFormattedValue$)));
4757
+ i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c0$T, i0.ɵɵpipeBind1(5, 14, ctx.displayedFormattedValue$)));
4758
4758
  i0.ɵɵadvance(4);
4759
4759
  i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(10, 16, ctx.displayValue$))("matDatepicker", _r5)("readonly", ctx.readonly)("min", ctx._min)("max", ctx._max);
4760
4760
  i0.ɵɵadvance(3);
@@ -4804,7 +4804,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
4804
4804
  type: Output
4805
4805
  }] }); })();
4806
4806
 
4807
- const _c0$R = ["class", "component"];
4807
+ const _c0$S = ["class", "component"];
4808
4808
  const _c1$l = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
4809
4809
  function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
4810
4810
  const _r7 = i0.ɵɵgetCurrentView();
@@ -4907,7 +4907,7 @@ class DrFiscalMonthCalendarHeaderComponent extends DrDatePickerCustomHeaderCompo
4907
4907
  });
4908
4908
  }
4909
4909
  /** @nocollapse */ static { this.ɵfac = /** @pureOrBreakMyCode */ function () { let ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory; return function DrFiscalMonthCalendarHeaderComponent_Factory(t) { return (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory || (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DrFiscalMonthCalendarHeaderComponent)))(t || DrFiscalMonthCalendarHeaderComponent); }; }(); }
4910
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0$R, 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"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["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"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector quarter-selector--select-current-quarter", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", "quarter-selector--select-current-quarter", 3, "click"]], template: function DrFiscalMonthCalendarHeaderComponent_Template(rf, ctx) { if (rf & 1) {
4910
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0$S, 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"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["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"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector quarter-selector--select-current-quarter", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", "quarter-selector--select-current-quarter", 3, "click"]], template: function DrFiscalMonthCalendarHeaderComponent_Template(rf, ctx) { if (rf & 1) {
4911
4911
  i0.ɵɵtemplate(0, DrFiscalMonthCalendarHeaderComponent_div_0_Template, 3, 2, "div", 0);
4912
4912
  i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
4913
4913
  i0.ɵɵlistener("click", function DrFiscalMonthCalendarHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
@@ -7359,7 +7359,7 @@ class DrTagsAndScenarioConstructorComponent {
7359
7359
  type: Output
7360
7360
  }] }); })();
7361
7361
 
7362
- const _c0$Q = ["stepTextLabel"];
7362
+ const _c0$R = ["stepTextLabel"];
7363
7363
  const _c1$k = ["stepper"];
7364
7364
  function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
7365
7365
  const _r11 = i0.ɵɵgetCurrentView();
@@ -7585,7 +7585,7 @@ class StepperComponent {
7585
7585
  }
7586
7586
  /** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
7587
7587
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], contentQueries: function StepperComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
7588
- i0.ɵɵcontentQuery(dirIndex, _c0$Q, 5);
7588
+ i0.ɵɵcontentQuery(dirIndex, _c0$R, 5);
7589
7589
  } if (rf & 2) {
7590
7590
  let _t;
7591
7591
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepTextLabelTemplate = _t.first);
@@ -7760,7 +7760,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
7760
7760
  i0.ɵɵtext(1, "Stop generating");
7761
7761
  i0.ɵɵelementEnd();
7762
7762
  } }
7763
- const _c0$P = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
7763
+ const _c0$Q = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
7764
7764
  class DrChatFormComponent {
7765
7765
  constructor(cdr, domSanitizer) {
7766
7766
  this.cdr = cdr;
@@ -7916,7 +7916,7 @@ class DrChatFormComponent {
7916
7916
  const _r1 = i0.ɵɵreference(4);
7917
7917
  i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
7918
7918
  i0.ɵɵadvance(2);
7919
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$P, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
7919
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$Q, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
7920
7920
  i0.ɵɵadvance(1);
7921
7921
  i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
7922
7922
  i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
@@ -8031,7 +8031,7 @@ function DrAvatarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
8031
8031
  const ctx_r0 = i0.ɵɵnextContext();
8032
8032
  i0.ɵɵstyleProp("width", ctx_r0.drAvatarSize || null)("height", ctx_r0.drAvatarSize || null);
8033
8033
  } }
8034
- const _c0$O = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
8034
+ const _c0$P = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
8035
8035
  function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
8036
8036
  const _r7 = i0.ɵɵgetCurrentView();
8037
8037
  i0.ɵɵelementStart(0, "div", 5);
@@ -8045,7 +8045,7 @@ function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
8045
8045
  const ctx_r1 = i0.ɵɵnextContext();
8046
8046
  i0.ɵɵclassMap(user_r5.status);
8047
8047
  i0.ɵɵstyleProp("width", ctx_r1.drAvatarSize || null)("height", ctx_r1.drAvatarSize || null)("background-color", ctx_r1.getAvatarColor(user_r5));
8048
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$O, ctx_r1.showUnassigned && !user_r5.email, ctx_r1.drAvatarIsClickable))("drTooltip", i0.ɵɵpipeBind1(1, 13, user_r5))("drTooltipClass", ctx_r1.drAvatarTooltipClass)("drTooltipPosition", ctx_r1.drAvatarTooltipPosition);
8048
+ 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);
8049
8049
  i0.ɵɵadvance(2);
8050
8050
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), "\n");
8051
8051
  } }
@@ -8321,7 +8321,7 @@ class DrChatMessageFileComponent {
8321
8321
  type: Input
8322
8322
  }] }); })();
8323
8323
 
8324
- const _c0$N = ["drChatMessageActions"];
8324
+ const _c0$O = ["drChatMessageActions"];
8325
8325
  function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
8326
8326
  i0.ɵɵelementContainerStart(0);
8327
8327
  i0.ɵɵelement(1, "div", 8);
@@ -8423,7 +8423,7 @@ class DrChatMessageComponent {
8423
8423
  }
8424
8424
  /** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
8425
8425
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatMessageComponent, selectors: [["dr-chat-message"]], contentQueries: function DrChatMessageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
8426
- i0.ɵɵcontentQuery(dirIndex, _c0$N, 5);
8426
+ i0.ɵɵcontentQuery(dirIndex, _c0$O, 5);
8427
8427
  } if (rf & 2) {
8428
8428
  let _t;
8429
8429
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
@@ -8494,7 +8494,7 @@ class DrChatMessageComponent {
8494
8494
  args: ['drChatMessageActions']
8495
8495
  }] }); })();
8496
8496
 
8497
- const _c0$M = ["suggestionsContainer"];
8497
+ const _c0$N = ["suggestionsContainer"];
8498
8498
  function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
8499
8499
  i0.ɵɵelementContainer(0);
8500
8500
  } }
@@ -8639,7 +8639,7 @@ class DrChatSuggestionsComponent {
8639
8639
  }
8640
8640
  /** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
8641
8641
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatSuggestionsComponent, selectors: [["dr-chat-suggestions"]], viewQuery: function DrChatSuggestionsComponent_Query(rf, ctx) { if (rf & 1) {
8642
- i0.ɵɵviewQuery(_c0$M, 5);
8642
+ i0.ɵɵviewQuery(_c0$N, 5);
8643
8643
  } if (rf & 2) {
8644
8644
  let _t;
8645
8645
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
@@ -8673,7 +8673,7 @@ class DrChatSuggestionsComponent {
8673
8673
  args: ['suggestionsContainer', { static: false }]
8674
8674
  }] }); })();
8675
8675
 
8676
- const _c0$L = ["drChatHeader"];
8676
+ const _c0$M = ["drChatHeader"];
8677
8677
  const _c1$i = ["drChatLoader"];
8678
8678
  const _c2$7 = ["drChatContent"];
8679
8679
  const _c3$5 = ["messagesContainer"];
@@ -8810,7 +8810,7 @@ class DrChatComponent {
8810
8810
  /** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
8811
8811
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
8812
8812
  i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
8813
- i0.ɵɵcontentQuery(dirIndex, _c0$L, 5);
8813
+ i0.ɵɵcontentQuery(dirIndex, _c0$M, 5);
8814
8814
  i0.ɵɵcontentQuery(dirIndex, _c1$i, 5);
8815
8815
  i0.ɵɵcontentQuery(dirIndex, _c2$7, 5);
8816
8816
  i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
@@ -8899,7 +8899,7 @@ class DrChatComponent {
8899
8899
  args: [DrChatSuggestionsComponent]
8900
8900
  }] }); })();
8901
8901
 
8902
- const _c0$K = ["textAreaElement"];
8902
+ const _c0$L = ["textAreaElement"];
8903
8903
  const _c1$h = ["fileInput"];
8904
8904
  function DrChatFormDropdownComponent_dr_chat_dropped_files_3_Template(rf, ctx) { if (rf & 1) {
8905
8905
  const _r7 = i0.ɵɵgetCurrentView();
@@ -9132,7 +9132,7 @@ class DrChatFormDropdownComponent {
9132
9132
  }
9133
9133
  /** @nocollapse */ static { this.ɵfac = function DrChatFormDropdownComponent_Factory(t) { return new (t || DrChatFormDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$3.DomSanitizer)); }; }
9134
9134
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatFormDropdownComponent, selectors: [["dr-chat-form-dropdown"]], viewQuery: function DrChatFormDropdownComponent_Query(rf, ctx) { if (rf & 1) {
9135
- i0.ɵɵviewQuery(_c0$K, 5);
9135
+ i0.ɵɵviewQuery(_c0$L, 5);
9136
9136
  i0.ɵɵviewQuery(_c1$h, 5);
9137
9137
  } if (rf & 2) {
9138
9138
  let _t;
@@ -9281,14 +9281,14 @@ class DrChatCustomMessageDirective {
9281
9281
  type: Input
9282
9282
  }] }); })();
9283
9283
 
9284
- const _c0$J = ["*"];
9284
+ const _c0$K = ["*"];
9285
9285
  class DrChatAlertComponent {
9286
9286
  constructor() {
9287
9287
  this.iconClass = 'dr-icon-info';
9288
9288
  this.close = new EventEmitter();
9289
9289
  }
9290
9290
  /** @nocollapse */ static { this.ɵfac = function DrChatAlertComponent_Factory(t) { return new (t || DrChatAlertComponent)(); }; }
9291
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$J, 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) {
9291
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$K, 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) {
9292
9292
  i0.ɵɵprojectionDef();
9293
9293
  i0.ɵɵelement(0, "i");
9294
9294
  i0.ɵɵprojection(1);
@@ -9334,27 +9334,29 @@ function DrBadgeStatusComponent_span_2_Template(rf, ctx) { if (rf & 1) {
9334
9334
  i0.ɵɵadvance(1);
9335
9335
  i0.ɵɵtextInterpolate(ctx_r1.label);
9336
9336
  } }
9337
+ const _c0$J = function (a0, a1) { return [a0, a1]; };
9337
9338
  class DrBadgeStatusComponent {
9338
9339
  constructor() {
9339
9340
  this.theme = BadgeStatus.REGULAR;
9341
+ this.showBackground = true;
9340
9342
  }
9341
9343
  /** @nocollapse */ static { this.ɵfac = function DrBadgeStatusComponent_Factory(t) { return new (t || DrBadgeStatusComponent)(); }; }
9342
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrBadgeStatusComponent, selectors: [["dr-badge-status"]], inputs: { theme: "theme", icon: "icon", label: "label", tooltip: "tooltip", tooltipClass: "tooltipClass" }, decls: 3, vars: 5, consts: [[1, "badge-status", 3, "drTooltip", "drTooltipClass", "ngClass"], [3, "class", 4, "ngIf"], [4, "ngIf"]], template: function DrBadgeStatusComponent_Template(rf, ctx) { if (rf & 1) {
9344
+ /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrBadgeStatusComponent, selectors: [["dr-badge-status"]], inputs: { theme: "theme", icon: "icon", label: "label", tooltip: "tooltip", tooltipClass: "tooltipClass", showBackground: "showBackground" }, decls: 3, vars: 8, consts: [[1, "badge-status", 3, "drTooltip", "drTooltipClass", "ngClass"], [3, "class", 4, "ngIf"], [4, "ngIf"]], template: function DrBadgeStatusComponent_Template(rf, ctx) { if (rf & 1) {
9343
9345
  i0.ɵɵelementStart(0, "div", 0);
9344
9346
  i0.ɵɵtemplate(1, DrBadgeStatusComponent_i_1_Template, 1, 3, "i", 1);
9345
9347
  i0.ɵɵtemplate(2, DrBadgeStatusComponent_span_2_Template, 2, 1, "span", 2);
9346
9348
  i0.ɵɵelementEnd();
9347
9349
  } if (rf & 2) {
9348
- i0.ɵɵproperty("drTooltip", ctx.tooltip)("drTooltipClass", ctx.tooltipClass)("ngClass", "badge-status--" + ctx.theme);
9350
+ i0.ɵɵproperty("drTooltip", ctx.tooltip)("drTooltipClass", ctx.tooltipClass)("ngClass", i0.ɵɵpureFunction2(5, _c0$J, "badge-status--" + ctx.theme, !ctx.showBackground ? "badge-status--no-background" : ""));
9349
9351
  i0.ɵɵadvance(1);
9350
9352
  i0.ɵɵproperty("ngIf", ctx.icon);
9351
9353
  i0.ɵɵadvance(1);
9352
9354
  i0.ɵɵproperty("ngIf", ctx.label);
9353
- } }, dependencies: [i1.NgClass, i1.NgIf, DrTooltipDirective], styles: [".badge-status{font-size:12px;line-height:16px;font-weight:500;display:flex;align-items:center;height:24px;padding:2px 8px 2px 4px;border-radius:4px;cursor:pointer}.badge-status i{font-size:20px;margin-right:4px}.badge-status--info{color:#0b5af9;background:#e6efff}.badge-status--error{color:#bf1d30;background:#f7d9dc}.badge-status--warning{color:#9e5f00;background:#ffefc7}.badge-status--success{color:#037c5a;background:#dbf5e6}.badge-status--regular{color:#7e828e;background:#f0f1f4}.badge-status--progress{color:#4646ce;background:#f2f2fb}.badge-status--dotted{color:#7e828e;background:transparent}.badge-status--dotted i{display:none}\n"], encapsulation: 2 }); }
9355
+ } }, dependencies: [i1.NgClass, i1.NgIf, DrTooltipDirective], styles: [".badge-status{font-size:12px;line-height:16px;font-weight:500;display:flex;align-items:center;height:24px;padding:2px 8px 2px 4px;border-radius:4px;cursor:pointer}.badge-status i{font-size:20px;margin-right:4px}.badge-status--info{color:#0b5af9;background:#e6efff}.badge-status--error{color:#bf1d30;background:#f7d9dc}.badge-status--warning{color:#9e5f00;background:#ffefc7}.badge-status--success{color:#037c5a;background:#dbf5e6}.badge-status--regular{color:#7e828e;background:#f0f1f4}.badge-status--progress{color:#4646ce;background:#f2f2fb}.badge-status--dotted{color:#7e828e;background:transparent}.badge-status--dotted i{display:none}.badge-status--no-background{background:transparent!important}\n"], encapsulation: 2 }); }
9354
9356
  }
9355
9357
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrBadgeStatusComponent, [{
9356
9358
  type: Component,
9357
- args: [{ selector: 'dr-badge-status', encapsulation: ViewEncapsulation.None, template: "<div class=\"badge-status\" [drTooltip]=\"tooltip\" [drTooltipClass]=\"tooltipClass\" [ngClass]=\"'badge-status--' + theme\">\n <i *ngIf=\"icon\" class=\"{{ icon }}\"></i>\n <span *ngIf=\"label\">{{ label }}</span>\n</div>\n", styles: [".badge-status{font-size:12px;line-height:16px;font-weight:500;display:flex;align-items:center;height:24px;padding:2px 8px 2px 4px;border-radius:4px;cursor:pointer}.badge-status i{font-size:20px;margin-right:4px}.badge-status--info{color:#0b5af9;background:#e6efff}.badge-status--error{color:#bf1d30;background:#f7d9dc}.badge-status--warning{color:#9e5f00;background:#ffefc7}.badge-status--success{color:#037c5a;background:#dbf5e6}.badge-status--regular{color:#7e828e;background:#f0f1f4}.badge-status--progress{color:#4646ce;background:#f2f2fb}.badge-status--dotted{color:#7e828e;background:transparent}.badge-status--dotted i{display:none}\n"] }]
9359
+ args: [{ selector: 'dr-badge-status', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"badge-status\"\n [drTooltip]=\"tooltip\"\n [drTooltipClass]=\"tooltipClass\"\n [ngClass]=\"['badge-status--' + theme, !showBackground ? 'badge-status--no-background' : '']\">\n <i *ngIf=\"icon\" class=\"{{ icon }}\"></i>\n <span *ngIf=\"label\">{{ label }}</span>\n</div>\n", styles: [".badge-status{font-size:12px;line-height:16px;font-weight:500;display:flex;align-items:center;height:24px;padding:2px 8px 2px 4px;border-radius:4px;cursor:pointer}.badge-status i{font-size:20px;margin-right:4px}.badge-status--info{color:#0b5af9;background:#e6efff}.badge-status--error{color:#bf1d30;background:#f7d9dc}.badge-status--warning{color:#9e5f00;background:#ffefc7}.badge-status--success{color:#037c5a;background:#dbf5e6}.badge-status--regular{color:#7e828e;background:#f0f1f4}.badge-status--progress{color:#4646ce;background:#f2f2fb}.badge-status--dotted{color:#7e828e;background:transparent}.badge-status--dotted i{display:none}.badge-status--no-background{background:transparent!important}\n"] }]
9358
9360
  }], null, { theme: [{
9359
9361
  type: Input
9360
9362
  }], icon: [{
@@ -9365,6 +9367,8 @@ class DrBadgeStatusComponent {
9365
9367
  type: Input
9366
9368
  }], tooltipClass: [{
9367
9369
  type: Input
9370
+ }], showBackground: [{
9371
+ type: Input
9368
9372
  }] }); })();
9369
9373
 
9370
9374
  var DrAlertTheme;
@@ -15680,6 +15684,10 @@ class DrawerConfig {
15680
15684
  this.disableClose = false;
15681
15685
  /** Aria label to assign to the drawer element. */
15682
15686
  this.ariaLabel = null;
15687
+ /** Aria role for the drawer container */
15688
+ this.role = 'dialog';
15689
+ /** Whether the drawer should be treated as a modal dialog */
15690
+ this.isModal = true;
15683
15691
  /**
15684
15692
  * Whether the drawer should close when the user goes backwards/forwards in history.
15685
15693
  * Note that this usually doesn't include clicking on links (unless the user is using
@@ -15701,6 +15709,8 @@ class DrawerConfig {
15701
15709
  this.position = 'bottom';
15702
15710
  /** Whether to render the drawer without default container styles and handle. */
15703
15711
  this.unstyled = false;
15712
+ /** Drag behavior for bottom drawer. */
15713
+ this.dragMode = 'dismiss';
15704
15714
  }
15705
15715
  }
15706
15716
 
@@ -15721,23 +15731,112 @@ const drDrawerAnimations = {
15721
15731
  ]),
15722
15732
  };
15723
15733
 
15724
- class BottomPositionStrategy {
15734
+ class BottomDismissPositionStrategy {
15735
+ constructor() {
15736
+ this.startMouseY = null;
15737
+ this.deltaY = 0;
15738
+ }
15725
15739
  extractMousePosition(event) {
15726
15740
  return event.clientY;
15727
15741
  }
15728
- calculateTransform(currentPosition, containerPosition) {
15729
- return currentPosition > containerPosition
15730
- ? `translate3d(0px, ${currentPosition - containerPosition}px, 0px)`
15731
- : `translate3d(0px, 0px, 0px)`;
15742
+ onDragStart(container) {
15743
+ this.startMouseY = null;
15744
+ this.deltaY = 0;
15732
15745
  }
15733
- shouldClose(currentPosition, initPosition, lastPosition) {
15734
- return Math.abs(currentPosition - initPosition) <= currentPosition - lastPosition;
15746
+ onDragMove(mouseY, container) {
15747
+ if (this.startMouseY === null) {
15748
+ this.startMouseY = mouseY;
15749
+ return;
15750
+ }
15751
+ this.deltaY = mouseY - this.startMouseY;
15752
+ if (this.deltaY < 0) {
15753
+ this.deltaY = 0;
15754
+ }
15755
+ container.style.transition = 'none';
15756
+ container.style.transform = `translate3d(0px, ${this.deltaY}px, 0px)`;
15757
+ }
15758
+ onDragEnd(container) {
15759
+ const containerHeight = container.getBoundingClientRect().height;
15760
+ const shouldClose = this.deltaY > containerHeight / 2;
15761
+ if (!shouldClose) {
15762
+ container.style.transition = 'transform 0.5s cubic-bezier(0.32, 0.72, 0, 1)';
15763
+ container.style.transform = `translate3d(0px, 0px, 0px)`;
15764
+ }
15765
+ return { shouldClose };
15766
+ }
15767
+ }
15768
+ class BottomResizePositionStrategy {
15769
+ constructor(config) {
15770
+ this.config = config;
15771
+ this.startMouseY = null;
15772
+ this.startHeightPx = 0;
15773
+ this.currentHeightPx = 0;
15774
+ const viewportH = window.innerHeight;
15775
+ this.minHeightPx = this.toPx(config.minHeight ?? '10vh', viewportH);
15776
+ this.maxHeightPx = this.toPx(config.maxHeight ?? '90vh', viewportH);
15777
+ this.minHeightPx = Math.max(0, this.minHeightPx);
15778
+ this.maxHeightPx = Math.max(this.minHeightPx, this.maxHeightPx);
15779
+ }
15780
+ extractMousePosition(event) {
15781
+ return event.clientY;
15782
+ }
15783
+ onDragStart(container, overlayElement) {
15784
+ this.startMouseY = null;
15785
+ const rect = overlayElement.getBoundingClientRect();
15786
+ this.startHeightPx = rect.height;
15787
+ this.currentHeightPx = this.startHeightPx;
15788
+ overlayElement.style.transition = 'none';
15789
+ overlayElement.style.height = `${this.startHeightPx}px`;
15790
+ overlayElement.style.maxHeight = 'none';
15791
+ container.style.height = '100%';
15792
+ }
15793
+ onDragMove(mouseY, container, overlayElement) {
15794
+ if (this.startMouseY === null) {
15795
+ this.startMouseY = mouseY;
15796
+ return;
15797
+ }
15798
+ const delta = this.startMouseY - mouseY;
15799
+ let nextHeight = this.startHeightPx + delta;
15800
+ nextHeight = Math.max(this.minHeightPx, Math.min(this.maxHeightPx, nextHeight));
15801
+ this.currentHeightPx = nextHeight;
15802
+ overlayElement.style.height = `${nextHeight}px`;
15803
+ }
15804
+ onDragEnd(container, overlayElement) {
15805
+ let height = this.currentHeightPx || overlayElement.getBoundingClientRect().height;
15806
+ height = Math.max(this.minHeightPx, Math.min(this.maxHeightPx, height));
15807
+ overlayElement.style.transition = 'height 200ms cubic-bezier(0.32, 0.72, 0, 1)';
15808
+ overlayElement.style.height = `${height}px`;
15809
+ this.startMouseY = NaN;
15810
+ this.currentHeightPx = height;
15811
+ return { shouldClose: false, height };
15812
+ }
15813
+ toPx(value, viewportH) {
15814
+ if (typeof value === 'number') {
15815
+ return value;
15816
+ }
15817
+ const raw = String(value).trim();
15818
+ if (!raw) {
15819
+ return 0;
15820
+ }
15821
+ if (raw.endsWith('vh')) {
15822
+ const n = parseFloat(raw);
15823
+ return Number.isFinite(n) ? (n / 100) * viewportH : 0;
15824
+ }
15825
+ if (raw.endsWith('px')) {
15826
+ const n = parseFloat(raw);
15827
+ return Number.isFinite(n) ? n : 0;
15828
+ }
15829
+ const asNumber = parseFloat(raw);
15830
+ return Number.isFinite(asNumber) ? asNumber : 0;
15735
15831
  }
15736
15832
  }
15737
15833
 
15738
15834
  const _c0$k = ["handleRef"];
15739
15835
  function DrawerContainer_div_0_Template(rf, ctx) { if (rf & 1) {
15740
15836
  i0.ɵɵelement(0, "div", 3, 4);
15837
+ } if (rf & 2) {
15838
+ const ctx_r0 = i0.ɵɵnextContext();
15839
+ i0.ɵɵclassProp("handle--resize", ctx_r0._config.dragMode === "resize")("handle--dismiss", ctx_r0._config.dragMode === "dismiss");
15741
15840
  } }
15742
15841
  function DrawerContainer_ng_template_2_Template(rf, ctx) { }
15743
15842
  /**
@@ -15751,6 +15850,8 @@ class DrawerContainer extends CdkDialogContainer {
15751
15850
  constructor(elementRef, focusTrapFactory, document, config, checker, ngZone, overlayRef, focusMonitor) {
15752
15851
  super(elementRef, focusTrapFactory, document, config, checker, ngZone, overlayRef, focusMonitor);
15753
15852
  this.overlayRef = overlayRef;
15853
+ /** Emits final height (px) after resize. Available only in resize mode. */
15854
+ this.afterResized = new EventEmitter();
15754
15855
  /** The state of the drawer animations. */
15755
15856
  this._animationState = 'void';
15756
15857
  /** Emits whenever the state of the animation changes. */
@@ -15791,45 +15892,35 @@ class DrawerContainer extends CdkDialogContainer {
15791
15892
  resolvePositionStrategy() {
15792
15893
  switch (this._config.position) {
15793
15894
  case 'bottom':
15794
- return new BottomPositionStrategy();
15895
+ return this._config.dragMode === 'resize'
15896
+ ? new BottomResizePositionStrategy(this._config)
15897
+ : new BottomDismissPositionStrategy();
15898
+ default:
15899
+ return undefined;
15795
15900
  }
15796
15901
  }
15797
15902
  setupDragListener() {
15903
+ const strategy = this.positionStrategy;
15904
+ if (!strategy)
15905
+ return;
15798
15906
  const mousedown$ = fromEvent(this._handleRef.nativeElement, 'mousedown');
15799
15907
  const mousemove$ = fromEvent(document, 'mousemove');
15800
15908
  const mouseup$ = fromEvent(document, 'mouseup');
15801
- let lastPosition = 0;
15802
- let initPosition = 0;
15803
- let currentPosition = 0;
15804
15909
  const container = this._elementRef.nativeElement;
15805
- setTimeout(() => {
15806
- lastPosition = this.getContainerPosition(container);
15807
- initPosition = lastPosition;
15808
- });
15910
+ const overlayElement = this.overlayRef.overlayElement;
15809
15911
  mousedown$
15810
- .pipe(switchMap$1(() => mousemove$.pipe(finalize$1(() => {
15811
- const container = this._elementRef.nativeElement;
15812
- if (this.positionStrategy.shouldClose(currentPosition, initPosition, lastPosition)) {
15912
+ .pipe(tap$1(() => strategy.onDragStart(container, overlayElement)), switchMap$1(() => mousemove$.pipe(takeUntil$1(mouseup$), finalize$1(() => {
15913
+ const result = strategy.onDragEnd(container, overlayElement);
15914
+ if (result.shouldClose) {
15813
15915
  this.overlayRef.dispose();
15814
15916
  return;
15815
15917
  }
15816
- container.style.transition = 'transform 0.5s cubic-bezier(0.32, 0.72, 0, 1)';
15817
- container.style.transform = `translate3d(0px, 0px, 0px)`;
15818
- }), takeUntil$1(mouseup$))), map$1((event) => this.positionStrategy.extractMousePosition(event)), distinctUntilChanged$1(), tap$1((position) => {
15819
- let containerPosition = this.getContainerPosition(container);
15820
- containerPosition = Math.min(containerPosition, lastPosition);
15821
- lastPosition = Math.min(containerPosition, lastPosition);
15822
- currentPosition = position;
15823
- container.style.transition = 'none';
15824
- container.style.transform = this.positionStrategy.calculateTransform(position, containerPosition);
15825
- }), takeUntil$1(this.destroy$))
15918
+ if (result.height !== undefined) {
15919
+ this.afterResized.emit(result.height);
15920
+ }
15921
+ }))), map$1((event) => strategy.extractMousePosition(event)), distinctUntilChanged$1(), tap$1((position) => strategy.onDragMove(position, container, overlayElement)), takeUntil$1(this.destroy$))
15826
15922
  .subscribe();
15827
15923
  }
15828
- getContainerPosition(container) {
15829
- return this._config.position === 'bottom' || this._config.position === 'top'
15830
- ? container.getBoundingClientRect().top
15831
- : container.getBoundingClientRect().left;
15832
- }
15833
15924
  ngOnDestroy() {
15834
15925
  super.ngOnDestroy();
15835
15926
  this.destroy$.next();
@@ -15862,8 +15953,8 @@ class DrawerContainer extends CdkDialogContainer {
15862
15953
  i0.ɵɵsyntheticHostProperty("@state", ctx._animationState);
15863
15954
  i0.ɵɵclassMap(ctx._drawerPosition);
15864
15955
  i0.ɵɵclassProp("dr-drawer-container", !ctx._config.unstyled);
15865
- } }, standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 3, vars: 3, consts: [["class", "handle", 4, "ngIf"], [1, "dr-drawer-container__wrapper"], ["cdkPortalOutlet", ""], [1, "handle"], ["handleRef", ""]], template: function DrawerContainer_Template(rf, ctx) { if (rf & 1) {
15866
- i0.ɵɵtemplate(0, DrawerContainer_div_0_Template, 2, 0, "div", 0);
15956
+ } }, outputs: { afterResized: "afterResized" }, standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 3, vars: 3, consts: [["class", "handle", 3, "handle--resize", "handle--dismiss", 4, "ngIf"], [1, "dr-drawer-container__wrapper"], ["cdkPortalOutlet", ""], [1, "handle"], ["handleRef", ""]], template: function DrawerContainer_Template(rf, ctx) { if (rf & 1) {
15957
+ i0.ɵɵtemplate(0, DrawerContainer_div_0_Template, 2, 4, "div", 0);
15867
15958
  i0.ɵɵelementStart(1, "div", 1);
15868
15959
  i0.ɵɵtemplate(2, DrawerContainer_ng_template_2_Template, 0, 0, "ng-template", 2);
15869
15960
  i0.ɵɵelementEnd();
@@ -15871,7 +15962,7 @@ class DrawerContainer extends CdkDialogContainer {
15871
15962
  i0.ɵɵproperty("ngIf", ctx._config.position === "bottom" && !ctx._config.unstyled);
15872
15963
  i0.ɵɵadvance(1);
15873
15964
  i0.ɵɵclassProp("unstyled-wrapper", ctx._config.unstyled);
15874
- } }, dependencies: [PortalModule, i4.CdkPortalOutlet, DialogModule, MatCommonModule, CommonModule, i1.NgIf], styles: [".dr-drawer-container{display:flex;flex-direction:column;width:100%;overflow:auto;outline:0;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 14px #d8d9de80}.dr-drawer-container__wrapper{flex:1;overflow:auto}.dr-drawer-container__wrapper.unstyled-wrapper{flex:unset;overflow:unset}.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] } }); }
15965
+ } }, dependencies: [PortalModule, i4.CdkPortalOutlet, DialogModule, MatCommonModule, CommonModule, i1.NgIf], styles: [".dr-drawer-container{display:flex;flex-direction:column;width:100%;height:100%;overflow:auto;outline:0;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 14px #d8d9de80}.dr-drawer-container__wrapper{flex:1;overflow:auto}.dr-drawer-container__wrapper.unstyled-wrapper{flex:unset;overflow:unset}.cdk-high-contrast-active .dr-drawer-container{outline:1px solid}.handle{position:relative;height:24px;user-select:none;-webkit-user-select:none;flex-shrink:0}.handle--resize{cursor:ns-resize}.handle--dismiss{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;transition:background-color .2s ease}.handle:hover:after{background-color:#b6b8bf}.handle:active:after{background-color:#9b9ea8}.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] } }); }
15875
15966
  }
15876
15967
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerContainer, [{
15877
15968
  type: Component,
@@ -15886,7 +15977,7 @@ class DrawerContainer extends CdkDialogContainer {
15886
15977
  '[@state]': '_animationState',
15887
15978
  '(@state.start)': '_onAnimationStart($event)',
15888
15979
  '(@state.done)': '_onAnimationDone($event)',
15889
- }, standalone: true, imports: [PortalModule, DialogModule, MatCommonModule, CommonModule], template: "<div *ngIf=\"_config.position === 'bottom' && !_config.unstyled\" #handleRef class=\"handle\"></div>\n<div class=\"dr-drawer-container__wrapper\" [class.unstyled-wrapper]=\"_config.unstyled\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n", styles: [".dr-drawer-container{display:flex;flex-direction:column;width:100%;overflow:auto;outline:0;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 14px #d8d9de80}.dr-drawer-container__wrapper{flex:1;overflow:auto}.dr-drawer-container__wrapper.unstyled-wrapper{flex:unset;overflow:unset}.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"] }]
15980
+ }, standalone: true, imports: [PortalModule, DialogModule, MatCommonModule, CommonModule], template: "<div\n *ngIf=\"_config.position === 'bottom' && !_config.unstyled\"\n #handleRef\n class=\"handle\"\n [class.handle--resize]=\"_config.dragMode === 'resize'\"\n [class.handle--dismiss]=\"_config.dragMode === 'dismiss'\"></div>\n<div class=\"dr-drawer-container__wrapper\" [class.unstyled-wrapper]=\"_config.unstyled\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n", styles: [".dr-drawer-container{display:flex;flex-direction:column;width:100%;height:100%;overflow:auto;outline:0;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 14px #d8d9de80}.dr-drawer-container__wrapper{flex:1;overflow:auto}.dr-drawer-container__wrapper.unstyled-wrapper{flex:unset;overflow:unset}.cdk-high-contrast-active .dr-drawer-container{outline:1px solid}.handle{position:relative;height:24px;user-select:none;-webkit-user-select:none;flex-shrink:0}.handle--resize{cursor:ns-resize}.handle--dismiss{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;transition:background-color .2s ease}.handle:hover:after{background-color:#b6b8bf}.handle:active:after{background-color:#9b9ea8}.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"] }]
15890
15981
  }], function () { return [{ type: i0.ElementRef }, { type: i1$6.FocusTrapFactory }, { type: Document, decorators: [{
15891
15982
  type: Optional
15892
15983
  }, {
@@ -15898,6 +15989,8 @@ class DrawerContainer extends CdkDialogContainer {
15898
15989
  }], _handleRef: [{
15899
15990
  type: ViewChild,
15900
15991
  args: ['handleRef']
15992
+ }], afterResized: [{
15993
+ type: Output
15901
15994
  }] }); })();
15902
15995
 
15903
15996
  /**
@@ -15953,6 +16046,7 @@ class DrawerRef {
15953
16046
  this.dismiss();
15954
16047
  }
15955
16048
  });
16049
+ this._afterResized$ = containerInstance?.afterResized?.asObservable() ?? EMPTY;
15956
16050
  }
15957
16051
  /**
15958
16052
  * Dismisses the drawer.
@@ -15993,6 +16087,10 @@ class DrawerRef {
15993
16087
  afterOpened() {
15994
16088
  return this._afterOpened;
15995
16089
  }
16090
+ /** Gets an observable that emits the final height (px) after resize. Available only in resize mode. */
16091
+ afterResized() {
16092
+ return this._afterResized$;
16093
+ }
15996
16094
  /**
15997
16095
  * Gets an observable that emits when the overlay's backdrop has been clicked.
15998
16096
  */