@colijnit/corecomponents_v12 261.20.2 → 261.20.3

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.
@@ -2127,7 +2127,7 @@ class OverlayService {
2127
2127
  this._appRef = _appRef;
2128
2128
  this._injector = _injector;
2129
2129
  }
2130
- createComponent(compClass, inputs, events, parentRef) {
2130
+ createComponent(compClass, inputs, events) {
2131
2131
  if (this._componentRefExists(compClass)) {
2132
2132
  this._removeComponentRef(compClass);
2133
2133
  }
@@ -2151,8 +2151,7 @@ class OverlayService {
2151
2151
  this._appRef.attachView(componentRef.hostView);
2152
2152
  const domElem = componentRef.hostView
2153
2153
  .rootNodes[0];
2154
- const container = parentRef?.nativeElement ?? document.body;
2155
- container.appendChild(domElem);
2154
+ document.body.appendChild(domElem);
2156
2155
  componentRef.onDestroy(() => {
2157
2156
  this._appRef.detachView(componentRef.hostView);
2158
2157
  });
@@ -8180,7 +8179,7 @@ class InputDatePickerComponent extends BaseInputDatePickerDirective {
8180
8179
  }, {
8181
8180
  dateSelected: (event) => this.handleDateSelected(event),
8182
8181
  clickedOutside: () => this.toggleCalendar(false) // Close when clicked outside
8183
- }, this.elementRef);
8182
+ });
8184
8183
  }
8185
8184
  else {
8186
8185
  this.overlayService.removeComponent(this._calendarComponentRef);
@@ -8959,7 +8958,7 @@ class InputDateRangePickerComponent extends BaseInputDatePickerDirective {
8959
8958
  datesSelected: (event) => this.handleDatesSelected(event),
8960
8959
  secondDateSelected: () => this.handleSecondDateSelected(),
8961
8960
  clickedOutside: () => this.toggleCalendar()
8962
- }, this.elementRef);
8961
+ });
8963
8962
  }
8964
8963
  else {
8965
8964
  this.overlayService.removeComponent(this._doubleCalendarComponentRef);
@@ -14481,12 +14480,12 @@ class ListOfValuesComponent extends BaseInputComponent {
14481
14480
  showToggleAll: this.showToggleAll,
14482
14481
  model: this.model,
14483
14482
  collection: this.collection,
14484
- optionIcon: this.optionIcon,
14483
+ optionIcon: this.optionIcon
14485
14484
  }, {
14486
14485
  modelChange: (value) => this.optionChosen(value),
14487
14486
  closePopup: () => this.closePopup(),
14488
14487
  keyDown: (event) => this.handleInputKeyDown(event)
14489
- }, this.elementRef);
14488
+ });
14490
14489
  this.keepFocussed = true;
14491
14490
  }
14492
14491
  removeOptionFromModel(chip) {