@eui/core 13.0.0-beta.17 → 13.0.0-beta.18

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 { MomentDateAdapter } from '@angular/material-moment-adapter';
11
11
  import { LOCATION_INITIALIZED, DOCUMENT, isPlatformBrowser, getLocaleId, registerLocaleData } from '@angular/common';
12
12
  import * as i1$1 from '@ngrx/store';
13
13
  import { createSelector } from '@ngrx/store';
14
- import { throwError, forkJoin, of, BehaviorSubject, defer, Observable, Subject, from } from 'rxjs';
14
+ import { throwError, forkJoin, of, BehaviorSubject, defer, merge, fromEvent, Observable, Subject, from } from 'rxjs';
15
15
  import { debounceTime, distinctUntilChanged, map, catchError, switchMap, tap, filter, take, mapTo, mergeMap, concatMap, takeUntil } from 'rxjs/operators';
16
16
  import { __decorate, __metadata } from 'tslib';
17
17
  import * as i2 from '@ngx-translate/core';
@@ -22,7 +22,6 @@ import * as i2$1 from '@angular/router';
22
22
  import { NavigationEnd } from '@angular/router';
23
23
  import isEqual from 'lodash-es/isEqual';
24
24
  import get from 'lodash-es/get';
25
- import { merge, fromEvent, of as of$1 } from 'rxjs/index';
26
25
  import { By } from '@angular/platform-browser';
27
26
  import { FormGroup, FormArray } from '@angular/forms';
28
27
  import { DomPortalOutlet, ComponentPortal, PortalInjector } from '@angular/cdk/portal';
@@ -2618,12 +2617,12 @@ class EuiPermissionService extends EuiService {
2618
2617
  super.initEuiService();
2619
2618
  if (Array.isArray(rights)) {
2620
2619
  this.updateState(rights);
2621
- return of$1({ success: true });
2620
+ return of({ success: true });
2622
2621
  }
2623
2622
  if (this.logger) {
2624
2623
  this.logger.error('Init object should be instance of BaseUserState');
2625
2624
  }
2626
- return of$1({ success: false, error: 'Init object should be instance of BaseUserState' });
2625
+ return of({ success: false, error: 'Init object should be instance of BaseUserState' });
2627
2626
  }
2628
2627
  get userRights() {
2629
2628
  return this.stateInstance;
@@ -3979,7 +3978,7 @@ class LocaleService extends EuiService {
3979
3978
  }
3980
3979
  }
3981
3980
  ngOnDestroy() {
3982
- this.subNotifier.next();
3981
+ this.subNotifier.next(void 0);
3983
3982
  this.subNotifier.complete();
3984
3983
  }
3985
3984
  getState() {