@dontdrinkandroot/ngx-extensions 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/esm2022/src/cookie/cookie.service.mjs +6 -6
  2. package/esm2022/src/ddr-extensions.module.mjs +4 -4
  3. package/esm2022/src/http/redirect-to-login-interceptor.service.mjs +6 -6
  4. package/esm2022/src/http/with-credentials-interceptor.service.mjs +3 -3
  5. package/esm2022/src/image/lazy-image.directive.mjs +5 -5
  6. package/esm2022/src/jwt/jwt-interceptor.service.mjs +5 -5
  7. package/esm2022/src/jwt/jwt-refresh-token-interceptor.service.mjs +6 -6
  8. package/esm2022/src/jwt/jwt.service.mjs +4 -4
  9. package/esm2022/src/logger/console-logger.service.mjs +4 -4
  10. package/esm2022/src/methoddecorator/limit.mjs +1 -1
  11. package/esm2022/src/oauth/oauth2-access-token-interceptor.service.mjs +5 -5
  12. package/esm2022/src/oauth/oauth2-refresh-token-interceptor.service.mjs +5 -5
  13. package/esm2022/src/oauth/oauth2.module.mjs +4 -4
  14. package/esm2022/src/oauth/oauth2.service.mjs +6 -6
  15. package/esm2022/src/oauth/redirect-to-oauth2-login-interceptor.service.mjs +6 -6
  16. package/esm2022/src/scroll/bottom-hit.directive.mjs +5 -5
  17. package/esm2022/src/scroll/scroll.service.mjs +5 -5
  18. package/esm2022/src/storage/local-storage.service.mjs +6 -6
  19. package/esm2022/src/util/collection-utils.mjs +1 -1
  20. package/esm2022/src/util/number-utils.mjs +1 -1
  21. package/esm2022/src/util/string-utils.mjs +1 -1
  22. package/esm2022/src/util/type-utils.mjs +1 -1
  23. package/esm2022/src/visibility/visibility.service.mjs +4 -4
  24. package/fesm2022/dontdrinkandroot-ngx-extensions.mjs +76 -76
  25. package/fesm2022/dontdrinkandroot-ngx-extensions.mjs.map +1 -1
  26. package/package.json +3 -3
@@ -170,8 +170,8 @@ class LazyImageDirective {
170
170
  isHidden(element) {
171
171
  return window.getComputedStyle(element).display === 'none';
172
172
  }
173
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LazyImageDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
174
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: LazyImageDirective, selector: "[ddrLazyImage]", inputs: { src: ["ddrLazyImage", "src"], objectFit: "objectFit", offset: "offset" }, host: { listeners: { "window:resize": "windowResized($event)", "window:scroll": "windowScroll($event)" }, properties: { "src": "this.hostSrc", "style.width.px": "this.hostStyleWidthPx", "style.height.px": "this.hostStyleHeightPx", "style.object-fit": "this.hostStyleObjectFit" } }, usesOnChanges: true, ngImport: i0 }); }
173
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LazyImageDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
174
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: LazyImageDirective, selector: "[ddrLazyImage]", inputs: { src: ["ddrLazyImage", "src"], objectFit: "objectFit", offset: "offset" }, host: { listeners: { "window:resize": "windowResized($event)", "window:scroll": "windowScroll($event)" }, properties: { "src": "this.hostSrc", "style.width.px": "this.hostStyleWidthPx", "style.height.px": "this.hostStyleHeightPx", "style.object-fit": "this.hostStyleObjectFit" } }, usesOnChanges: true, ngImport: i0 }); }
175
175
  }
