@morozeckiy/dd-lib 0.9.4 → 0.9.6
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 +52 -21
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/morozeckiy-dd-lib-0.9.5.tgz +0 -0
- package/morozeckiy-dd-lib-0.9.6.tgz +0 -0
- package/package.json +1 -1
- package/types/morozeckiy-dd-lib.d.ts +13 -5
- package/morozeckiy-dd-lib-0.9.3.tgz +0 -0
- package/morozeckiy-dd-lib-0.9.4.tgz +0 -0
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,8 @@ 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
|
|
5
|
+
import * as _angular_forms from '@angular/forms';
|
|
6
|
+
import { AbstractControl, ValidationErrors, NgControl, Validator, ControlValueAccessor, ControlContainer } from '@angular/forms';
|
|
6
7
|
import { Overlay, OverlayRef, PositionStrategy, ScrollStrategy } from '@angular/cdk/overlay';
|
|
7
8
|
import { CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
8
9
|
import { FocusTrapFactory, FocusTrap } from '@angular/cdk/a11y';
|
|
@@ -824,7 +825,7 @@ declare class ValidatorsService {
|
|
|
824
825
|
static wrongLoginOrPswd(): ValidationErrors;
|
|
825
826
|
static existLogin(): ValidationErrors;
|
|
826
827
|
/** валидатор имени*/
|
|
827
|
-
static getNameValid():
|
|
828
|
+
static getNameValid(): _angular_forms.ValidatorFn[];
|
|
828
829
|
/** валидатор email*/
|
|
829
830
|
static getMailValid(el?: AbstractControl): ValidationErrors | null;
|
|
830
831
|
static getErrorText(error: ValidationErrors | null | undefined): string | undefined;
|
|
@@ -1092,6 +1093,7 @@ declare class SelectableItemDirective {
|
|
|
1092
1093
|
declare class FixedPositionDirective implements AfterViewChecked, AfterViewInit, OnDestroy {
|
|
1093
1094
|
private el;
|
|
1094
1095
|
private renderer;
|
|
1096
|
+
ddFixedPosition: boolean;
|
|
1095
1097
|
childName1: string;
|
|
1096
1098
|
childName2: string;
|
|
1097
1099
|
set destroyedItem(val: boolean | undefined);
|
|
@@ -1108,7 +1110,7 @@ declare class FixedPositionDirective implements AfterViewChecked, AfterViewInit,
|
|
|
1108
1110
|
private shouldPositionAbove;
|
|
1109
1111
|
ngOnDestroy(): void;
|
|
1110
1112
|
static ɵfac: i0.ɵɵFactoryDeclaration<FixedPositionDirective, never>;
|
|
1111
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FixedPositionDirective, "[ddFixedPosition]", never, { "childName1": { "alias": "childName1"; "required": false; }; "childName2": { "alias": "childName2"; "required": false; }; "destroyedItem": { "alias": "destroyedItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
1113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FixedPositionDirective, "[ddFixedPosition]", never, { "ddFixedPosition": { "alias": "ddFixedPosition"; "required": false; }; "childName1": { "alias": "childName1"; "required": false; }; "childName2": { "alias": "childName2"; "required": false; }; "destroyedItem": { "alias": "destroyedItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
1112
1114
|
}
|
|
1113
1115
|
|
|
1114
1116
|
declare class VhHeightDirective implements OnInit, OnDestroy {
|
|
@@ -1219,12 +1221,15 @@ declare class DDDialogRef<T> {
|
|
|
1219
1221
|
* */
|
|
1220
1222
|
readonly onBackdropClick: Observable<MouseEvent>;
|
|
1221
1223
|
protected onClose$: Subject<any>;
|
|
1224
|
+
protected onEmitEvent$: Subject<any>;
|
|
1222
1225
|
readonly onClose: Observable<any>;
|
|
1226
|
+
readonly onEmitEvent: Observable<any>;
|
|
1223
1227
|
constructor(overlayRef: OverlayRef);
|
|
1224
1228
|
/**
|
|
1225
1229
|
* Hides dialog.
|
|
1226
1230
|
* */
|
|
1227
1231
|
close(res?: any): void;
|
|
1232
|
+
emitEvent(res?: any): void;
|
|
1228
1233
|
}
|
|
1229
1234
|
|
|
1230
1235
|
declare const DIALOG_CONFIG: InjectionToken<DialogConfig<any>>;
|
|
@@ -1523,6 +1528,7 @@ declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent imp
|
|
|
1523
1528
|
idClose: string | undefined;
|
|
1524
1529
|
loaded$: BehaviorSubject<boolean>;
|
|
1525
1530
|
keyupEvent: EventEmitter<string>;
|
|
1531
|
+
clipboard: EventEmitter<string>;
|
|
1526
1532
|
selectedItem: EventEmitter<any>;
|
|
1527
1533
|
keyUp: Subject<KeyboardEvent>;
|
|
1528
1534
|
data: T[] | null | undefined;
|
|
@@ -1530,6 +1536,7 @@ declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent imp
|
|
|
1530
1536
|
constructor(destroy$: DestroyRef, el: ElementRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
1531
1537
|
onWindowScroll(): void;
|
|
1532
1538
|
ngOnInit(): void;
|
|
1539
|
+
clipboardEvent(event: ClipboardEvent): void;
|
|
1533
1540
|
changeValueSub(control: AbstractControl): void;
|
|
1534
1541
|
writeValue(value: string): void;
|
|
1535
1542
|
forceChange(): void;
|
|
@@ -1539,7 +1546,7 @@ declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent imp
|
|
|
1539
1546
|
getDesc(item: any): string;
|
|
1540
1547
|
handleBlur(): void;
|
|
1541
1548
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibSearchInputComponent<any>, [null, null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
1542
|
-
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>;
|
|
1549
|
+
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>;
|
|
1543
1550
|
}
|
|
1544
1551
|
|
|
1545
1552
|
declare class LibSelectComponent extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
@@ -1550,6 +1557,7 @@ declare class LibSelectComponent extends LibCommonInputTextComponent implements
|
|
|
1550
1557
|
searchInputEl: ElementRef<HTMLInputElement>;
|
|
1551
1558
|
virtualScroll: boolean;
|
|
1552
1559
|
multi: boolean;
|
|
1560
|
+
fixedPosition: boolean;
|
|
1553
1561
|
tooltipPosition: TToolTipPositions;
|
|
1554
1562
|
highlight: boolean;
|
|
1555
1563
|
searchOn: boolean;
|
|
@@ -1631,7 +1639,7 @@ declare class LibSelectComponent extends LibCommonInputTextComponent implements
|
|
|
1631
1639
|
private extractAllItems;
|
|
1632
1640
|
private propagateChange;
|
|
1633
1641
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
1634
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent, "dd-lib-select", never, { "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "searchOn": { "alias": "searchOn"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "selectId": { "alias": "selectId"; "required": false; }; "canSortByChecked": { "alias": "canSortByChecked"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "noDataError": { "alias": "noDataError"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "keyGroupTitle": { "alias": "keyGroupTitle"; "required": false; }; "keyGroupChildren": { "alias": "keyGroupChildren"; "required": false; }; "selectAllInGroup": { "alias": "selectAllInGroup"; "required": false; }; "sortAlphabetically": { "alias": "sortAlphabetically"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "deleteMultiItem": "deleteMultiItem"; }, never, never, true, never>;
|
|
1642
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent, "dd-lib-select", never, { "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "fixedPosition": { "alias": "fixedPosition"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "searchOn": { "alias": "searchOn"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "selectId": { "alias": "selectId"; "required": false; }; "canSortByChecked": { "alias": "canSortByChecked"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "noDataError": { "alias": "noDataError"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "keyGroupTitle": { "alias": "keyGroupTitle"; "required": false; }; "keyGroupChildren": { "alias": "keyGroupChildren"; "required": false; }; "selectAllInGroup": { "alias": "selectAllInGroup"; "required": false; }; "sortAlphabetically": { "alias": "sortAlphabetically"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "deleteMultiItem": "deleteMultiItem"; }, never, never, true, never>;
|
|
1635
1643
|
}
|
|
1636
1644
|
|
|
1637
1645
|
declare class LibSkeletonComponent {
|
|
Binary file
|
|
Binary file
|