@datarailsshared/datarailsshared 1.6.63 → 1.6.67

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.
@@ -9,10 +9,10 @@ import * as moment from 'moment';
9
9
  import moment__default from 'moment';
10
10
  import * as i1$2 from '@angular/forms';
11
11
  import { NG_VALUE_ACCESSOR, FormBuilder, FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
12
- import { Observable, BehaviorSubject, distinctUntilChanged, Subject, startWith, takeUntil, noop as noop$3, combineLatest, from, merge as merge$1, fromEvent, filter as filter$1, switchMap as switchMap$1, map as map$2, observeOn, asyncScheduler, withLatestFrom, first as first$1, interval, throwError, finalize as finalize$1, tap as tap$1, defer } from 'rxjs';
12
+ import { Observable, BehaviorSubject, distinctUntilChanged, map, Subject, startWith, takeUntil, noop as noop$3, combineLatest, from, merge as merge$1, fromEvent, filter as filter$1, switchMap as switchMap$1, observeOn, asyncScheduler, withLatestFrom, first as first$1, interval, throwError, finalize as finalize$1, tap as tap$1, defer } from 'rxjs';
13
13
  import * as _ from 'lodash';
14
- import { isNil, isObject, cloneDeep, find, indexOf, reduce, map as map$1, isNumber, merge, forEach, some, orderBy, filter as filter$2, includes, pull, concat, isString, isBoolean } from 'lodash';
15
- import { skip, debounceTime, filter, distinctUntilChanged as distinctUntilChanged$1, takeUntil as takeUntil$1, startWith as startWith$1, map, tap, shareReplay, switchMap, first, catchError, finalize, take } from 'rxjs/operators';
14
+ import { isNil, isObject, cloneDeep, find, indexOf, reduce, map as map$2, isNumber, merge, forEach, some, orderBy, filter as filter$2, includes, pull, concat, isString, isBoolean } from 'lodash';
15
+ import { skip, debounceTime, filter, distinctUntilChanged as distinctUntilChanged$1, takeUntil as takeUntil$1, startWith as startWith$1, map as map$1, tap, shareReplay, switchMap, first, catchError, finalize, take } from 'rxjs/operators';
16
16
  import * as i5 from '@angular/material/datepicker';
17
17
  import { MatCalendar, DateRange, MAT_DATE_RANGE_SELECTION_STRATEGY, MatDatepickerModule } from '@angular/material/datepicker';
18
18
  import { transition, style, animate, trigger, state } from '@angular/animations';
@@ -241,10 +241,7 @@ class DrDatePickerService {
241
241
  this.isTimeframeSelectionEnabled = false;
242
242
  this._timeframe$ = new BehaviorSubject(TimeframeOption.DAY);
243
243
  this.timeframe$ = this._timeframe$.asObservable().pipe(distinctUntilChanged());
244
- // TODO: here we can have inconsistency between format and timeframe
245
- // we need to get rid of a separate subject and use pipe from timeframe$ for it
246
- // making @Input() format in component just setting the timeframe
247
- this.format$ = new BehaviorSubject(DateFromats.MAT_DEFAULT_DATE_FORMAT);
244
+ this.format$ = this.timeframe$.pipe(map((timeframe) => this.getConfiguredFormat(timeframe)), distinctUntilChanged());
248
245
  this.updatedQuarter$ = new Subject();
249
246
  this.weekSelectionChange$ = new Subject();
250
247
  this.updatedDateAndClose$ = new Subject();
@@ -301,9 +298,8 @@ class DrDatePickerService {
301
298
  return this.formatConfig[timeframe];
302
299
  }
303
300
  updateTimeframeAndFormat(format) {
304
- const normalizedFormat = this.normalizeValue(format || this.format$.getValue());
301
+ const normalizedFormat = this.normalizeValue(format);
305
302
  this.timeframe = this.getTimeframe(normalizedFormat);
306
- this.format$.next(this.getConfiguredFormat(this.timeframe));
307
303
  }
308
304
  normalizeValue(value) {
309
305
  return value.replace(/d/g, 'D');
@@ -1057,7 +1053,7 @@ class DrModelDebounceChangeDirective {
1057
1053
 
1058
1054
  const _c0$F = ["prefix"];
1059
1055
  const _c1$i = ["suffix"];
1060
- const _c2$7 = ["inputRef"];
1056
+ const _c2$8 = ["inputRef"];
1061
1057
  function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
1062
1058
  const _r8 = i0.ɵɵgetCurrentView();
1063
1059
  i0.ɵɵelementContainerStart(0);
@@ -1272,7 +1268,7 @@ class DrInputComponent {
1272
1268
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.prefixIcon = _t.first);
1273
1269
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suffixIcon = _t.first);
1274
1270
  } }, viewQuery: function DrInputComponent_Query(rf, ctx) { if (rf & 1) {
1275
- i0.ɵɵviewQuery(_c2$7, 5);
1271
+ i0.ɵɵviewQuery(_c2$8, 5);
1276
1272
  } if (rf & 2) {
1277
1273
  let _t;
1278
1274
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
@@ -1385,7 +1381,7 @@ class DrInputComponent {
1385
1381
 
1386
1382
  const _c0$E = ["labelTemplate"];
1387
1383
  const _c1$h = ["multiLabelTemplate"];
1388
- const _c2$6 = ["optionTemplate"];
1384
+ const _c2$7 = ["optionTemplate"];
1389
1385
  const _c3$5 = ["optionHeaderTemplate"];
1390
1386
  const _c4$3 = ["optionFooterTemplate"];
1391
1387
  const _c5 = function (a0) { return { item: a0 }; };
@@ -1622,7 +1618,7 @@ class DrSelectComponent {
1622
1618
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1623
1619
  i0.ɵɵcontentQuery(dirIndex, _c0$E, 5);
1624
1620
  i0.ɵɵcontentQuery(dirIndex, _c1$h, 5);
1625
- i0.ɵɵcontentQuery(dirIndex, _c2$6, 5);
1621
+ i0.ɵɵcontentQuery(dirIndex, _c2$7, 5);
1626
1622
  i0.ɵɵcontentQuery(dirIndex, _c3$5, 5);
1627
1623
  i0.ɵɵcontentQuery(dirIndex, _c4$3, 5);
1628
1624
  } if (rf & 2) {
@@ -2309,7 +2305,7 @@ class DrDatePickerComponent {
2309
2305
  this.displayValue$ = combineLatest([
2310
2306
  this.datePickerService.innerValue$.pipe(distinctUntilChanged$1()),
2311
2307
  this.datePickerService.timeframe$.pipe(distinctUntilChanged$1()),
2312
- ]).pipe(startWith$1([null, null]), map(([value, timeframe]) => this.transformDisplayedValue(value, timeframe)), tap((value) => {
2308
+ ]).pipe(startWith$1([null, null]), map$1(([value, timeframe]) => this.transformDisplayedValue(value, timeframe)), tap((value) => {
2313
2309
  if (value && this.datePickerService.calendarInstance) {
2314
2310
  this.datePickerService.calendarInstance.activeDate = value;
2315
2311
  this.datePickerService.calendarInstance.selected = value;
@@ -2519,7 +2515,6 @@ class DrDatePickerComponent {
2519
2515
  timeframe = this.datePickerService.getTimeframe(format);
2520
2516
  }
2521
2517
  this.datePickerService.timeframe = timeframe;
2522
- this.datePickerService.format$.next(format);
2523
2518
  }
2524
2519
  onOpen() {
2525
2520
  this.opened$.next(true);
@@ -4058,7 +4053,7 @@ class DrDynamicTagComponent {
4058
4053
  return (valueFromConfig || currentValues[0]);
4059
4054
  }
4060
4055
  getParentValueKey() {
4061
- return map$1(this.connectedTags, (connectedTag) => {
4056
+ return map$2(this.connectedTags, (connectedTag) => {
4062
4057
  if (isNumber(connectedTag.value)) {
4063
4058
  const momentData = moment__default.unix(connectedTag.value);
4064
4059
  const convertedParentKey = this.parentKeyFormatterFn
@@ -4246,7 +4241,7 @@ class DrTagComponent {
4246
4241
  }
4247
4242
  onDynamicHandler(event) {
4248
4243
  const connectedDateTagConfig = find(this.tagsConfig, (tagConfig) => tagConfig.name === event.name);
4249
- this.connectedTags = map$1(this.connectedTags, (tag) => {
4244
+ this.connectedTags = map$2(this.connectedTags, (tag) => {
4250
4245
  if (tag.id === connectedDateTagConfig.id) {
4251
4246
  tag.value = event.value;
4252
4247
  tag.locked = event.locked;
@@ -5117,7 +5112,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
5117
5112
  this.isNextDateDisabled = false;
5118
5113
  this.isPrevDateDisabled = false;
5119
5114
  this.onChangeDebounced$ = new Subject();
5120
- this.displayedFormattedValue$ = this.displayValue$.pipe(takeUntil$1(this.destroyed$), map((value) => {
5115
+ this.displayedFormattedValue$ = this.displayValue$.pipe(takeUntil$1(this.destroyed$), map$1((value) => {
5121
5116
  if (!value)
5122
5117
  return this.placeholder;
5123
5118
  return (this.datePickerService.getDisplayPrefix() +
@@ -5566,7 +5561,7 @@ function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) {
5566
5561
  i0.ɵɵadvance(1);
5567
5562
  i0.ɵɵtextInterpolate(index_r11 + 1);
5568
5563
  } }
5569
- const _c2$5 = function (a0, a1, a2) { return { index: a0, isLast: a1, step: a2 }; };
5564
+ const _c2$6 = function (a0, a1, a2) { return { index: a0, isLast: a1, step: a2 }; };
5570
5565
  function StepperComponent_ng_container_3_div_1_ng_container_10_Template(rf, ctx) { if (rf & 1) {
5571
5566
  i0.ɵɵelementContainer(0, 25);
5572
5567
  } if (rf & 2) {
@@ -5576,7 +5571,7 @@ function StepperComponent_ng_container_3_div_1_ng_container_10_Template(rf, ctx)
5576
5571
  const step_r10 = ctx_r23.$implicit;
5577
5572
  i0.ɵɵnextContext();
5578
5573
  const _r6 = i0.ɵɵreference(8);
5579
- i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$5, index_r11, isLast_r12, step_r10));
5574
+ i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$6, index_r11, isLast_r12, step_r10));
5580
5575
  } }
5581
5576
  function StepperComponent_ng_container_3_div_1_span_11_Template(rf, ctx) { if (rf & 1) {
5582
5577
  i0.ɵɵelementStart(0, "span", 26);
@@ -5596,7 +5591,7 @@ function StepperComponent_ng_container_3_div_1_ng_container_12_Template(rf, ctx)
5596
5591
  const step_r10 = ctx_r25.$implicit;
5597
5592
  i0.ɵɵnextContext();
5598
5593
  const _r6 = i0.ɵɵreference(8);
5599
- i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$5, index_r11, isLast_r12, step_r10));
5594
+ i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c2$6, index_r11, isLast_r12, step_r10));
5600
5595
  } }
5601
5596
  const _c3$4 = function (a0) { return { step: a0 }; };
5602
5597
  function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
@@ -6692,7 +6687,7 @@ function DrChatSuggestionsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1
6692
6687
  i0.ɵɵadvance(1);
6693
6688
  i0.ɵɵproperty("ngForOf", ctx_r3.visibleValues);
6694
6689
  } }
6695
- const _c2$4 = function (a0, a1, a2, a3) { return { "chat-suggestions--three-cols": a0, "chat-suggestions--two-cols": a1, "chat-suggestions--one-col": a2, "chat-suggestions--button-mode": a3 }; };
6690
+ const _c2$5 = function (a0, a1, a2, a3) { return { "chat-suggestions--three-cols": a0, "chat-suggestions--two-cols": a1, "chat-suggestions--one-col": a2, "chat-suggestions--button-mode": a3 }; };
6696
6691
  class DrChatSuggestionsComponent {
6697
6692
  get hiddenValues() {
6698
6693
  return JSON.parse(localStorage.getItem('aiChatSuggestions')) || [];
@@ -6798,7 +6793,7 @@ class DrChatSuggestionsComponent {
6798
6793
  i0.ɵɵtemplate(3, DrChatSuggestionsComponent_ng_template_3_Template, 2, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
6799
6794
  } if (rf & 2) {
6800
6795
  const _r2 = i0.ɵɵreference(4);
6801
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(3, _c2$4, ctx.colsCount === 3, ctx.colsCount === 2, ctx.colsCount === 1, ctx.buttonMode));
6796
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(3, _c2$5, ctx.colsCount === 3, ctx.colsCount === 2, ctx.colsCount === 1, ctx.buttonMode));
6802
6797
  i0.ɵɵadvance(2);
6803
6798
  i0.ɵɵproperty("ngIf", ctx.buttonMode)("ngIfElse", _r2);
6804
6799
  } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;align-items:flex-start;justify-content:center}[_nghost-%COMP%] .chat-suggestions[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center;max-width:956px}[_nghost-%COMP%] .chat-suggestions--button-mode[_ngcontent-%COMP%]{justify-content:flex-start}[_nghost-%COMP%] .chat-suggestions--button-mode[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{padding-top:32px}[_nghost-%COMP%] .chat-suggestions--one-col[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(1,300px)}[_nghost-%COMP%] .chat-suggestions--one-col[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(1,300px)}[_nghost-%COMP%] .chat-suggestions--two-cols[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(2,300px)}[_nghost-%COMP%] .chat-suggestions--two-cols[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(2,300px)}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(3,300px)}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(3,300px)}[_nghost-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%]{display:flex;position:relative;width:auto;margin-top:12px;padding:0 16px}[_nghost-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%]{z-index:3;background:linear-gradient(-90deg,#6969ff,#4eb7df) border-box;border-radius:2em;border:1.5px solid transparent}[_nghost-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%] button{background:#fff;border-radius:24px;color:#4646ce;border:none;cursor:pointer}[_nghost-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{display:none;position:absolute;width:100%;bottom:0;left:0;padding-bottom:56px;z-index:2}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%] button{color:#4646ce;background:#f2f2fb}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{display:grid;align-items:center;justify-content:center}[_nghost-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{padding:0 16px;display:grid;gap:28px;grid-auto-rows:minmax(86px,auto);background:#ffffffb3}[_nghost-%COMP%] .chat-suggestions__items__item[_ngcontent-%COMP%]{display:inline-flex;min-height:86px;width:300px;align-items:center;justify-content:center;text-align:center;padding:16px;border-radius:8px;background:#f2f2fb;box-shadow:0 1px 2px #00000026;font-size:14px;line-height:24px;color:#25258c}[_nghost-%COMP%] .chat-suggestions__items__item[_ngcontent-%COMP%]:hover{cursor:pointer;background:#eaeaff}"], changeDetection: 0 }); }
@@ -6823,7 +6818,7 @@ class DrChatSuggestionsComponent {
6823
6818
 
6824
6819
  const _c0$o = ["drChatHeader"];
6825
6820
  const _c1$a = ["drChatContent"];
6826
- const _c2$3 = ["messagesContainer"];
6821
+ const _c2$4 = ["messagesContainer"];
6827
6822
  function DrChatComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
6828
6823
  i0.ɵɵelementContainer(0, 8);
6829
6824
  } if (rf & 2) {
@@ -6958,7 +6953,7 @@ class DrChatComponent {
6958
6953
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatContent = _t.first);
6959
6954
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messages = _t);
6960
6955
  } }, viewQuery: function DrChatComponent_Query(rf, ctx) { if (rf & 1) {
6961
- i0.ɵɵviewQuery(_c2$3, 5);
6956
+ i0.ɵɵviewQuery(_c2$4, 5);
6962
6957
  i0.ɵɵviewQuery(DrChatSuggestionsComponent, 5);
6963
6958
  } if (rf & 2) {
6964
6959
  let _t;
@@ -7058,7 +7053,7 @@ function DrChatFormDropdownComponent_i_14_Template(rf, ctx) { if (rf & 1) {
7058
7053
  function DrChatFormDropdownComponent_dr_dot_flashing_15_Template(rf, ctx) { if (rf & 1) {
7059
7054
  i0.ɵɵelement(0, "dr-dot-flashing", 15);
7060
7055
  } }
7061
- const _c2$2 = function (a0) { return { "message-row_loading": a0 }; };
7056
+ const _c2$3 = function (a0) { return { "message-row_loading": a0 }; };
7062
7057
  const _c3$2 = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
7063
7058
  const _c4$1 = ["*"];
7064
7059
  class DrChatFormDropdownComponent {
@@ -7250,7 +7245,7 @@ class DrChatFormDropdownComponent {
7250
7245
  } if (rf & 2) {
7251
7246
  const _r1 = i0.ɵɵreference(7);
7252
7247
  let tmp_1_0;
7253
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c2$2, ctx.isUploadingFiles));
7248
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c2$3, ctx.isUploadingFiles));
7254
7249
  i0.ɵɵadvance(1);
7255
7250
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(17, _c3$2, ctx.inputFocus, !!(ctx.message == null ? null : (tmp_1_0 = ctx.message.trim()) == null ? null : tmp_1_0.length) || !!i0.ɵɵpipeBind1(2, 11, ctx.droppedFiles$).length));
7256
7251
  i0.ɵɵadvance(2);
@@ -7857,9 +7852,9 @@ class DrErrorComponent {
7857
7852
  this.displayAsLabel = false;
7858
7853
  this.noIcon = false;
7859
7854
  this.controlChange$ = new BehaviorSubject(null);
7860
- this.controlErrorStatus$ = this.controlChange$.pipe(filter$1(Boolean), switchMap$1((control) => control.statusChanges.pipe().pipe(map$2(() => control))), map$2((control) => control.status === 'INVALID' && !control.pristine));
7861
- this.error$ = this.controlErrorStatus$.pipe(observeOn(asyncScheduler), withLatestFrom(this.controlChange$), map$2(([show, control]) => [show, this.displayAsLabel ? this.errorString(control) : this.label]), map$2(([show, label]) => (show ? label : null)));
7862
- this.warning$ = this.controlChange$.pipe(map$2((control) => !!control.errors?.isWarning));
7855
+ this.controlErrorStatus$ = this.controlChange$.pipe(filter$1(Boolean), switchMap$1((control) => control.statusChanges.pipe().pipe(map(() => control))), map((control) => control.status === 'INVALID' && !control.pristine));
7856
+ this.error$ = this.controlErrorStatus$.pipe(observeOn(asyncScheduler), withLatestFrom(this.controlChange$), map(([show, control]) => [show, this.displayAsLabel ? this.errorString(control) : this.label]), map(([show, label]) => (show ? label : null)));
7857
+ this.warning$ = this.controlChange$.pipe(map((control) => !!control.errors?.isWarning));
7863
7858
  }
7864
7859
  set control(value) {
7865
7860
  if (value) {
@@ -8482,7 +8477,7 @@ class ScenarioService {
8482
8477
  return;
8483
8478
  if (!dateTag)
8484
8479
  return;
8485
- dateTag.subTags = map$1(dateTag.subTags, (subTag) => {
8480
+ dateTag.subTags = map$2(dateTag.subTags, (subTag) => {
8486
8481
  subTag.hidden = tag.toggle && !includes(tag.acceptableSubTags, subTag.subType);
8487
8482
  return subTag;
8488
8483
  });
@@ -9429,7 +9424,7 @@ function DrDropdownComponent_dr_dropdown_item_4_ng_container_3_Template(rf, ctx)
9429
9424
  const act_r2 = i0.ɵɵnextContext().$implicit;
9430
9425
  i0.ɵɵproperty("ngTemplateOutlet", act_r2.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$8, act_r2));
9431
9426
  } }
9432
- const _c2$1 = function () { return { withoutArrow: true }; };
9427
+ const _c2$2 = function () { return { withoutArrow: true }; };
9433
9428
  function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1) {
9434
9429
  const _r20 = i0.ɵɵgetCurrentView();
9435
9430
  i0.ɵɵelementStart(0, "dr-dropdown-item", 4);
@@ -9442,7 +9437,7 @@ function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1)
9442
9437
  const act_r2 = ctx.$implicit;
9443
9438
  const index_r3 = ctx.index;
9444
9439
  const ctx_r1 = i0.ɵɵnextContext();
9445
- i0.ɵɵproperty("drTooltip", ctx_r1.tooltipToShow(act_r2))("drTooltipPosition", "left")("drTooltipOptions", i0.ɵɵpureFunction0(15, _c2$1))("drTooltipClass", "dr-dropdown__tooltip")("drDropdown", ctx_r1.hasChildren(act_r2) && act_r2.children)("drDropdownClass", act_r2.childOptions == null ? null : act_r2.childOptions.class)("drDropdownInHover", true)("drDropdownPosition", act_r2.childOptions == null ? null : act_r2.childOptions.position)("disabled", ctx_r1.disabled(act_r2))("selected", ctx_r1.selected(act_r2))("divider", act_r2.separateLine);
9440
+ i0.ɵɵproperty("drTooltip", ctx_r1.tooltipToShow(act_r2))("drTooltipPosition", "left")("drTooltipOptions", i0.ɵɵpureFunction0(15, _c2$2))("drTooltipClass", "dr-dropdown__tooltip")("drDropdown", ctx_r1.hasChildren(act_r2) && act_r2.children)("drDropdownClass", act_r2.childOptions == null ? null : act_r2.childOptions.class)("drDropdownInHover", true)("drDropdownPosition", act_r2.childOptions == null ? null : act_r2.childOptions.position)("disabled", ctx_r1.disabled(act_r2))("selected", ctx_r1.selected(act_r2))("divider", act_r2.separateLine);
9446
9441
  i0.ɵɵattribute("data-analytics", ctx_r1.getDataAnalyticsTag(act_r2, index_r3));
9447
9442
  i0.ɵɵadvance(1);
9448
9443
  i0.ɵɵproperty("ngIf", !act_r2.templateRef);
@@ -9658,7 +9653,7 @@ class DropdownInstanceService {
9658
9653
  return this.instances.slice(this.instances.indexOf(ref));
9659
9654
  }
9660
9655
  inactive(ref) {
9661
- return this.instances$.pipe(map$2(() => this.getSequence(ref)), filter$1((value) => !!value.length), switchMap$1((value) => interval(200).pipe(map$2(() => value))), filter$1((emissions) => emissions.every((value) => !value.active())), takeUntil(this.destroy$));
9656
+ return this.instances$.pipe(map(() => this.getSequence(ref)), filter$1((value) => !!value.length), switchMap$1((value) => interval(200).pipe(map(() => value))), filter$1((emissions) => emissions.every((value) => !value.active())), takeUntil(this.destroy$));
9662
9657
  }
9663
9658
  }
9664
9659
 
@@ -10344,7 +10339,7 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
10344
10339
  i0.ɵɵclassMap(ctx_r1.chevronIconClass);
10345
10340
  i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$4, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$b, ctx_r1.chevronRotationDegree)));
10346
10341
  } }
10347
- const _c2 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
10342
+ const _c2$1 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
10348
10343
  const _c3 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
10349
10344
  class DrAccordionItemHeaderComponent {
10350
10345
  get isCollapsed() {
@@ -10401,7 +10396,7 @@ class DrAccordionItemHeaderComponent {
10401
10396
  i0.ɵɵclassMap(ctx.theme);
10402
10397
  i0.ɵɵclassProp("accordion-item-header-collapsed", ctx.isCollapsed)("accordion-item-header-expanded", ctx.expanded);
10403
10398
  } }, inputs: { chevronOrientation: "chevronOrientation", chevronPosition: "chevronPosition", icon: "icon", toggleOnChevronClick: "toggleOnChevronClick" }, ngContentSelectors: _c3, decls: 5, vars: 2, consts: [[3, "class", "dr-accordion-item-header-icon--additional-padding", 4, "ngIf"], [3, "class", "click", 4, "ngIf"], [3, "click"]], template: function DrAccordionItemHeaderComponent_Template(rf, ctx) { if (rf & 1) {
10404
- i0.ɵɵprojectionDef(_c2);
10399
+ i0.ɵɵprojectionDef(_c2$1);
10405
10400
  i0.ɵɵtemplate(0, DrAccordionItemHeaderComponent_i_0_Template, 1, 4, "i", 0);
10406
10401
  i0.ɵɵtemplate(1, DrAccordionItemHeaderComponent_i_1_Template, 1, 8, "i", 1);
10407
10402
  i0.ɵɵprojection(2);
@@ -10685,108 +10680,119 @@ class DrDetailsListComponent {
10685
10680
  }] }); })();
10686
10681
 
10687
10682
  const _c0$5 = ["content"];
10683
+ const _c1$1 = function (a0, a1) { return { "dr-icon-maximize": a0, "dr-icon-minimize": a1 }; };
10688
10684
  function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
10689
- const _r7 = i0.ɵɵgetCurrentView();
10690
- i0.ɵɵelementStart(0, "i", 10);
10691
- i0.ɵɵlistener("click", function DialogWrapperComponent_i_1_Template_i_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.closeDialog()); });
10685
+ const _r8 = i0.ɵɵgetCurrentView();
10686
+ i0.ɵɵelementStart(0, "i", 11);
10687
+ i0.ɵɵlistener("click", function DialogWrapperComponent_i_1_Template_i_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.toggleMaximize()); });
10688
+ i0.ɵɵelementEnd();
10689
+ } if (rf & 2) {
10690
+ const ctx_r0 = i0.ɵɵnextContext();
10691
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$1, !ctx_r0.isMaximized, ctx_r0.isMaximized));
10692
+ } }
10693
+ function DialogWrapperComponent_i_2_Template(rf, ctx) { if (rf & 1) {
10694
+ const _r10 = i0.ɵɵgetCurrentView();
10695
+ i0.ɵɵelementStart(0, "i", 12);
10696
+ i0.ɵɵlistener("click", function DialogWrapperComponent_i_2_Template_i_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.closeDialog()); });
10692
10697
  i0.ɵɵelementEnd();
10693
10698
  } }
10694
- function DialogWrapperComponent_div_2_h1_3_Template(rf, ctx) { if (rf & 1) {
10695
- i0.ɵɵelementStart(0, "h1", 14);
10699
+ function DialogWrapperComponent_div_3_h1_3_Template(rf, ctx) { if (rf & 1) {
10700
+ i0.ɵɵelementStart(0, "h1", 16);
10696
10701
  i0.ɵɵtext(1);
10697
10702
  i0.ɵɵelementEnd();
10698
10703
  } if (rf & 2) {
10699
- const ctx_r8 = i0.ɵɵnextContext(2);
10704
+ const ctx_r11 = i0.ɵɵnextContext(2);
10700
10705
  i0.ɵɵadvance(1);
10701
- i0.ɵɵtextInterpolate1(" ", ctx_r8.dialogData.subtitle, " ");
10706
+ i0.ɵɵtextInterpolate1(" ", ctx_r11.dialogData.subtitle, " ");
10702
10707
  } }
10703
- function DialogWrapperComponent_div_2_Template(rf, ctx) { if (rf & 1) {
10704
- i0.ɵɵelementStart(0, "div", 11)(1, "h1", 12);
10708
+ function DialogWrapperComponent_div_3_Template(rf, ctx) { if (rf & 1) {
10709
+ i0.ɵɵelementStart(0, "div", 13)(1, "h1", 14);
10705
10710
  i0.ɵɵtext(2);
10706
10711
  i0.ɵɵelementEnd();
10707
- i0.ɵɵtemplate(3, DialogWrapperComponent_div_2_h1_3_Template, 2, 1, "h1", 13);
10712
+ i0.ɵɵtemplate(3, DialogWrapperComponent_div_3_h1_3_Template, 2, 1, "h1", 15);
10708
10713
  i0.ɵɵelementEnd();
10709
10714
  } if (rf & 2) {
10710
- const ctx_r1 = i0.ɵɵnextContext();
10715
+ const ctx_r2 = i0.ɵɵnextContext();
10716
+ i0.ɵɵclassProp("with-max-button", ctx_r2.dialogData == null ? null : ctx_r2.dialogData.showMaximizeBtn);
10711
10717
  i0.ɵɵadvance(2);
10712
- i0.ɵɵtextInterpolate(ctx_r1.dialogData.title);
10718
+ i0.ɵɵtextInterpolate(ctx_r2.dialogData.title);
10713
10719
  i0.ɵɵadvance(1);
10714
- i0.ɵɵproperty("ngIf", ctx_r1.dialogData.subtitle);
10720
+ i0.ɵɵproperty("ngIf", ctx_r2.dialogData.subtitle);
10715
10721
  } }
10716
- function DialogWrapperComponent_span_4_Template(rf, ctx) { if (rf & 1) {
10717
- i0.ɵɵelementStart(0, "span", 15);
10718
- i0.ɵɵelement(1, "i", 16);
10722
+ function DialogWrapperComponent_span_5_Template(rf, ctx) { if (rf & 1) {
10723
+ i0.ɵɵelementStart(0, "span", 17);
10724
+ i0.ɵɵelement(1, "i", 18);
10719
10725
  i0.ɵɵelementEnd();
10720
10726
  } if (rf & 2) {
10721
- const ctx_r2 = i0.ɵɵnextContext();
10727
+ const ctx_r3 = i0.ɵɵnextContext();
10722
10728
  i0.ɵɵadvance(1);
10723
- i0.ɵɵstyleProp("color", (ctx_r2.dialogData.contentIcon == null ? null : ctx_r2.dialogData.contentIcon.color) || "inherit");
10724
- i0.ɵɵproperty("ngClass", ctx_r2.dialogData.contentIcon.class);
10729
+ i0.ɵɵstyleProp("color", (ctx_r3.dialogData.contentIcon == null ? null : ctx_r3.dialogData.contentIcon.color) || "inherit");
10730
+ i0.ɵɵproperty("ngClass", ctx_r3.dialogData.contentIcon.class);
10725
10731
  } }
10726
- function DialogWrapperComponent_dr_details_list_8_Template(rf, ctx) { if (rf & 1) {
10727
- i0.ɵɵelement(0, "dr-details-list", 17);
10732
+ function DialogWrapperComponent_dr_details_list_9_Template(rf, ctx) { if (rf & 1) {
10733
+ i0.ɵɵelement(0, "dr-details-list", 19);
10728
10734
  } if (rf & 2) {
10729
- const ctx_r4 = i0.ɵɵnextContext();
10730
- i0.ɵɵproperty("title", ctx_r4.dialogData.details.title)("items", ctx_r4.dialogData.details.items)("collapse", ctx_r4.dialogData.details.collapse);
10735
+ const ctx_r5 = i0.ɵɵnextContext();
10736
+ i0.ɵɵproperty("title", ctx_r5.dialogData.details.title)("items", ctx_r5.dialogData.details.items)("collapse", ctx_r5.dialogData.details.collapse);
10731
10737
  } }
10732
- function DialogWrapperComponent_div_9_span_2_Template(rf, ctx) { if (rf & 1) {
10733
- const _r13 = i0.ɵɵgetCurrentView();
10734
- i0.ɵɵelementStart(0, "span", 22)(1, "dr-button", 23);
10735
- i0.ɵɵlistener("click", function DialogWrapperComponent_div_9_span_2_Template_dr_button_click_1_listener() { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r12.onDecline()); });
10738
+ function DialogWrapperComponent_div_10_span_2_Template(rf, ctx) { if (rf & 1) {
10739
+ const _r16 = i0.ɵɵgetCurrentView();
10740
+ i0.ɵɵelementStart(0, "span", 24)(1, "dr-button", 25);
10741
+ i0.ɵɵlistener("click", function DialogWrapperComponent_div_10_span_2_Template_dr_button_click_1_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r15.onDecline()); });
10736
10742
  i0.ɵɵtext(2);
10737
10743
  i0.ɵɵelementEnd()();
10738
10744
  } if (rf & 2) {
10739
- const ctx_r9 = i0.ɵɵnextContext(2);
10740
- i0.ɵɵproperty("drTooltip", ctx_r9.dialogData.customButton.isDisabled && (ctx_r9.dialogData.tooltips == null ? null : ctx_r9.dialogData.tooltips.customDisabled));
10745
+ const ctx_r12 = i0.ɵɵnextContext(2);
10746
+ i0.ɵɵproperty("drTooltip", ctx_r12.dialogData.customButton.isDisabled && (ctx_r12.dialogData.tooltips == null ? null : ctx_r12.dialogData.tooltips.customDisabled));
10741
10747
  i0.ɵɵadvance(1);
10742
- i0.ɵɵproperty("theme", (ctx_r9.dialogData.customButton == null ? null : ctx_r9.dialogData.customButton.theme) || "secondary")("isLoading", ctx_r9.isLoading)("disabled", ctx_r9.dialogData.customButton.isDisabled)("drTooltip", ctx_r9.dialogData.tooltips == null ? null : ctx_r9.dialogData.tooltips.custom);
10748
+ i0.ɵɵproperty("theme", (ctx_r12.dialogData.customButton == null ? null : ctx_r12.dialogData.customButton.theme) || "secondary")("isLoading", ctx_r12.isLoading)("disabled", ctx_r12.dialogData.customButton.isDisabled)("drTooltip", ctx_r12.dialogData.tooltips == null ? null : ctx_r12.dialogData.tooltips.custom);
10743
10749
  i0.ɵɵadvance(1);
10744
- i0.ɵɵtextInterpolate(ctx_r9.dialogData.customButton.label);
10750
+ i0.ɵɵtextInterpolate(ctx_r12.dialogData.customButton.label);
10745
10751
  } }
10746
- function DialogWrapperComponent_div_9_span_3_Template(rf, ctx) { if (rf & 1) {
10747
- const _r15 = i0.ɵɵgetCurrentView();
10748
- i0.ɵɵelementStart(0, "span", 24)(1, "dr-button", 25);
10749
- i0.ɵɵlistener("click", function DialogWrapperComponent_div_9_span_3_Template_dr_button_click_1_listener() { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.closeDialog()); });
10752
+ function DialogWrapperComponent_div_10_span_3_Template(rf, ctx) { if (rf & 1) {
10753
+ const _r18 = i0.ɵɵgetCurrentView();
10754
+ i0.ɵɵelementStart(0, "span", 26)(1, "dr-button", 27);
10755
+ i0.ɵɵlistener("click", function DialogWrapperComponent_div_10_span_3_Template_dr_button_click_1_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r17.closeDialog()); });
10750
10756
  i0.ɵɵtext(2);
10751
10757
  i0.ɵɵelementEnd()();
10752
10758
  } if (rf & 2) {
10753
- const ctx_r10 = i0.ɵɵnextContext(2);
10754
- i0.ɵɵproperty("drTooltip", ctx_r10.dialogData.cancelButton.isDisabled && (ctx_r10.dialogData.tooltips == null ? null : ctx_r10.dialogData.tooltips.cancelDisabled));
10759
+ const ctx_r13 = i0.ɵɵnextContext(2);
10760
+ i0.ɵɵproperty("drTooltip", ctx_r13.dialogData.cancelButton.isDisabled && (ctx_r13.dialogData.tooltips == null ? null : ctx_r13.dialogData.tooltips.cancelDisabled));
10755
10761
  i0.ɵɵadvance(1);
10756
- i0.ɵɵproperty("theme", (ctx_r10.dialogData.cancelButton == null ? null : ctx_r10.dialogData.cancelButton.theme) || "secondary")("disabled", ctx_r10.dialogData.cancelButton.isDisabled)("drTooltip", ctx_r10.dialogData.tooltips == null ? null : ctx_r10.dialogData.tooltips.cancel);
10762
+ i0.ɵɵproperty("theme", (ctx_r13.dialogData.cancelButton == null ? null : ctx_r13.dialogData.cancelButton.theme) || "secondary")("disabled", ctx_r13.dialogData.cancelButton.isDisabled)("drTooltip", ctx_r13.dialogData.tooltips == null ? null : ctx_r13.dialogData.tooltips.cancel);
10757
10763
  i0.ɵɵadvance(1);
10758
- i0.ɵɵtextInterpolate(ctx_r10.dialogData.cancelButton.label);
10764
+ i0.ɵɵtextInterpolate(ctx_r13.dialogData.cancelButton.label);
10759
10765
  } }
10760
- function DialogWrapperComponent_div_9_span_4_Template(rf, ctx) { if (rf & 1) {
10761
- const _r17 = i0.ɵɵgetCurrentView();
10762
- i0.ɵɵelementStart(0, "span", 24)(1, "dr-button", 26);
10763
- i0.ɵɵlistener("click", function DialogWrapperComponent_div_9_span_4_Template_dr_button_click_1_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r16.onAcceptDialog()); });
10766
+ function DialogWrapperComponent_div_10_span_4_Template(rf, ctx) { if (rf & 1) {
10767
+ const _r20 = i0.ɵɵgetCurrentView();
10768
+ i0.ɵɵelementStart(0, "span", 26)(1, "dr-button", 28);
10769
+ i0.ɵɵlistener("click", function DialogWrapperComponent_div_10_span_4_Template_dr_button_click_1_listener() { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r19.onAcceptDialog()); });
10764
10770
  i0.ɵɵtext(2);
10765
10771
  i0.ɵɵelementEnd()();
10766
10772
  } if (rf & 2) {
10767
- const ctx_r11 = i0.ɵɵnextContext(2);
10768
- i0.ɵɵproperty("drTooltip", ctx_r11.dialogData.acceptButton.isDisabled && (ctx_r11.dialogData.tooltips == null ? null : ctx_r11.dialogData.tooltips.acceptDisabled));
10773
+ const ctx_r14 = i0.ɵɵnextContext(2);
10774
+ i0.ɵɵproperty("drTooltip", ctx_r14.dialogData.acceptButton.isDisabled && (ctx_r14.dialogData.tooltips == null ? null : ctx_r14.dialogData.tooltips.acceptDisabled));
10769
10775
  i0.ɵɵadvance(1);
10770
- i0.ɵɵproperty("theme", (ctx_r11.dialogData.acceptButton == null ? null : ctx_r11.dialogData.acceptButton.theme) || "primary")("isLoading", ctx_r11.isLoading)("disabled", ctx_r11.dialogData.acceptButton.isDisabled)("drTooltip", ctx_r11.dialogData.tooltips == null ? null : ctx_r11.dialogData.tooltips.accept);
10776
+ i0.ɵɵproperty("theme", (ctx_r14.dialogData.acceptButton == null ? null : ctx_r14.dialogData.acceptButton.theme) || "primary")("isLoading", ctx_r14.isLoading)("disabled", ctx_r14.dialogData.acceptButton.isDisabled)("drTooltip", ctx_r14.dialogData.tooltips == null ? null : ctx_r14.dialogData.tooltips.accept);
10771
10777
  i0.ɵɵadvance(1);
10772
- i0.ɵɵtextInterpolate(ctx_r11.dialogData.acceptButton.label);
10778
+ i0.ɵɵtextInterpolate(ctx_r14.dialogData.acceptButton.label);
10773
10779
  } }
10774
- function DialogWrapperComponent_div_9_Template(rf, ctx) { if (rf & 1) {
10775
- i0.ɵɵelementStart(0, "div", 18)(1, "div", 19);
10776
- i0.ɵɵtemplate(2, DialogWrapperComponent_div_9_span_2_Template, 3, 6, "span", 20);
10777
- i0.ɵɵtemplate(3, DialogWrapperComponent_div_9_span_3_Template, 3, 5, "span", 21);
10778
- i0.ɵɵtemplate(4, DialogWrapperComponent_div_9_span_4_Template, 3, 6, "span", 21);
10780
+ function DialogWrapperComponent_div_10_Template(rf, ctx) { if (rf & 1) {
10781
+ i0.ɵɵelementStart(0, "div", 20)(1, "div", 21);
10782
+ i0.ɵɵtemplate(2, DialogWrapperComponent_div_10_span_2_Template, 3, 6, "span", 22);
10783
+ i0.ɵɵtemplate(3, DialogWrapperComponent_div_10_span_3_Template, 3, 5, "span", 23);
10784
+ i0.ɵɵtemplate(4, DialogWrapperComponent_div_10_span_4_Template, 3, 6, "span", 23);
10779
10785
  i0.ɵɵelementEnd()();
10780
10786
  } if (rf & 2) {
10781
- const ctx_r5 = i0.ɵɵnextContext();
10787
+ const ctx_r6 = i0.ɵɵnextContext();
10782
10788
  i0.ɵɵadvance(2);
10783
- i0.ɵɵproperty("ngIf", ctx_r5.dialogData.customButton);
10789
+ i0.ɵɵproperty("ngIf", ctx_r6.dialogData.customButton);
10784
10790
  i0.ɵɵadvance(1);
10785
- i0.ɵɵproperty("ngIf", ctx_r5.dialogData.cancelButton);
10791
+ i0.ɵɵproperty("ngIf", ctx_r6.dialogData.cancelButton);
10786
10792
  i0.ɵɵadvance(1);
10787
- i0.ɵɵproperty("ngIf", ctx_r5.dialogData.acceptButton);
10793
+ i0.ɵɵproperty("ngIf", ctx_r6.dialogData.acceptButton);
10788
10794
  } }
10789
- const _c1$1 = function (a0) { return { "flex-position": a0 }; };
10795
+ const _c2 = function (a0) { return { "flex-position": a0 }; };
10790
10796
  class DialogWrapperComponent {
10791
10797
  get elementClass() {
10792
10798
  return this.dialogData?.theme?.noThemeSizeClass ? null : this.dialogData?.theme?.themeSize || 'medium-modal';
@@ -10798,6 +10804,8 @@ class DialogWrapperComponent {
10798
10804
  this.dialogData = dialogData;
10799
10805
  this.saving$ = new BehaviorSubject(false);
10800
10806
  this.destroy$ = new Subject();
10807
+ this.isMaximized = false;
10808
+ this.isMaximized$ = new BehaviorSubject(false);
10801
10809
  }
10802
10810
  ngAfterViewInit() {
10803
10811
  if (!this.dialogData.child) {
@@ -10806,6 +10814,7 @@ class DialogWrapperComponent {
10806
10814
  const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.dialogData.child);
10807
10815
  this.childComponent = this.content.createComponent(componentFactory).instance;
10808
10816
  this.childComponent.closeDialog = this.closeDialog.bind(this);
10817
+ this.childComponent.isMaximized$ = this.isMaximized$;
10809
10818
  this.childComponent.onAcceptDialog = this.onAcceptDialog.bind(this);
10810
10819
  // pass data to component child
10811
10820
  if (this.dialogData.childData) {
@@ -10817,6 +10826,10 @@ class DialogWrapperComponent {
10817
10826
  // }
10818
10827
  this.cdr.detectChanges();
10819
10828
  }
10829
+ toggleMaximize() {
10830
+ this.isMaximized = !this.isMaximized;
10831
+ this.isMaximized$.next(this.isMaximized);
10832
+ }
10820
10833
  closeDialog(data) {
10821
10834
  this.dialogRef.close(data || false);
10822
10835
  }
@@ -10865,28 +10878,32 @@ class DialogWrapperComponent {
10865
10878
  } if (rf & 2) {
10866
10879
  let _t;
10867
10880
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
10868
- } }, hostVars: 2, hostBindings: function DialogWrapperComponent_HostBindings(rf, ctx) { if (rf & 2) {
10881
+ } }, hostVars: 4, hostBindings: function DialogWrapperComponent_HostBindings(rf, ctx) { if (rf & 2) {
10869
10882
  i0.ɵɵclassMap(ctx.elementClass);
10870
- } }, decls: 10, vars: 13, consts: [[1, "dialog-wrapper"], ["class", "dr-icon-exit", "data-test", "close_btn", 3, "click", 4, "ngIf"], ["header", "", "class", "dialog-wrapper__header", 4, "ngIf"], [1, "dialog-wrapper__content", 3, "ngClass"], ["class", "dialog-wrapper__content__icon", 4, "ngIf"], [1, "dialog-content__wrapper", 3, "innerHTML"], [1, "dialog-wrapper__content__anchor"], ["content", ""], [3, "title", "items", "collapse", 4, "ngIf"], ["footer", "", "class", "dialog-wrapper__footer", 4, "ngIf"], ["data-test", "close_btn", 1, "dr-icon-exit", 3, "click"], ["header", "", 1, "dialog-wrapper__header"], ["data-test", "dialogTitle", 1, "dialog-wrapper__header__title"], ["class", "dialog-wrapper__header__subtitle", "data-test", "dialogSubtitle", 4, "ngIf"], ["data-test", "dialogSubtitle", 1, "dialog-wrapper__header__subtitle"], [1, "dialog-wrapper__content__icon"], [3, "ngClass"], [3, "title", "items", "collapse"], ["footer", "", 1, "dialog-wrapper__footer"], [1, "dialog-wrapper__footer__buttons"], ["class", "dialog-wrapper__footer__button-wrapper dialog-wrapper__footer__button-wrapper--custom", 3, "drTooltip", 4, "ngIf"], ["class", "dialog-wrapper__footer__button-wrapper", 3, "drTooltip", 4, "ngIf"], [1, "dialog-wrapper__footer__button-wrapper", "dialog-wrapper__footer__button-wrapper--custom", 3, "drTooltip"], ["data-test", "declineBtn", 3, "theme", "isLoading", "disabled", "drTooltip", "click"], [1, "dialog-wrapper__footer__button-wrapper", 3, "drTooltip"], ["data-test", "closeBtn", 3, "theme", "disabled", "drTooltip", "click"], ["data-test", "acceptBtn", 3, "theme", "isLoading", "disabled", "drTooltip", "click"]], template: function DialogWrapperComponent_Template(rf, ctx) { if (rf & 1) {
10883
+ i0.ɵɵclassProp("maximized-modal", ctx.isMaximized);
10884
+ } }, decls: 11, vars: 14, consts: [[1, "dialog-wrapper"], ["data-test", "maximize_btn", 3, "ngClass", "click", 4, "ngIf"], ["class", "dr-icon-exit", "data-test", "close_btn", 3, "click", 4, "ngIf"], ["header", "", "class", "dialog-wrapper__header", 3, "with-max-button", 4, "ngIf"], [1, "dialog-wrapper__content", 3, "ngClass"], ["class", "dialog-wrapper__content__icon", 4, "ngIf"], [1, "dialog-content__wrapper", 3, "innerHTML"], [1, "dialog-wrapper__content__anchor"], ["content", ""], [3, "title", "items", "collapse", 4, "ngIf"], ["footer", "", "class", "dialog-wrapper__footer", 4, "ngIf"], ["data-test", "maximize_btn", 3, "ngClass", "click"], ["data-test", "close_btn", 1, "dr-icon-exit", 3, "click"], ["header", "", 1, "dialog-wrapper__header"], ["data-test", "dialogTitle", 1, "dialog-wrapper__header__title"], ["class", "dialog-wrapper__header__subtitle", "data-test", "dialogSubtitle", 4, "ngIf"], ["data-test", "dialogSubtitle", 1, "dialog-wrapper__header__subtitle"], [1, "dialog-wrapper__content__icon"], [3, "ngClass"], [3, "title", "items", "collapse"], ["footer", "", 1, "dialog-wrapper__footer"], [1, "dialog-wrapper__footer__buttons"], ["class", "dialog-wrapper__footer__button-wrapper dialog-wrapper__footer__button-wrapper--custom", 3, "drTooltip", 4, "ngIf"], ["class", "dialog-wrapper__footer__button-wrapper", 3, "drTooltip", 4, "ngIf"], [1, "dialog-wrapper__footer__button-wrapper", "dialog-wrapper__footer__button-wrapper--custom", 3, "drTooltip"], ["data-test", "declineBtn", 3, "theme", "isLoading", "disabled", "drTooltip", "click"], [1, "dialog-wrapper__footer__button-wrapper", 3, "drTooltip"], ["data-test", "closeBtn", 3, "theme", "disabled", "drTooltip", "click"], ["data-test", "acceptBtn", 3, "theme", "isLoading", "disabled", "drTooltip", "click"]], template: function DialogWrapperComponent_Template(rf, ctx) { if (rf & 1) {
10871
10885
  i0.ɵɵelementStart(0, "div", 0);
10872
- i0.ɵɵtemplate(1, DialogWrapperComponent_i_1_Template, 1, 0, "i", 1);
10873
- i0.ɵɵtemplate(2, DialogWrapperComponent_div_2_Template, 4, 2, "div", 2);
10874
- i0.ɵɵelementStart(3, "div", 3);
10875
- i0.ɵɵtemplate(4, DialogWrapperComponent_span_4_Template, 2, 3, "span", 4);
10876
- i0.ɵɵelement(5, "span", 5)(6, "span", 6, 7);
10886
+ i0.ɵɵtemplate(1, DialogWrapperComponent_i_1_Template, 1, 4, "i", 1);
10887
+ i0.ɵɵtemplate(2, DialogWrapperComponent_i_2_Template, 1, 0, "i", 2);
10888
+ i0.ɵɵtemplate(3, DialogWrapperComponent_div_3_Template, 4, 4, "div", 3);
10889
+ i0.ɵɵelementStart(4, "div", 4);
10890
+ i0.ɵɵtemplate(5, DialogWrapperComponent_span_5_Template, 2, 3, "span", 5);
10891
+ i0.ɵɵelement(6, "span", 6)(7, "span", 7, 8);
10877
10892
  i0.ɵɵelementEnd();
10878
- i0.ɵɵtemplate(8, DialogWrapperComponent_dr_details_list_8_Template, 1, 3, "dr-details-list", 8);
10879
- i0.ɵɵtemplate(9, DialogWrapperComponent_div_9_Template, 5, 3, "div", 9);
10893
+ i0.ɵɵtemplate(9, DialogWrapperComponent_dr_details_list_9_Template, 1, 3, "dr-details-list", 9);
10894
+ i0.ɵɵtemplate(10, DialogWrapperComponent_div_10_Template, 5, 3, "div", 10);
10880
10895
  i0.ɵɵelementEnd();
10881
10896
  } if (rf & 2) {
10882
10897
  i0.ɵɵclassProp("dialog-wrapper--confirmation-no-title", (ctx.dialogData.theme == null ? null : ctx.dialogData.theme.isConfirmation) && !ctx.dialogData.title);
10883
10898
  i0.ɵɵadvance(1);
10899
+ i0.ɵɵproperty("ngIf", ctx.dialogData == null ? null : ctx.dialogData.showMaximizeBtn);
10900
+ i0.ɵɵadvance(1);
10884
10901
  i0.ɵɵproperty("ngIf", !(ctx.dialogData == null ? null : ctx.dialogData.hideCloseBtn));
10885
10902
  i0.ɵɵadvance(1);
10886
10903
  i0.ɵɵproperty("ngIf", ctx.dialogData.title);
10887
10904
  i0.ɵɵadvance(1);
10888
10905
  i0.ɵɵclassProp("dialog-wrapper__content--no-padding", ctx.dialogData.theme == null ? null : ctx.dialogData.theme.contentNoPadding);
10889
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$1, (ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class) && !ctx.childComponent));
10906
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2, (ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class) && !ctx.childComponent));
10890
10907
  i0.ɵɵadvance(1);
10891
10908
  i0.ɵɵproperty("ngIf", ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class);
10892
10909
  i0.ɵɵadvance(1);
@@ -10895,11 +10912,11 @@ class DialogWrapperComponent {
10895
10912
  i0.ɵɵproperty("ngIf", ctx.dialogData.details);
10896
10913
  i0.ɵɵadvance(1);
10897
10914
  i0.ɵɵproperty("ngIf", ctx.dialogData.cancelButton || ctx.dialogData.acceptButton);
10898
- } }, dependencies: [i1.NgClass, i1.NgIf, DrButtonComponent, DrTooltipDirective, DrDetailsListComponent], styles: [".small-modal[_nghost-%COMP%], .small-modal-max-height[_nghost-%COMP%]{min-height:188px;max-height:467px;min-width:400px;max-width:400px}.medium-modal[_nghost-%COMP%], .medium-modal-max-height[_nghost-%COMP%]{min-height:188px;max-height:467px;min-width:632px;max-width:632px}.medium-small-modal[_nghost-%COMP%]{min-height:188px;max-height:345px;min-width:460px;max-width:460px}.medium-modal-max-height[_nghost-%COMP%], .small-modal-max-height[_nghost-%COMP%]{max-height:85vh}.large-modal[_nghost-%COMP%]{min-width:750px;max-width:750px}.xl-medium-modal[_nghost-%COMP%]{min-width:850px;max-width:850px}.medium-large-modal[_nghost-%COMP%]{min-width:669px;max-width:669px}.xl-modal[_nghost-%COMP%]{min-height:188px;max-height:800px;min-width:1100px;max-width:1100px}.xl-custom-modal[_nghost-%COMP%]{min-height:188px;max-height:800px;min-width:1100px;max-width:100%} .dialog-wrapper{display:flex;justify-content:space-between;flex-direction:column;position:relative} .dialog-wrapper>.dr-icon-exit{z-index:1;position:absolute;right:32px;top:16px;color:#6d6e6f;cursor:pointer} .dialog-wrapper__header{display:flex;flex-direction:column;padding:16px 56px 16px 32px;border-bottom:1px solid #dfe0e3} .dialog-wrapper__header__title{color:#333;position:static;font-weight:600;font-size:16px;line-height:24px;margin-top:0;margin-bottom:0} .dialog-wrapper__header__subtitle{color:#333;font-weight:400;font-size:14px;line-height:22px;margin:4px 0 0} .dialog-wrapper--confirmation-no-title{padding-top:16px;height:100%} .dialog-wrapper__content{overflow-y:inherit;font-size:14px;font-weight:400;line-height:22px;padding:24px 32px 32px} .dialog-wrapper__content__anchor{display:none} .dialog-wrapper__content--no-padding{padding:0} .dialog-wrapper__content__icon{margin-right:10px;top:5px;position:relative} .dialog-wrapper__content.flex-position{display:flex} .dialog-wrapper__content .dialog-content__wrapper{white-space:pre-line} .dialog-wrapper dr-details-list{margin-top:-24px;padding:0 32px 32px} .dialog-wrapper .confirmation-question{font-weight:500;margin-top:8px} .dialog-wrapper__footer{border-top:1px solid #dfe0e3} .dialog-wrapper__footer__buttons{display:flex;justify-content:flex-end;padding:11px 32px} .dialog-wrapper__footer__buttons>dr-button:nth-child(n+2){margin-left:12px} .dialog-wrapper__footer__button-wrapper:nth-child(n+2){margin-left:12px} .dialog-wrapper__footer__button-wrapper--custom:nth-last-child(3){margin-right:auto}"] }); }
10915
+ } }, dependencies: [i1.NgClass, i1.NgIf, DrButtonComponent, DrTooltipDirective, DrDetailsListComponent], styles: [".small-modal[_nghost-%COMP%], .small-modal-max-height[_nghost-%COMP%]{min-height:188px;max-height:467px;min-width:400px;max-width:400px}.medium-modal[_nghost-%COMP%], .medium-modal-max-height[_nghost-%COMP%]{min-height:188px;max-height:467px;min-width:632px;max-width:632px}.medium-small-modal[_nghost-%COMP%]{min-height:188px;max-height:345px;min-width:460px;max-width:460px}.medium-modal-max-height[_nghost-%COMP%], .small-modal-max-height[_nghost-%COMP%]{max-height:85vh}.large-modal[_nghost-%COMP%]{min-width:750px;max-width:750px}.xl-medium-modal[_nghost-%COMP%]{min-width:850px;max-width:850px}.medium-large-modal[_nghost-%COMP%]{min-width:669px;max-width:669px}.xl-modal[_nghost-%COMP%]{min-height:188px;max-height:800px;min-width:1100px;max-width:1100px}.xl-custom-modal[_nghost-%COMP%]{min-height:188px;max-height:800px;min-width:1100px;max-width:100%}.maximized-modal[_nghost-%COMP%]{min-height:calc(100vh - 64px);max-height:calc(100vh - 64px);min-width:calc(100vw - 64px);max-width:calc(100vw - 64px)} .dialog-wrapper{display:flex;justify-content:space-between;flex-direction:column;position:relative} .dialog-wrapper>.dr-icon-exit{z-index:1;position:absolute;right:32px;top:16px;color:#6d6e6f;cursor:pointer} .dialog-wrapper>.dr-icon-maximize, .dialog-wrapper .dr-icon-minimize{z-index:1;position:absolute;right:56px;top:18px;font-size:20px;color:#6d6e6f;cursor:pointer} .dialog-wrapper__header{display:flex;flex-direction:column;padding:16px 56px 16px 32px;border-bottom:1px solid #dfe0e3} .dialog-wrapper__header.with-max-button{padding:16px 76px 16px 32px} .dialog-wrapper__header__title{color:#333;position:static;font-weight:600;font-size:16px;line-height:24px;margin-top:0;margin-bottom:0} .dialog-wrapper__header__subtitle{color:#333;font-weight:400;font-size:14px;line-height:22px;margin:4px 0 0} .dialog-wrapper--confirmation-no-title{padding-top:16px;height:100%} .dialog-wrapper__content{overflow-y:inherit;font-size:14px;font-weight:400;line-height:22px;padding:24px 32px 32px} .dialog-wrapper__content__anchor{display:none} .dialog-wrapper__content--no-padding{padding:0} .dialog-wrapper__content__icon{margin-right:10px;top:5px;position:relative} .dialog-wrapper__content.flex-position{display:flex} .dialog-wrapper__content .dialog-content__wrapper{white-space:pre-line} .dialog-wrapper dr-details-list{margin-top:-24px;padding:0 32px 32px} .dialog-wrapper .confirmation-question{font-weight:500;margin-top:8px} .dialog-wrapper__footer{border-top:1px solid #dfe0e3} .dialog-wrapper__footer__buttons{display:flex;justify-content:flex-end;padding:11px 32px} .dialog-wrapper__footer__buttons>dr-button:nth-child(n+2){margin-left:12px} .dialog-wrapper__footer__button-wrapper:nth-child(n+2){margin-left:12px} .dialog-wrapper__footer__button-wrapper--custom:nth-last-child(3){margin-right:auto}"] }); }
10899
10916
  }