176
176
  __decorate([
177
177
  Debounce()
@@ -179,10 +179,10 @@ __decorate([
179
179
  __decorate([
180
180
  Limit()
181
181
  ], LazyImageDirective.prototype, "windowScroll", null);
182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LazyImageDirective, decorators: [{
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LazyImageDirective, decorators: [{
183
183
  type: Directive,
184
184
  args: [{ selector: '[ddrLazyImage]' }]
185
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { src: [{
185
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { src: [{
186
186
  type: Input,
187
187
  args: ['ddrLazyImage']
188
188
  }], objectFit: [{
@@ -239,8 +239,8 @@ class BottomHitDirective {
239
239
  this.onElementBottomHit.emit();
240
240
  }
241
241
  }
242
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: BottomHitDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
243
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: BottomHitDirective, selector: "[ddrBottomHit]", outputs: { onWindowBottomHit: "onWindowBottomHit", onElementBottomHit: "onElementBottomHit" }, host: { listeners: { "scroll": "scrolled($event)", "window:scroll": "windowScrolled($event)" } }, ngImport: i0 }); }
242
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BottomHitDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
243
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: BottomHitDirective, selector: "[ddrBottomHit]", outputs: { onWindowBottomHit: "onWindowBottomHit", onElementBottomHit: "onElementBottomHit" }, host: { listeners: { "scroll": "scrolled($event)", "window:scroll": "windowScrolled($event)" } }, ngImport: i0 }); }
244
244
  }
245
245
  __decorate([
246
246
  Limit()
@@ -248,12 +248,12 @@ __decorate([
248
248
  __decorate([
249
249
  Limit()
250
250
  ], BottomHitDirective.prototype, "windowScrolled", null);
251
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: BottomHitDirective, decorators: [{
251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BottomHitDirective, decorators: [{
252
252
  type: Directive,
253
253
  args: [{
254
254
  selector: '[ddrBottomHit]'
255
255
  }]
256
- }], ctorParameters: function () { return []; }, propDecorators: { onWindowBottomHit: [{
256
+ }], ctorParameters: () => [], propDecorators: { onWindowBottomHit: [{
257
257
  type: Output
258
258
  }], onElementBottomHit: [{
259
259
  type: Output
@@ -307,10 +307,10 @@ class ConsoleLogger extends Logger {
307
307
  console.error(...data);
308
308
  }
309
309
  }
310
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ConsoleLogger, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
311
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ConsoleLogger }); }
310
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConsoleLogger, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
311
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConsoleLogger }); }
312
312
  }
313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ConsoleLogger, decorators: [{
313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConsoleLogger, decorators: [{
314
314
  type: Injectable
315
315
  }] });
316
316
 
@@ -357,24 +357,24 @@ class LocalStorageService extends StorageService {
357
357
  getFullKey(key) {
358
358
  return this.storagePrefix + '.' + key;
359
359
  }
360
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LocalStorageService, deps: [{ token: DDR_STORAGE_PREFIX }, { token: Logger }], target: i0.ɵɵFactoryTarget.Injectable }); }
361
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LocalStorageService }); }
360
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LocalStorageService, deps: [{ token: DDR_STORAGE_PREFIX }, { token: Logger }], target: i0.ɵɵFactoryTarget.Injectable }); }
361
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LocalStorageService }); }
362
362
  }
363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LocalStorageService, decorators: [{
363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LocalStorageService, decorators: [{
364
364
  type: Injectable
365
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
365
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
366
366
  type: Inject,
367
367
  args: [DDR_STORAGE_PREFIX]
368
- }] }, { type: Logger }]; } });
368
+ }] }, { type: Logger }] });
369
369
 
370
370
  const DDR_JWT_REFRESH_TOKEN_URL = new InjectionToken('DDR_JWT_REFRESH_TOKEN_URL');
371
371
  const DDR_LOGIN_PATH = new InjectionToken('DDR_LOGIN_PATH');
372
372
  class DdrExtensionsModule {
373
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DdrExtensionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
374
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.3", ngImport: i0, type: DdrExtensionsModule, declarations: [LazyImageDirective,
373
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DdrExtensionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
374
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: DdrExtensionsModule, declarations: [LazyImageDirective,
375
375
  BottomHitDirective], exports: [LazyImageDirective,
376
376
  BottomHitDirective] }); }
377
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DdrExtensionsModule, providers: [
377
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DdrExtensionsModule, providers: [
378
378
  {
379
379
  provide: DDR_LOGIN_PATH,
380
380
  useValue: '/login'
@@ -393,7 +393,7 @@ class DdrExtensionsModule {
393
393
  },
394
394
  ] }); }
395
395
  }
396
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DdrExtensionsModule, decorators: [{
396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DdrExtensionsModule, decorators: [{
397
397
  type: NgModule,
398
398
  args: [{
399
399
  declarations: [
@@ -545,18 +545,18 @@ class CookieService {
545
545
  const escapedName = name.replace(/([\[\]{}()|=;+?,.*^$])/ig, '\\$1');
546
546
  return new RegExp('(?:^' + escapedName + '|;\\s*' + escapedName + ')=(.*?)(?:;|$)', 'g');
547
547
  }
548
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
549
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: CookieService, providedIn: 'root' }); }
548
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
549
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CookieService, providedIn: 'root' }); }
550
550
  }
