@morozeckiy/dd-lib 0.7.51 → 0.7.53
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/assets/scss/vars-light.scss +1 -0
- package/fesm2022/morozeckiy-dd-lib.mjs +27 -31
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/lib/common/lib-common-input-text.d.ts +1 -1
- package/lib/core/pipes/filter.pipe.d.ts +1 -1
- package/lib/lib-select/lib-select.component.d.ts +6 -7
- package/lib/lib-svg-icon/lib-svg-icon.component.d.ts +3 -4
- package/lib/utils/decorators.d.ts +1 -1
- package/morozeckiy-dd-lib-0.7.53.tgz +0 -0
- package/package.json +1 -1
- package/morozeckiy-dd-lib-0.7.51.tgz +0 -0
|
@@ -52,7 +52,7 @@ export declare abstract class LibCommonInputTextComponent implements AfterViewCh
|
|
|
52
52
|
get invalidState(): boolean;
|
|
53
53
|
get showError(): boolean;
|
|
54
54
|
handleInput(_e: Event): void;
|
|
55
|
-
notifyFocusEvent(
|
|
55
|
+
notifyFocusEvent(): void;
|
|
56
56
|
handleBlur(): void;
|
|
57
57
|
handleFocus(): void;
|
|
58
58
|
returnFocus(e?: Event): void;
|
|
@@ -6,7 +6,7 @@ export declare class FilterPipe implements PipeTransform {
|
|
|
6
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
|
|
7
7
|
}
|
|
8
8
|
export declare class FilterByKeyPipe<T> implements PipeTransform {
|
|
9
|
-
transform(arr: any, fn: any):
|
|
9
|
+
transform(arr: any, fn: any): T[];
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterByKeyPipe<any>, never>;
|
|
11
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<FilterByKeyPipe<any>, "filterByKey", true>;
|
|
12
12
|
}
|
|
@@ -3,9 +3,8 @@ import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angula
|
|
|
3
3
|
import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
|
|
4
4
|
import { TToolTipPositions } from "../core";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LibSelectComponent
|
|
6
|
+
export declare class LibSelectComponent extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
7
7
|
private destroyed$;
|
|
8
|
-
private el;
|
|
9
8
|
private controlContainer;
|
|
10
9
|
static idCounter: number;
|
|
11
10
|
selectEl: ElementRef<HTMLInputElement> | undefined;
|
|
@@ -38,16 +37,16 @@ export declare class LibSelectComponent<T> extends LibCommonInputTextComponent i
|
|
|
38
37
|
initWriteValue: boolean;
|
|
39
38
|
stringArray: WritableSignal<boolean | undefined>;
|
|
40
39
|
writtenValue: any;
|
|
41
|
-
constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef,
|
|
40
|
+
constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
42
41
|
ngOnInit(): void;
|
|
43
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
44
43
|
onClear(checkedItem: any): void;
|
|
45
44
|
changeValueSub(control: AbstractControl): void;
|
|
46
45
|
registerOnChange(fn: any): void;
|
|
47
46
|
registerOnTouched(fn: any): void;
|
|
48
|
-
searchInput(
|
|
47
|
+
searchInput(): void;
|
|
49
48
|
handleInput(e: Event): void;
|
|
50
|
-
notifyFocusEvent(
|
|
49
|
+
notifyFocusEvent(): void;
|
|
51
50
|
writeValue(value: any | null | undefined): void;
|
|
52
51
|
selectItem(item: any, cleared?: boolean): void;
|
|
53
52
|
filterList(item: any): any;
|
|
@@ -57,6 +56,6 @@ export declare class LibSelectComponent<T> extends LibCommonInputTextComponent i
|
|
|
57
56
|
checkSelected(item: any): boolean;
|
|
58
57
|
handleBlur(): void;
|
|
59
58
|
handleFocus(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent, "dd-lib-select", never, { "data": { "alias": "data"; "required": false; }; "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; }; "selectId": { "alias": "selectId"; "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; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; }, never, never, true, never>;
|
|
62
61
|
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { ElementRef, OnInit
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { SvgIconsService } from "../core";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LibSvgIconComponent implements OnInit {
|
|
5
5
|
private el;
|
|
6
|
-
private rdr;
|
|
7
6
|
private svgIconRegistry;
|
|
8
7
|
private document;
|
|
9
8
|
width: string | undefined;
|
|
10
9
|
height: string | undefined;
|
|
11
10
|
color: string | undefined;
|
|
12
11
|
private svgIcon;
|
|
13
|
-
constructor(el: ElementRef,
|
|
12
|
+
constructor(el: ElementRef, svgIconRegistry: SvgIconsService, document: any);
|
|
14
13
|
set icon(iconName: string | null | undefined);
|
|
15
14
|
ngOnInit(): void;
|
|
16
15
|
private svgElementFromString;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgIconComponent, [null, null,
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgIconComponent, [null, null, { optional: true; }]>;
|
|
18
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<LibSvgIconComponent, "dd-lib-svg-icon", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
19
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare function Debounce(delay?: number): MethodDecorator;
|
|
2
2
|
export declare function Throttle(delay?: number): MethodDecorator;
|
|
3
3
|
export declare function Disabled<C, K extends keyof C = keyof C>(controlKey: K, streams?: K[]): PropertyDecorator;
|
|
4
|
-
export declare function DisableAfterNCall(limit?: number): (
|
|
4
|
+
export declare function DisableAfterNCall(limit?: number): (_target: any, key: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|