@morozeckiy/dd-lib 0.9.3 → 0.9.4

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morozeckiy/dd-lib",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "types": "./src/typings.d.ts",
5
5
  "repository": "https://gitlab.com/Morozeckiy/dd-lib",
6
6
  "publishConfig": {
@@ -2,8 +2,7 @@ import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpHeaders, Http
2
2
  import * as i0 from '@angular/core';
3
3
  import { ElementRef, EventEmitter, AfterViewChecked, ChangeDetectorRef, AfterViewInit, Renderer2, RendererFactory2, OnDestroy, InjectionToken, PipeTransform, OnInit, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef, Provider, Injector, ComponentRef, EmbeddedViewRef, ComponentFactoryResolver, Type, DestroyRef, WritableSignal } from '@angular/core';
4
4
  import { Observable, Subject, BehaviorSubject, OperatorFunction } from 'rxjs';
5
- import * as _angular_forms from '@angular/forms';
6
- import { AbstractControl, ValidationErrors, NgControl, Validator, ControlValueAccessor, ControlContainer } from '@angular/forms';
5
+ import { AbstractControl, ValidationErrors, Validators, NgControl, Validator, ControlValueAccessor, ControlContainer } from '@angular/forms';
7
6
  import { Overlay, OverlayRef, PositionStrategy, ScrollStrategy } from '@angular/cdk/overlay';
8
7
  import { CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
9
8
  import { FocusTrapFactory, FocusTrap } from '@angular/cdk/a11y';
@@ -825,7 +824,7 @@ declare class ValidatorsService {
825
824
  static wrongLoginOrPswd(): ValidationErrors;
826
825
  static existLogin(): ValidationErrors;
827
826
  /** валидатор имени*/
828
- static getNameValid(): _angular_forms.ValidatorFn[];
827
+ static getNameValid(): (typeof Validators.required)[];
829
828
  /** валидатор email*/
830
829
  static getMailValid(el?: AbstractControl): ValidationErrors | null;
831
830
  static getErrorText(error: ValidationErrors | null | undefined): string | undefined;