551
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: CookieService, decorators: [{
551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CookieService, decorators: [{
552
552
  type: Injectable,
553
553
  args: [{
554
554
  providedIn: 'root'
555
555
  }]
556
- }], ctorParameters: function () { return [{ type: Document, decorators: [{
556
+ }], ctorParameters: () => [{ type: Document, decorators: [{
557
557
  type: Inject,
558
558
  args: [DOCUMENT]
559
- }] }]; } });
559
+ }] }] });
560
560
 
561
561
  class ObjectUtils {
562
562
  static deepCopy(value) {
@@ -625,15 +625,15 @@ class ScrollService {
625
625
  }, 1);
626
626
  }
627
627
  }
628
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ScrollService, deps: [{ token: i1.Router }, { token: i2.ViewportScroller }], target: i0.ɵɵFactoryTarget.Injectable }); }
629
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
628
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ScrollService, deps: [{ token: i1.Router }, { token: i2.ViewportScroller }], target: i0.ɵɵFactoryTarget.Injectable }); }
629
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
630
630
  }
631
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ScrollService, decorators: [{
631
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ScrollService, decorators: [{
632
632
  type: Injectable,
633
633
  args: [{
634
634
  providedIn: 'root'
635
635
  }]
636
- }], ctorParameters: function () { return [{ type: i1.Router }, { type: i2.ViewportScroller }]; } });
636
+ }], ctorParameters: () => [{ type: i1.Router }, { type: i2.ViewportScroller }] });
637
637
 
638
638
  class VisibilityService {
639
639
  constructor() {
@@ -642,13 +642,13 @@ class VisibilityService {
642
642
  getVisibilityObservable() {
643
643
  return this.visibility$;
644
644
  }
645
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: VisibilityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
646
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: VisibilityService, providedIn: 'root' }); }
645
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: VisibilityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
646
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: VisibilityService, providedIn: 'root' }); }
647
647
  }
648
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: VisibilityService, decorators: [{
648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: VisibilityService, decorators: [{
649
649
  type: Injectable,
650
650
  args: [{ providedIn: 'root' }]
651
- }], ctorParameters: function () { return []; } });
651
+ }], ctorParameters: () => [] });
652
652
 
