@morozeckiy/dd-lib 0.9.3 → 0.9.5
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
|
@@ -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
|
|
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():
|
|
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;
|
|
@@ -1220,12 +1219,15 @@ declare class DDDialogRef<T> {
|
|
|
1220
1219
|
* */
|
|
1221
1220
|
readonly onBackdropClick: Observable<MouseEvent>;
|
|
1222
1221
|
protected onClose$: Subject<any>;
|
|
1222
|
+
protected onEmitEvent$: Subject<any>;
|
|
1223
1223
|
readonly onClose: Observable<any>;
|
|
1224
|
+
readonly onEmitEvent: Observable<any>;
|
|
1224
1225
|
constructor(overlayRef: OverlayRef);
|
|
1225
1226
|
/**
|
|
1226
1227
|
* Hides dialog.
|
|
1227
1228
|
* */
|
|
1228
1229
|
close(res?: any): void;
|
|
1230
|
+
emitEvent(res?: any): void;
|
|
1229
1231
|
}
|
|
1230
1232
|
|
|
1231
1233
|
declare const DIALOG_CONFIG: InjectionToken<DialogConfig<any>>;
|
|
@@ -1524,6 +1526,7 @@ declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent imp
|
|
|
1524
1526
|
idClose: string | undefined;
|
|
1525
1527
|
loaded$: BehaviorSubject<boolean>;
|
|
1526
1528
|
keyupEvent: EventEmitter<string>;
|
|
1529
|
+
clipboard: EventEmitter<string>;
|
|
1527
1530
|
selectedItem: EventEmitter<any>;
|
|
1528
1531
|
keyUp: Subject<KeyboardEvent>;
|
|
1529
1532
|
data: T[] | null | undefined;
|
|
@@ -1531,6 +1534,7 @@ declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent imp
|
|
|
1531
1534
|
constructor(destroy$: DestroyRef, el: ElementRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
1532
1535
|
onWindowScroll(): void;
|
|
1533
1536
|
ngOnInit(): void;
|
|
1537
|
+
clipboardEvent(event: ClipboardEvent): void;
|
|
1534
1538
|
changeValueSub(control: AbstractControl): void;
|
|
1535
1539
|
writeValue(value: string): void;
|
|
1536
1540
|
forceChange(): void;
|
|
@@ -1540,7 +1544,7 @@ declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent imp
|
|
|
1540
1544
|
getDesc(item: any): string;
|
|
1541
1545
|
handleBlur(): void;
|
|
1542
1546
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibSearchInputComponent<any>, [null, null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
1543
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibSearchInputComponent<any>, "dd-lib-search-input", never, { "splitTitle": { "alias": "splitTitle"; "required": false; }; "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "styleInput": { "alias": "styleInput"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "searchData": { "alias": "searchData"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "idClose": { "alias": "idClose"; "required": false; }; "loaded$": { "alias": "loaded$"; "required": false; }; }, { "keyupEvent": "keyupEvent"; "selectedItem": "selectedItem"; }, never, never, true, never>;
|
|
1547
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibSearchInputComponent<any>, "dd-lib-search-input", never, { "splitTitle": { "alias": "splitTitle"; "required": false; }; "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "styleInput": { "alias": "styleInput"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "searchData": { "alias": "searchData"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "idClose": { "alias": "idClose"; "required": false; }; "loaded$": { "alias": "loaded$"; "required": false; }; }, { "keyupEvent": "keyupEvent"; "clipboard": "clipboard"; "selectedItem": "selectedItem"; }, never, never, true, never>;
|
|
1544
1548
|
}
|
|
1545
1549
|
|
|
1546
1550
|
declare class LibSelectComponent extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
Binary file
|