@morozeckiy/dd-lib 0.7.86 → 0.7.87
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.
- package/fesm2022/morozeckiy-dd-lib.mjs +9 -2
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/lib/core/services/validators.service.d.ts +2 -2
- package/lib/lib-period/lib-period.component.d.ts +2 -1
- package/morozeckiy-dd-lib-0.7.87.tgz +0 -0
- package/package.json +1 -1
- package/morozeckiy-dd-lib-0.7.86.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors
|
|
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(): (
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { DateService, GetDateBy, PeriodMenuDate, PeriodName } from
|
|
3
|
+
import { DateService, GetDateBy, PeriodMenuDate, PeriodName } from '../core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LibPeriodComponent implements OnInit, ControlValueAccessor {
|
|
6
6
|
private dateService;
|
|
@@ -25,6 +25,7 @@ export declare class LibPeriodComponent implements OnInit, ControlValueAccessor
|
|
|
25
25
|
selectedDate: Date | undefined;
|
|
26
26
|
idPeriod: string;
|
|
27
27
|
idCalendar: string;
|
|
28
|
+
periodName?: string | undefined;
|
|
28
29
|
private onTouchedCallback;
|
|
29
30
|
constructor(dateService: DateService, cdr: ChangeDetectorRef);
|
|
30
31
|
ngOnInit(): void;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|