653
653
  class WithCredentialsInterceptor {
654
654
  /**
@@ -660,10 +660,10 @@ class WithCredentialsInterceptor {
660
660
  });
661
661
  return next.handle(cloned);
662
662
  }
663
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: WithCredentialsInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
664
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: WithCredentialsInterceptor }); }
663
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: WithCredentialsInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
664
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: WithCredentialsInterceptor }); }
665
665
  }
666
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: WithCredentialsInterceptor, decorators: [{
666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: WithCredentialsInterceptor, decorators: [{
667
667
  type: Injectable
668
668
  }] });
669
669
 
@@ -711,15 +711,15 @@ class RedirectToLoginInterceptor {
711
711
  return throwError(err);
712
712
  }));
713
713
  }
714
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: RedirectToLoginInterceptor, deps: [{ token: i1.Router }, { token: DDR_LOGIN_PATH }], target: i0.ɵɵFactoryTarget.Injectable }); }
715
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: RedirectToLoginInterceptor }); }
714
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RedirectToLoginInterceptor, deps: [{ token: i1.Router }, { token: DDR_LOGIN_PATH }], target: i0.ɵɵFactoryTarget.Injectable }); }
715
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RedirectToLoginInterceptor }); }
716
716
  }
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: RedirectToLoginInterceptor, decorators: [{
717
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RedirectToLoginInterceptor, decorators: [{
718
718
  type: Injectable
719
- }], ctorParameters: function () { return [{ type: i1.Router }, { type: undefined, decorators: [{
719
+ }], ctorParameters: () => [{ type: i1.Router }, { type: undefined, decorators: [{
720
720
  type: Inject,
721
721
  args: [DDR_LOGIN_PATH]
722
- }] }]; } });
722
+ }] }] });
723
723
 
724
724
  const DDR_OAUTH2_CONFIG = new InjectionToken('DDR_OAUTH2_CONFIG');
725
725
  class OAuth2Config {
@@ -841,15 +841,15 @@ class OAuth2Service {
841
841
  getReturnUrl() {
842
842
  return localStorage.getItem(OAuth2Service.STORAGE_KEY_RETURN_URL);
843
843
  }
844
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2Service, deps: [{ token: i1.ActivatedRoute }, { token: i2$1.HttpClient }, { token: Logger }, { token: DDR_OAUTH2_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
845
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2Service }); }
844
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2Service, deps: [{ token: i1.ActivatedRoute }, { token: i2$1.HttpClient }, { token: Logger }, { token: DDR_OAUTH2_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
845
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2Service }); }
846
846
  }
847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2Service, decorators: [{
847
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2Service, decorators: [{
848
848
  type: Injectable
849
- }], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i2$1.HttpClient }, { type: Logger }, { type: OAuth2Config, decorators: [{
849
+ }], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i2$1.HttpClient }, { type: Logger }, { type: OAuth2Config, decorators: [{
850
850
  type: Inject,
851
851
  args: [DDR_OAUTH2_CONFIG]
852
- }] }]; } });
852
+ }] }] });
853
853
 
854
854
  class OAuth2RefreshTokenInterceptor {
855
855
  constructor(oAuth2Service) {
@@ -864,12 +864,12 @@ class OAuth2RefreshTokenInterceptor {
864
864
  }
865
865
  return next.handle(req);
866
866
  }
867
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2RefreshTokenInterceptor, deps: [{ token: OAuth2Service }], target: i0.ɵɵFactoryTarget.Injectable }); }
868
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2RefreshTokenInterceptor }); }
867
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2RefreshTokenInterceptor, deps: [{ token: OAuth2Service }], target: i0.ɵɵFactoryTarget.Injectable }); }
868
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2RefreshTokenInterceptor }); }
869
869
  }
870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2RefreshTokenInterceptor, decorators: [{
870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2RefreshTokenInterceptor, decorators: [{
871
871
  type: Injectable
872
- }], ctorParameters: function () { return [{ type: OAuth2Service }]; } });
872
+ }], ctorParameters: () => [{ type: OAuth2Service }] });
873
873
 
874
874
  class RedirectToOAuth2LoginInterceptor {
875
875
  constructor(oAuth2Service, router, oAuth2Config) {
@@ -893,15 +893,15 @@ class RedirectToOAuth2LoginInterceptor {
893
893
  return throwError(err);
894
894
  }));
895
895
  }
896
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: RedirectToOAuth2LoginInterceptor, deps: [{ token: OAuth2Service }, { token: i1.Router }, { token: DDR_OAUTH2_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
897
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: RedirectToOAuth2LoginInterceptor }); }
896
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RedirectToOAuth2LoginInterceptor, deps: [{ token: OAuth2Service }, { token: i1.Router }, { token: DDR_OAUTH2_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
897
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RedirectToOAuth2LoginInterceptor }); }
898
898
  }
899
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: RedirectToOAuth2LoginInterceptor, decorators: [{
899
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RedirectToOAuth2LoginInterceptor, decorators: [{
900
900
  type: Injectable
901
- }], ctorParameters: function () { return [{ type: OAuth2Service }, { type: i1.Router }, { type: OAuth2Config, decorators: [{
901
+ }], ctorParameters: () => [{ type: OAuth2Service }, { type: i1.Router }, { type: OAuth2Config, decorators: [{
902
902
  type: Inject,
903
903
  args: [DDR_OAUTH2_CONFIG]
904
- }] }]; } });
904
+ }] }] });
905
905
 
906
906
  class OAuth2AccessTokenInterceptor {
907
907
  constructor(oAuth2Service) {
@@ -919,12 +919,12 @@ class OAuth2AccessTokenInterceptor {
919
919
  }
920
920
  return next.handle(req);
921
921
  }
922
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2AccessTokenInterceptor, deps: [{ token: OAuth2Service }], target: i0.ɵɵFactoryTarget.Injectable }); }
923
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2AccessTokenInterceptor }); }
922
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2AccessTokenInterceptor, deps: [{ token: OAuth2Service }], target: i0.ɵɵFactoryTarget.Injectable }); }
923
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2AccessTokenInterceptor }); }
924
924
  }
925
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2AccessTokenInterceptor, decorators: [{
925
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2AccessTokenInterceptor, decorators: [{
926
926
  type: Injectable
927
- }], ctorParameters: function () { return [{ type: OAuth2Service }]; } });
927
+ }], ctorParameters: () => [{ type: OAuth2Service }] });
928
928
 
929
929
  class OAuth2Module {
930
930
  static forRoot(config) {
@@ -954,11 +954,11 @@ class OAuth2Module {
954
954
  ],
955
955
  };
956
956
  }
957
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2Module, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
958
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.3", ngImport: i0, type: OAuth2Module }); }
959
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2Module }); }
957
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2Module, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
958
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: OAuth2Module }); }
959
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2Module }); }
960
960
  }
961
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: OAuth2Module, decorators: [{
961
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: OAuth2Module, decorators: [{
962
962
  type: NgModule
963
963
  }] });
964
964
 
@@ -1033,15 +1033,15 @@ class JwtService {
1033
1033
  getRefreshTokenStorageKey() {
1034
1034
  return 'jwt.refresh_token';
1035
1035
  }
1036
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtService, deps: [{ token: StorageService }, { token: Logger }], target: i0.ɵɵFactoryTarget.Injectable }); }
1037
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtService, providedIn: 'root' }); }
1036
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtService, deps: [{ token: StorageService }, { token: Logger }], target: i0.ɵɵFactoryTarget.Injectable }); }
1037
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtService, providedIn: 'root' }); }
1038
1038
  }
1039
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtService, decorators: [{
1039
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtService, decorators: [{
1040
1040
  type: Injectable,
1041
1041
  args: [{
1042
1042
  providedIn: 'root'
1043
1043
  }]
1044
- }], ctorParameters: function () { return [{ type: StorageService }, { type: Logger }]; } });
1044
+ }], ctorParameters: () => [{ type: StorageService }, { type: Logger }] });
1045
1045
 
1046
1046
  class JwtInterceptor {
1047
1047
  constructor(jwtService) {
@@ -1059,12 +1059,12 @@ class JwtInterceptor {
1059
1059
  }
1060
1060
  return next.handle(req);
1061
1061
  }
1062
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1063
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtInterceptor }); }
1062
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1063
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtInterceptor }); }
1064
1064
  }
1065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtInterceptor, decorators: [{
1065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtInterceptor, decorators: [{
1066
1066
  type: Injectable
1067
- }], ctorParameters: function () { return [{ type: JwtService }]; } });
1067
+ }], ctorParameters: () => [{ type: JwtService }] });
1068
1068
 
1069
1069
  class JwtRefreshTokenInterceptor {
1070
1070
  constructor(jwtService, httpClient, jwtRefreshTokenUrl) {
@@ -1099,15 +1099,15 @@ class JwtRefreshTokenInterceptor {
1099
1099
  }
1100
1100
  return this.refreshTokenRequest$;
1101
1101
  }
1102
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtRefreshTokenInterceptor, deps: [{ token: JwtService }, { token: i2$1.HttpClient }, { token: DDR_JWT_REFRESH_TOKEN_URL }], target: i0.ɵɵFactoryTarget.Injectable }); }
1103
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtRefreshTokenInterceptor }); }
1102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtRefreshTokenInterceptor, deps: [{ token: JwtService }, { token: i2$1.HttpClient }, { token: DDR_JWT_REFRESH_TOKEN_URL }], target: i0.ɵɵFactoryTarget.Injectable }); }
1103
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtRefreshTokenInterceptor }); }
1104
1104
  }
1105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: JwtRefreshTokenInterceptor, decorators: [{
1105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: JwtRefreshTokenInterceptor, decorators: [{
1106
1106
  type: Injectable
1107
- }], ctorParameters: function () { return [{ type: JwtService }, { type: i2$1.HttpClient }, { type: undefined, decorators: [{
1107
+ }], ctorParameters: () => [{ type: JwtService }, { type: i2$1.HttpClient }, { type: undefined, decorators: [{
1108
1108
  type: Inject,
1109
1109
  args: [DDR_JWT_REFRESH_TOKEN_URL]
1110
- }] }]; } });
1110
+ }] }] });
1111
1111
 
1112
1112
  /*
1113
1113
  * Public API Surface of ngx-extensions