@morozeckiy/dd-lib 0.7.53 → 0.7.54

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.
@@ -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 { AbstractControl, ValidationErrors, Validators } from '@angular/forms';
1
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ValidatorsService {
@@ -10,7 +10,7 @@ export declare class ValidatorsService {
10
10
  static wrongLoginOrPswd(): ValidationErrors;
11
11
  static existLogin(): ValidationErrors;
12
12
  /** валидатор имени*/
13
- static getNameValid(): (typeof Validators.required)[];
13
+ static getNameValid(): import("@angular/forms").ValidatorFn[];
14
14
  /** валидатор email*/
15
15
  static getMailValid(el?: AbstractControl): Observable<ValidationErrors | null>;
16
16
  static getErrorText(error: ValidationErrors | null | undefined): string | undefined;
@@ -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
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.54",
4
4
  "types": "./src/typings.d.ts",
5
5
  "repository": "https://gitlab.com/Morozeckiy/dd-lib",
6
6
  "publishConfig": {
Binary file