@morozeckiy/dd-lib 0.7.88 → 0.7.92

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.
@@ -3,9 +3,13 @@ import * as i0 from "@angular/core";
3
3
  export declare class ClickOutsideDirective {
4
4
  private el;
5
5
  elements: string[] | undefined;
6
+ ignoreOnDrag: boolean;
6
7
  ddClickOutside: EventEmitter<any>;
8
+ private isDragging;
7
9
  constructor(el: ElementRef);
10
+ onDragStart(): void;
11
+ onDragEnd(): void;
8
12
  onClick(targetElement: Event): void;
9
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[ddClickOutside]", never, { "elements": { "alias": "elements"; "required": false; }; }, { "ddClickOutside": "ddClickOutside"; }, never, never, true, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[ddClickOutside]", never, { "elements": { "alias": "elements"; "required": false; }; "ignoreOnDrag": { "alias": "ignoreOnDrag"; "required": false; }; }, { "ddClickOutside": "ddClickOutside"; }, never, never, true, never>;
11
15
  }
@@ -1,5 +1,4 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
- import { Observable } from 'rxjs';
1
+ import { AbstractControl, ValidationErrors, Validators } from '@angular/forms';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class ValidatorsService {
5
4
  constructor();
@@ -10,9 +9,9 @@ export declare class ValidatorsService {
10
9
  static wrongLoginOrPswd(): ValidationErrors;
11
10
  static existLogin(): ValidationErrors;
12
11
  /** валидатор имени*/
13
- static getNameValid(): import("@angular/forms").ValidatorFn[];
12
+ static getNameValid(): (typeof Validators.required)[];
14
13
  /** валидатор email*/
15
- static getMailValid(el?: AbstractControl): Observable<ValidationErrors | null>;
14
+ static getMailValid(el?: AbstractControl): ValidationErrors | null;
16
15
  static getErrorText(error: ValidationErrors | null | undefined): string | undefined;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsService, never>;
18
17
  static ɵprov: i0.ɵɵInjectableDeclaration<ValidatorsService>;
@@ -25,15 +25,19 @@ export declare class LibDateRangeComponent implements ControlValueAccessor, OnIn
25
25
  pressTab(e: KeyboardEvent): void;
26
26
  ngOnInit(): void;
27
27
  get startDateStr(): string;
28
- set startDateStr(value: string);
28
+ set startDateStr(value: string | undefined);
29
29
  get endDateStr(): string;
30
- set endDateStr(value: string);
30
+ set endDateStr(value: string | undefined);
31
31
  private formatDate;
32
32
  private parseDate;
33
33
  openCalendar(): void;
34
34
  closeCalendar(): void;
35
35
  setPeriod($event: IDatePeriod | undefined): void;
36
- changeStrDate($event: string): void;
36
+ dateInput(e: KeyboardEvent, period: 'start' | 'end'): void;
37
+ private handleStartDateInput;
38
+ private handleEndDateInput;
39
+ private handleInvalidDate;
40
+ private onPeriodChange;
37
41
  propagateChange(_value: IDatePeriod | undefined): void;
38
42
  registerOnChange(fn: any): void;
39
43
  registerOnTouched(fn: any): void;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morozeckiy/dd-lib",
3
- "version": "0.7.88",
3
+ "version": "0.7.92",
4
4
  "types": "./src/typings.d.ts",
5
5
  "repository": "https://gitlab.com/Morozeckiy/dd-lib",
6
6
  "publishConfig": {
Binary file