10900
10917
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogWrapperComponent, [{
10901
10918
  type: Component,
10902
- args: [{ selector: 'dr-dialog-wrapper', template: "<div class=\"dialog-wrapper\" [class.dialog-wrapper--confirmation-no-title]=\"dialogData.theme?.isConfirmation && !dialogData.title\">\n <i class=\"dr-icon-exit\" data-test=\"close_btn\" (click)=\"closeDialog()\" *ngIf=\"!dialogData?.hideCloseBtn\"></i>\n\n <div header class=\"dialog-wrapper__header\" *ngIf=\"dialogData.title\">\n <h1 class=\"dialog-wrapper__header__title\" data-test=\"dialogTitle\">{{ dialogData.title }}</h1>\n <h1 class=\"dialog-wrapper__header__subtitle\" data-test=\"dialogSubtitle\" *ngIf=\"dialogData.subtitle\">\n {{ dialogData.subtitle }}\n </h1>\n </div>\n <div\n class=\"dialog-wrapper__content\"\n [class.dialog-wrapper__content--no-padding]=\"dialogData.theme?.contentNoPadding\"\n [ngClass]=\"{ 'flex-position': dialogData.contentIcon?.class && !childComponent }\">\n <span *ngIf=\"dialogData.contentIcon?.class\" class=\"dialog-wrapper__content__icon\">\n <i [ngClass]=\"dialogData.contentIcon.class\" [style.color]=\"dialogData.contentIcon?.color || 'inherit'\"></i>\n </span>\n <span class=\"dialog-content__wrapper\" [innerHTML]=\"dialogData.content\"></span>\n <span #content class=\"dialog-wrapper__content__anchor\"> </span>\n </div>\n <dr-details-list\n *ngIf=\"dialogData.details\"\n [title]=\"dialogData.details.title\"\n [items]=\"dialogData.details.items\"\n [collapse]=\"dialogData.details.collapse\">\n </dr-details-list>\n <div footer class=\"dialog-wrapper__footer\" *ngIf=\"dialogData.cancelButton || dialogData.acceptButton\">\n <div class=\"dialog-wrapper__footer__buttons\">\n <span\n *ngIf=\"dialogData.customButton\"\n class=\"dialog-wrapper__footer__button-wrapper dialog-wrapper__footer__button-wrapper--custom\"\n [drTooltip]=\"dialogData.customButton.isDisabled && dialogData.tooltips?.customDisabled\">\n <dr-button\n (click)=\"onDecline()\"\n [theme]=\"dialogData.customButton?.theme || 'secondary'\"\n [isLoading]=\"isLoading\"\n data-test=\"declineBtn\"\n [disabled]=\"dialogData.customButton.isDisabled\"\n [drTooltip]=\"dialogData.tooltips?.custom\"\n >{{ dialogData.customButton.label }}</dr-button\n >\n </span>\n <span\n *ngIf=\"dialogData.cancelButton\"\n class=\"dialog-wrapper__footer__button-wrapper\"\n [drTooltip]=\"dialogData.cancelButton.isDisabled && dialogData.tooltips?.cancelDisabled\">\n <dr-button\n (click)=\"closeDialog()\"\n [theme]=\"dialogData.cancelButton?.theme || 'secondary'\"\n data-test=\"closeBtn\"\n [disabled]=\"dialogData.cancelButton.isDisabled\"\n [drTooltip]=\"dialogData.tooltips?.cancel\"\n >{{ dialogData.cancelButton.label }}</dr-button\n >\n </span>\n <span\n *ngIf=\"dialogData.acceptButton\"\n class=\"dialog-wrapper__footer__button-wrapper\"\n [drTooltip]=\"dialogData.acceptButton.isDisabled && dialogData.tooltips?.acceptDisabled\">\n <dr-button\n (click)=\"onAcceptDialog()\"\n [theme]=\"dialogData.acceptButton?.theme || 'primary'\"\n [isLoading]=\"isLoading\"\n data-test=\"acceptBtn\"\n [disabled]=\"dialogData.acceptButton.isDisabled\"\n [drTooltip]=\"dialogData.tooltips?.accept\"\n >{{ dialogData.acceptButton.label }}</dr-button\n >\n </span>\n </div>\n </div>\n</div>\n", styles: [":host.small-modal,:host.small-modal-max-height{min-height:188px;max-height:467px;min-width:400px;max-width:400px}:host.medium-modal,:host.medium-modal-max-height{min-height:188px;max-height:467px;min-width:632px;max-width:632px}:host.medium-small-modal{min-height:188px;max-height:345px;min-width:460px;max-width:460px}:host.medium-modal-max-height,:host.small-modal-max-height{max-height:85vh}:host.large-modal{min-width:750px;max-width:750px}:host.xl-medium-modal{min-width:850px;max-width:850px}:host.medium-large-modal{min-width:669px;max-width:669px}:host.xl-modal{min-height:188px;max-height:800px;min-width:1100px;max-width:1100px}:host.xl-custom-modal{min-height:188px;max-height:800px;min-width:1100px;max-width:100%}::ng-deep .dialog-wrapper{display:flex;justify-content:space-between;flex-direction:column;position:relative}::ng-deep .dialog-wrapper>.dr-icon-exit{z-index:1;position:absolute;right:32px;top:16px;color:#6d6e6f;cursor:pointer}::ng-deep .dialog-wrapper__header{display:flex;flex-direction:column;padding:16px 56px 16px 32px;border-bottom:1px solid #dfe0e3}::ng-deep .dialog-wrapper__header__title{color:#333;position:static;font-weight:600;font-size:16px;line-height:24px;margin-top:0;margin-bottom:0}::ng-deep .dialog-wrapper__header__subtitle{color:#333;font-weight:400;font-size:14px;line-height:22px;margin:4px 0 0}::ng-deep .dialog-wrapper--confirmation-no-title{padding-top:16px;height:100%}::ng-deep .dialog-wrapper__content{overflow-y:inherit;font-size:14px;font-weight:400;line-height:22px;padding:24px 32px 32px}::ng-deep .dialog-wrapper__content__anchor{display:none}::ng-deep .dialog-wrapper__content--no-padding{padding:0}::ng-deep .dialog-wrapper__content__icon{margin-right:10px;top:5px;position:relative}::ng-deep .dialog-wrapper__content.flex-position{display:flex}::ng-deep .dialog-wrapper__content .dialog-content__wrapper{white-space:pre-line}::ng-deep .dialog-wrapper dr-details-list{margin-top:-24px;padding:0 32px 32px}::ng-deep .dialog-wrapper .confirmation-question{font-weight:500;margin-top:8px}::ng-deep .dialog-wrapper__footer{border-top:1px solid #dfe0e3}::ng-deep .dialog-wrapper__footer__buttons{display:flex;justify-content:flex-end;padding:11px 32px}::ng-deep .dialog-wrapper__footer__buttons>dr-button:nth-child(n+2){margin-left:12px}::ng-deep .dialog-wrapper__footer__button-wrapper:nth-child(n+2){margin-left:12px}::ng-deep .dialog-wrapper__footer__button-wrapper--custom:nth-last-child(3){margin-right:auto}\n"] }]
10919
+ args: [{ selector: 'dr-dialog-wrapper', template: "<div class=\"dialog-wrapper\" [class.dialog-wrapper--confirmation-no-title]=\"dialogData.theme?.isConfirmation && !dialogData.title\">\n <i\n *ngIf=\"dialogData?.showMaximizeBtn\"\n [ngClass]=\"{ 'dr-icon-maximize': !isMaximized, 'dr-icon-minimize': isMaximized }\"\n (click)=\"toggleMaximize()\"\n data-test=\"maximize_btn\"></i>\n <i class=\"dr-icon-exit\" data-test=\"close_btn\" (click)=\"closeDialog()\" *ngIf=\"!dialogData?.hideCloseBtn\"></i>\n\n <div header class=\"dialog-wrapper__header\" [class.with-max-button]=\"dialogData?.showMaximizeBtn\" *ngIf=\"dialogData.title\">\n <h1 class=\"dialog-wrapper__header__title\" data-test=\"dialogTitle\">{{ dialogData.title }}</h1>\n <h1 class=\"dialog-wrapper__header__subtitle\" data-test=\"dialogSubtitle\" *ngIf=\"dialogData.subtitle\">\n {{ dialogData.subtitle }}\n </h1>\n </div>\n <div\n class=\"dialog-wrapper__content\"\n [class.dialog-wrapper__content--no-padding]=\"dialogData.theme?.contentNoPadding\"\n [ngClass]=\"{ 'flex-position': dialogData.contentIcon?.class && !childComponent }\">\n <span *ngIf=\"dialogData.contentIcon?.class\" class=\"dialog-wrapper__content__icon\">\n <i [ngClass]=\"dialogData.contentIcon.class\" [style.color]=\"dialogData.contentIcon?.color || 'inherit'\"></i>\n </span>\n <span class=\"dialog-content__wrapper\" [innerHTML]=\"dialogData.content\"></span>\n <span #content class=\"dialog-wrapper__content__anchor\"> </span>\n </div>\n <dr-details-list\n *ngIf=\"dialogData.details\"\n [title]=\"dialogData.details.title\"\n [items]=\"dialogData.details.items\"\n [collapse]=\"dialogData.details.collapse\">\n </dr-details-list>\n <div footer class=\"dialog-wrapper__footer\" *ngIf=\"dialogData.cancelButton || dialogData.acceptButton\">\n <div class=\"dialog-wrapper__footer__buttons\">\n <span\n *ngIf=\"dialogData.customButton\"\n class=\"dialog-wrapper__footer__button-wrapper dialog-wrapper__footer__button-wrapper--custom\"\n [drTooltip]=\"dialogData.customButton.isDisabled && dialogData.tooltips?.customDisabled\">\n <dr-button\n (click)=\"onDecline()\"\n [theme]=\"dialogData.customButton?.theme || 'secondary'\"\n [isLoading]=\"isLoading\"\n data-test=\"declineBtn\"\n [disabled]=\"dialogData.customButton.isDisabled\"\n [drTooltip]=\"dialogData.tooltips?.custom\"\n >{{ dialogData.customButton.label }}</dr-button\n >\n </span>\n <span\n *ngIf=\"dialogData.cancelButton\"\n class=\"dialog-wrapper__footer__button-wrapper\"\n [drTooltip]=\"dialogData.cancelButton.isDisabled && dialogData.tooltips?.cancelDisabled\">\n <dr-button\n (click)=\"closeDialog()\"\n [theme]=\"dialogData.cancelButton?.theme || 'secondary'\"\n data-test=\"closeBtn\"\n [disabled]=\"dialogData.cancelButton.isDisabled\"\n [drTooltip]=\"dialogData.tooltips?.cancel\"\n >{{ dialogData.cancelButton.label }}</dr-button\n >\n </span>\n <span\n *ngIf=\"dialogData.acceptButton\"\n class=\"dialog-wrapper__footer__button-wrapper\"\n [drTooltip]=\"dialogData.acceptButton.isDisabled && dialogData.tooltips?.acceptDisabled\">\n <dr-button\n (click)=\"onAcceptDialog()\"\n [theme]=\"dialogData.acceptButton?.theme || 'primary'\"\n [isLoading]=\"isLoading\"\n data-test=\"acceptBtn\"\n [disabled]=\"dialogData.acceptButton.isDisabled\"\n [drTooltip]=\"dialogData.tooltips?.accept\"\n >{{ dialogData.acceptButton.label }}</dr-button\n >\n </span>\n </div>\n </div>\n</div>\n", styles: [":host.small-modal,:host.small-modal-max-height{min-height:188px;max-height:467px;min-width:400px;max-width:400px}:host.medium-modal,:host.medium-modal-max-height{min-height:188px;max-height:467px;min-width:632px;max-width:632px}:host.medium-small-modal{min-height:188px;max-height:345px;min-width:460px;max-width:460px}:host.medium-modal-max-height,:host.small-modal-max-height{max-height:85vh}:host.large-modal{min-width:750px;max-width:750px}:host.xl-medium-modal{min-width:850px;max-width:850px}:host.medium-large-modal{min-width:669px;max-width:669px}:host.xl-modal{min-height:188px;max-height:800px;min-width:1100px;max-width:1100px}:host.xl-custom-modal{min-height:188px;max-height:800px;min-width:1100px;max-width:100%}:host.maximized-modal{min-height:calc(100vh - 64px);max-height:calc(100vh - 64px);min-width:calc(100vw - 64px);max-width:calc(100vw - 64px)}::ng-deep .dialog-wrapper{display:flex;justify-content:space-between;flex-direction:column;position:relative}::ng-deep .dialog-wrapper>.dr-icon-exit{z-index:1;position:absolute;right:32px;top:16px;color:#6d6e6f;cursor:pointer}::ng-deep .dialog-wrapper>.dr-icon-maximize,::ng-deep .dialog-wrapper .dr-icon-minimize{z-index:1;position:absolute;right:56px;top:18px;font-size:20px;color:#6d6e6f;cursor:pointer}::ng-deep .dialog-wrapper__header{display:flex;flex-direction:column;padding:16px 56px 16px 32px;border-bottom:1px solid #dfe0e3}::ng-deep .dialog-wrapper__header.with-max-button{padding:16px 76px 16px 32px}::ng-deep .dialog-wrapper__header__title{color:#333;position:static;font-weight:600;font-size:16px;line-height:24px;margin-top:0;margin-bottom:0}::ng-deep .dialog-wrapper__header__subtitle{color:#333;font-weight:400;font-size:14px;line-height:22px;margin:4px 0 0}::ng-deep .dialog-wrapper--confirmation-no-title{padding-top:16px;height:100%}::ng-deep .dialog-wrapper__content{overflow-y:inherit;font-size:14px;font-weight:400;line-height:22px;padding:24px 32px 32px}::ng-deep .dialog-wrapper__content__anchor{display:none}::ng-deep .dialog-wrapper__content--no-padding{padding:0}::ng-deep .dialog-wrapper__content__icon{margin-right:10px;top:5px;position:relative}::ng-deep .dialog-wrapper__content.flex-position{display:flex}::ng-deep .dialog-wrapper__content .dialog-content__wrapper{white-space:pre-line}::ng-deep .dialog-wrapper dr-details-list{margin-top:-24px;padding:0 32px 32px}::ng-deep .dialog-wrapper .confirmation-question{font-weight:500;margin-top:8px}::ng-deep .dialog-wrapper__footer{border-top:1px solid #dfe0e3}::ng-deep .dialog-wrapper__footer__buttons{display:flex;justify-content:flex-end;padding:11px 32px}::ng-deep .dialog-wrapper__footer__buttons>dr-button:nth-child(n+2){margin-left:12px}::ng-deep .dialog-wrapper__footer__button-wrapper:nth-child(n+2){margin-left:12px}::ng-deep .dialog-wrapper__footer__button-wrapper--custom:nth-last-child(3){margin-right:auto}\n"] }]
10903
10920
  }], function () { return [{ type: i1$6.MatLegacyDialogRef }, { type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: undefined, decorators: [{
10904
10921
  type: Inject,
10905
10922
  args: [MAT_LEGACY_DIALOG_DATA]
@@ -10909,6 +10926,9 @@ class DialogWrapperComponent {
10909
10926
  }], elementClass: [{
10910
10927
  type: HostBinding,
10911
10928
  args: ['class']
10929
+ }], isMaximized: [{
10930
+ type: HostBinding,
10931
+ args: ['class.maximized-modal']
10912
10932
  }] }); })();
10913
10933
 
10914
10934
  var DIALOG_SIZE;
@@ -13747,7 +13767,7 @@ class DrawerContainer extends CdkDialogContainer {
13747
13767
  }
13748
13768
  container.style.transition = 'transform 0.5s cubic-bezier(0.32, 0.72, 0, 1)';
13749
13769
  container.style.transform = `translate3d(0px, 0px, 0px)`;
13750
- }), takeUntil(mouseup$))), map$2((event) => this.positionStrategy.extractMousePosition(event)), distinctUntilChanged(), tap$1((position) => {
13770
+ }), takeUntil(mouseup$))), map((event) => this.positionStrategy.extractMousePosition(event)), distinctUntilChanged(), tap$1((position) => {
13751
13771
  let containerPosition = this.getContainerPosition(container);
13752
13772
  containerPosition = Math.min(containerPosition, lastPosition);
13753
13773
  lastPosition = Math.min(containerPosition, lastPosition);