@morozeckiy/dd-lib 0.7.53 → 0.7.55

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.
@@ -1,4 +1,5 @@
1
1
  import { HttpClient, HttpContext, HttpHeaders, HttpParams } from '@angular/common/http';
2
+ import { InjectionToken } from '@angular/core';
2
3
  import { Observable } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  export interface HttpIResponse<T> {
@@ -36,10 +37,11 @@ export interface IRequestOptions {
36
37
  withCredentials?: boolean;
37
38
  body?: any | null;
38
39
  }
40
+ export declare const API_URL: InjectionToken<string>;
39
41
  export declare class FetcherService {
40
42
  private http;
41
43
  private apiUrl;
42
- constructor(http: HttpClient, apiUrl?: string);
44
+ constructor(http: HttpClient, apiUrl: string);
43
45
  private prepareOptions;
44
46
  private getUrl;
45
47
  get<R>(urlParts: string, options?: IRequestOptions, urlId?: string | number): Observable<R>;
@@ -2,7 +2,6 @@ import { Renderer2, RendererFactory2 } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ThemeConstructorService {
5
- private rendererFactory;
6
5
  get getTheme(): boolean;
7
6
  get getTheme$(): Observable<boolean>;
8
7
  isDarkTheme: Observable<boolean>;
@@ -1,4 +1,4 @@
1
- import { ElementRef, OnDestroy, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { ElementRef, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { Overlay } from '@angular/cdk/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export type TToolTipPositions = 'top' | 'right' | 'bottom' | 'left';
@@ -6,13 +6,12 @@ export declare class TooltipDirective implements OnDestroy {
6
6
  private element;
7
7
  private overlay;
8
8
  private viewContainer;
9
- private rdr;
10
9
  ddTooltip: string | TemplateRef<void>;
11
10
  withClick: boolean;
12
11
  set position(p: TToolTipPositions | undefined);
13
12
  private _position?;
14
13
  private overlayRef;
15
- constructor(element: ElementRef, overlay: Overlay, viewContainer: ViewContainerRef, rdr: Renderer2);
14
+ constructor(element: ElementRef, overlay: Overlay, viewContainer: ViewContainerRef);
16
15
  onClick(targetElement: Event): void;
17
16
  showTooltipOnClick(): void;
18
17
  showTooltip(): void;
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
2
+ import { Router } from '@angular/router';
3
3
  import { Location } from '@angular/common';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ITab {
@@ -13,7 +13,6 @@ export declare class ITab {
13
13
  constructor(body: any);
14
14
  }
15
15
  export declare class LibTabsFragmentComponent implements OnInit {
16
- private route;
17
16
  private location;
18
17
  private router;
19
18
  private cdr;
@@ -24,7 +23,7 @@ export declare class LibTabsFragmentComponent implements OnInit {
24
23
  noFragment: boolean | undefined;
25
24
  setActiveTab: EventEmitter<number | null>;
26
25
  activeFragment: number | null | undefined;
27
- constructor(route: ActivatedRoute, location: Location, router: Router, cdr: ChangeDetectorRef);
26
+ constructor(location: Location, router: Router, cdr: ChangeDetectorRef);
28
27
  ngOnInit(): void;
29
28
  checkActiveTab(tab?: ITab): void;
30
29
  private getFragment;
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morozeckiy/dd-lib",
3
- "version": "0.7.53",
3
+ "version": "0.7.55",
4
4
  "types": "./src/typings.d.ts",
5
5
  "repository": "https://gitlab.com/Morozeckiy/dd-lib",
6
6
  "publishConfig": {
Binary file