@morozeckiy/dd-lib 0.7.63 → 0.7.78
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/fonts/ALS_Sirius_Bold_0.95.otf +0 -0
- package/assets/fonts/ALS_Sirius_Medium_1.6.otf +0 -0
- package/assets/fonts/ALS_Sirius_Regular_0.95.otf +0 -0
- package/assets/images/png/404-d.png +0 -0
- package/assets/images/png/404.png +0 -0
- package/assets/images/png/error-page-d.png +0 -0
- package/assets/images/png/error-page.png +0 -0
- package/assets/images/png/iphone.png +0 -0
- package/assets/images/png/not-found-d.png +0 -0
- package/assets/images/png/not-found.png +0 -0
- package/assets/images/png/tech-works-d.png +0 -0
- package/assets/images/png/tech-works.png +0 -0
- package/assets/images/svg/actogone-accept.svg +4 -0
- package/assets/images/svg/all.svg +4 -0
- package/assets/images/svg/appgalery.svg +32 -0
- package/assets/images/svg/appstore.svg +26 -0
- package/assets/images/svg/arrow-down-red.svg +12 -0
- package/assets/images/svg/arrow-up-green.svg +12 -0
- package/assets/images/svg/award.svg +12 -0
- package/assets/images/svg/back-arrow.svg +11 -0
- package/assets/images/svg/burger.svg +5 -0
- package/assets/images/svg/calendar.svg +13 -0
- package/assets/images/svg/check-green.svg +10 -0
- package/assets/images/svg/check-white.svg +5 -0
- package/assets/images/svg/circle-no.svg +4 -0
- package/assets/images/svg/clear.svg +11 -0
- package/assets/images/svg/close.svg +4 -0
- package/assets/images/svg/danger_t.svg +5 -0
- package/assets/images/svg/dd-m.svg +11 -0
- package/assets/images/svg/dd.svg +29 -0
- package/assets/images/svg/dobrodel.svg +15 -0
- package/assets/images/svg/down-chevron.svg +11 -0
- package/assets/images/svg/download.svg +14 -0
- package/assets/images/svg/eds-2-m.svg +34 -0
- package/assets/images/svg/eds-2.svg +34 -0
- package/assets/images/svg/eds-m.svg +31 -0
- package/assets/images/svg/eds.svg +84 -0
- package/assets/images/svg/entry.svg +5 -0
- package/assets/images/svg/error-hint.svg +5 -0
- package/assets/images/svg/esia.svg +4 -0
- package/assets/images/svg/eye-off.svg +12 -0
- package/assets/images/svg/eye.svg +15 -0
- package/assets/images/svg/file.svg +12 -0
- package/assets/images/svg/filter.svg +11 -0
- package/assets/images/svg/googleapp.svg +28 -0
- package/assets/images/svg/grid.svg +6 -0
- package/assets/images/svg/health-m.svg +45 -0
- package/assets/images/svg/health.svg +115 -0
- package/assets/images/svg/info-circle.svg +14 -0
- package/assets/images/svg/info_t.svg +5 -0
- package/assets/images/svg/left-chevron.svg +10 -0
- package/assets/images/svg/list-search.svg +7 -0
- package/assets/images/svg/logout.svg +5 -0
- package/assets/images/svg/mail-exclamation.svg +13 -0
- package/assets/images/svg/max-filter.svg +18 -0
- package/assets/images/svg/minus.svg +10 -0
- package/assets/images/svg/moon.svg +3 -0
- package/assets/images/svg/my-m.svg +80 -0
- package/assets/images/svg/my.svg +141 -0
- package/assets/images/svg/news.svg +6 -0
- package/assets/images/svg/next.svg +6 -0
- package/assets/images/svg/paperclip.svg +12 -0
- package/assets/images/svg/pen-edit.svg +4 -0
- package/assets/images/svg/pgu-mo-m.svg +306 -0
- package/assets/images/svg/pgu-mo.svg +586 -0
- package/assets/images/svg/plug-d.svg +61 -0
- package/assets/images/svg/plug.svg +61 -0
- package/assets/images/svg/plus.svg +4 -0
- package/assets/images/svg/preset.svg +11 -0
- package/assets/images/svg/prev.svg +6 -0
- package/assets/images/svg/print.svg +12 -0
- package/assets/images/svg/printer.svg +18 -0
- package/assets/images/svg/question-white-g.svg +14 -0
- package/assets/images/svg/question.svg +14 -0
- package/assets/images/svg/red-close.svg +11 -0
- package/assets/images/svg/reload.svg +11 -0
- package/assets/images/svg/right-chevron.svg +10 -0
- package/assets/images/svg/rustore.svg +35 -0
- package/assets/images/svg/search.svg +13 -0
- package/assets/images/svg/send.svg +13 -0
- package/assets/images/svg/set-avatar.svg +7 -0
- package/assets/images/svg/shared-logo.svg +29 -0
- package/assets/images/svg/small-round-loader.svg +19 -0
- package/assets/images/svg/sort.svg +15 -0
- package/assets/images/svg/star.svg +3 -0
- package/assets/images/svg/success_t.svg +5 -0
- package/assets/images/svg/sun.svg +4 -0
- package/assets/images/svg/tg.svg +5 -0
- package/assets/images/svg/toggle_arrow_left.svg +8 -0
- package/assets/images/svg/toggle_arrow_right.svg +9 -0
- package/assets/images/svg/trash.svg +14 -0
- package/assets/images/svg/trophy.svg +8 -0
- package/assets/images/svg/user-empty-d.svg +12 -0
- package/assets/images/svg/user-empty.svg +12 -0
- package/assets/images/svg/user.svg +4 -0
- package/assets/images/svg/vk.svg +5 -0
- package/assets/images/svg/warning_t.svg +5 -0
- package/assets/json/rating.json +881 -0
- package/assets/scss/common.scss +395 -0
- package/assets/scss/fonts.scss +23 -0
- package/assets/scss/grid.scss +158 -0
- package/assets/scss/keyframes.scss +26 -0
- package/assets/scss/mixins.scss +123 -0
- package/assets/scss/reset.scss +154 -0
- package/assets/scss/theme.scss +68 -0
- package/assets/scss/titles.scss +299 -0
- package/assets/scss/vars-dark.scss +140 -0
- package/assets/scss/vars-light.scss +140 -0
- package/assets/scss/vars.scss +4 -0
- package/assets/styles.scss +13 -0
- package/fesm2022/morozeckiy-dd-lib.mjs +212 -135
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/lib/common/lib-common-input-text.d.ts +1 -1
- package/lib/core/directives/resize-textarea.directive.d.ts +3 -1
- package/lib/core/index.d.ts +0 -1
- package/lib/core/pipes/filter.pipe.d.ts +6 -4
- package/lib/lib-accordion/lib-accordion.component.d.ts +2 -1
- package/lib/lib-comment-input/lib-comment-input.component.d.ts +5 -2
- package/lib/lib-image-loader/lib-image-loader.component.d.ts +3 -0
- package/lib/lib-input/lib-input.component.d.ts +2 -1
- package/lib/lib-select/lib-select.component.d.ts +15 -5
- package/morozeckiy-dd-lib-0.7.78.tgz +0 -0
- package/package.json +1 -1
- package/lib/core/pipes/filter-tabs.pipe.d.ts +0 -7
- package/morozeckiy-dd-lib-0.7.63.tgz +0 -0
|
@@ -14,7 +14,7 @@ export declare abstract class LibCommonInputTextComponent implements AfterViewCh
|
|
|
14
14
|
min: string | number | undefined;
|
|
15
15
|
maxlength: string | number | undefined;
|
|
16
16
|
max: string | number | undefined;
|
|
17
|
-
placeholder
|
|
17
|
+
placeholder: string;
|
|
18
18
|
autocomplete?: string;
|
|
19
19
|
tabIndex?: string | number;
|
|
20
20
|
readOnly?: boolean;
|
|
@@ -3,8 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ResizeTextareaDirective {
|
|
4
4
|
private el;
|
|
5
5
|
private rdr;
|
|
6
|
+
ddResizeTextarea: number;
|
|
6
7
|
constructor(el: ElementRef, rdr: Renderer2);
|
|
7
8
|
onKeyup(): void;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeTextareaDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeTextareaDirective, "[ddResizeTextarea]", never, {}, {}, never, never, true, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeTextareaDirective, "[ddResizeTextarea]", never, { "ddResizeTextarea": { "alias": "ddResizeTextarea"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ngAcceptInputType_ddResizeTextarea: unknown;
|
|
10
12
|
}
|
package/lib/core/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export * from './pipes/filter.pipe';
|
|
|
9
9
|
export * from './pipes/highlight.pipe';
|
|
10
10
|
export * from './pipes/safe.pipe';
|
|
11
11
|
export * from './pipes/reverse.pipe';
|
|
12
|
-
export * from './pipes/filter-tabs.pipe';
|
|
13
12
|
export * from './directives/auto-height.directive';
|
|
14
13
|
export * from './directives/counter.directive';
|
|
15
14
|
export * from './directives/declension.directive';
|
|
@@ -5,8 +5,10 @@ export declare class FilterPipe implements PipeTransform {
|
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
|
|
6
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
|
|
7
7
|
}
|
|
8
|
-
export declare class FilterByKeyPipe
|
|
9
|
-
transform
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
export declare class FilterByKeyPipe implements PipeTransform {
|
|
9
|
+
transform<T extends {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>(arr: T[] | null | undefined, key: keyof T | ((item: T) => boolean)): T[];
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterByKeyPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterByKeyPipe, "filterByKey", true>;
|
|
12
14
|
}
|
|
@@ -2,7 +2,8 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LibAccordionComponent {
|
|
4
4
|
accTitle: string | SafeHtml | undefined;
|
|
5
|
+
accordionPack: string;
|
|
5
6
|
showAccordionContent: boolean | undefined;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibAccordionComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibAccordionComponent, "dd-lib-accordion", never, { "accTitle": { "alias": "accTitle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibAccordionComponent, "dd-lib-accordion", never, { "accTitle": { "alias": "accTitle"; "required": false; }; "accordionPack": { "alias": "accordionPack"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
9
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LibCommentInputComponent extends LibCommonInputTextComponent {
|
|
5
|
+
sendComment: EventEmitter<string | undefined>;
|
|
6
|
+
commentHeight: number;
|
|
5
7
|
constructor(changeDetection: ChangeDetectorRef);
|
|
8
|
+
onClick(value: string | undefined): void;
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibCommentInputComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibCommentInputComponent, "dd-lib-comment-input", never, {}, {}, never, never, true, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibCommentInputComponent, "dd-lib-comment-input", never, {}, { "sendComment": "sendComment"; }, never, never, true, never>;
|
|
8
11
|
}
|
|
@@ -14,6 +14,7 @@ export declare class LibInputComponent extends LibCommonInputTextComponent imple
|
|
|
14
14
|
mask: string | undefined;
|
|
15
15
|
validation: boolean;
|
|
16
16
|
customPatterns: any;
|
|
17
|
+
showPass: boolean;
|
|
17
18
|
constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
changeValueSub(control: AbstractControl): void;
|
|
@@ -21,5 +22,5 @@ export declare class LibInputComponent extends LibCommonInputTextComponent imple
|
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
handleBlur(): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibInputComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibInputComponent, "dd-lib-input", never, { "showMaskTyped": { "alias": "showMaskTyped"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "validation": { "alias": "validation"; "required": false; }; "customPatterns": { "alias": "customPatterns"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibInputComponent, "dd-lib-input", never, { "showMaskTyped": { "alias": "showMaskTyped"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "validation": { "alias": "validation"; "required": false; }; "customPatterns": { "alias": "customPatterns"; "required": false; }; "showPass": { "alias": "showPass"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
|
|
4
|
-
import { TToolTipPositions } from
|
|
4
|
+
import { TToolTipPositions } from '../core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LibSelectComponent extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
7
7
|
private destroyed$;
|
|
@@ -9,7 +9,7 @@ export declare class LibSelectComponent extends LibCommonInputTextComponent impl
|
|
|
9
9
|
static idCounter: number;
|
|
10
10
|
selectEl: ElementRef<HTMLInputElement> | undefined;
|
|
11
11
|
searchInputEl: ElementRef<HTMLInputElement> | undefined;
|
|
12
|
-
set data(d: any | undefined);
|
|
12
|
+
set data(d: any | undefined | null);
|
|
13
13
|
virtualScroll: boolean | undefined;
|
|
14
14
|
multi: boolean | undefined;
|
|
15
15
|
tooltipPosition?: TToolTipPositions;
|
|
@@ -23,8 +23,13 @@ export declare class LibSelectComponent extends LibCommonInputTextComponent impl
|
|
|
23
23
|
noDataError: string;
|
|
24
24
|
searchPlaceholder: string;
|
|
25
25
|
placeholder: string;
|
|
26
|
+
keyGroupTitle: string;
|
|
27
|
+
keyGroupChildren: string;
|
|
28
|
+
selectAllInGroup: boolean;
|
|
26
29
|
selectedItem: EventEmitter<any>;
|
|
27
30
|
selectedItems: EventEmitter<any>;
|
|
31
|
+
deleteMultiItem: EventEmitter<any>;
|
|
32
|
+
initialized: boolean;
|
|
28
33
|
_data: WritableSignal<any[] | undefined>;
|
|
29
34
|
checkedItem: any;
|
|
30
35
|
checkedItems: any[];
|
|
@@ -33,13 +38,17 @@ export declare class LibSelectComponent extends LibCommonInputTextComponent impl
|
|
|
33
38
|
showMultiCountValue: boolean | undefined;
|
|
34
39
|
searchValue: string | undefined;
|
|
35
40
|
isShownList: boolean | undefined;
|
|
36
|
-
showSelected: boolean | undefined;
|
|
37
41
|
initWriteValue: boolean;
|
|
38
42
|
stringArray: WritableSignal<boolean | undefined>;
|
|
39
43
|
writtenValue: any;
|
|
40
44
|
constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
41
45
|
ngOnInit(): void;
|
|
42
46
|
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
+
isGroup(item: any): boolean;
|
|
48
|
+
getGroupTitle(group: any): string;
|
|
49
|
+
handleGroupClick(group: any): void;
|
|
50
|
+
private updateMultiSelection;
|
|
51
|
+
isGroupSelected(group: any): boolean;
|
|
43
52
|
onClear(checkedItem: any): void;
|
|
44
53
|
changeValueSub(control: AbstractControl): void;
|
|
45
54
|
registerOnChange(fn: any): void;
|
|
@@ -49,7 +58,8 @@ export declare class LibSelectComponent extends LibCommonInputTextComponent impl
|
|
|
49
58
|
notifyFocusEvent(): void;
|
|
50
59
|
writeValue(value: any | null | undefined): void;
|
|
51
60
|
selectItem(item: any, cleared?: boolean): void;
|
|
52
|
-
filterList(item: any):
|
|
61
|
+
filterList(item: any): boolean;
|
|
62
|
+
private filterItem;
|
|
53
63
|
private propagateChange;
|
|
54
64
|
private selectSingleItem;
|
|
55
65
|
private selectMultiItem;
|
|
@@ -57,5 +67,5 @@ export declare class LibSelectComponent extends LibCommonInputTextComponent impl
|
|
|
57
67
|
handleBlur(): void;
|
|
58
68
|
handleFocus(): void;
|
|
59
69
|
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>;
|
|
70
|
+
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; }; "keyGroupTitle": { "alias": "keyGroupTitle"; "required": false; }; "keyGroupChildren": { "alias": "keyGroupChildren"; "required": false; }; "selectAllInGroup": { "alias": "selectAllInGroup"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "deleteMultiItem": "deleteMultiItem"; }, never, never, true, never>;
|
|
61
71
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FilterTabsPipe implements PipeTransform {
|
|
4
|
-
transform(arr: any[] | null, tab?: number | null | undefined): any[];
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTabsPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FilterTabsPipe, "filterTabs", true>;
|
|
7
|
-
}
|
|
Binary file
|