@morozeckiy/dd-lib 0.8.1 → 0.8.3

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.
Files changed (96) hide show
  1. package/assets/scss/mixins.scss +10 -3
  2. package/fesm2022/morozeckiy-dd-lib.mjs +80 -20
  3. package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
  4. package/index.d.ts +17 -2
  5. package/morozeckiy-dd-lib-0.8.3.tgz +0 -0
  6. package/package.json +1 -1
  7. package/lib/common/const.d.ts +0 -4
  8. package/lib/common/lib-common-button.d.ts +0 -21
  9. package/lib/common/lib-common-input-text.d.ts +0 -68
  10. package/lib/components/data-empty/data-empty.component.d.ts +0 -7
  11. package/lib/components/error-page/error-page.component.d.ts +0 -11
  12. package/lib/components/footer/footer-links-block/footer-link/footer-link.component.d.ts +0 -7
  13. package/lib/components/footer/footer-links-block/footer-links-block.component.d.ts +0 -7
  14. package/lib/components/footer/footer.component.d.ts +0 -30
  15. package/lib/components/index.d.ts +0 -8
  16. package/lib/components/main-shared/main-shared.component.d.ts +0 -9
  17. package/lib/components/not-found/not-found.component.d.ts +0 -11
  18. package/lib/components/tech-works/tech-works.component.d.ts +0 -11
  19. package/lib/core/dialog/dialog-config.d.ts +0 -14
  20. package/lib/core/dialog/dialog-container.component.d.ts +0 -18
  21. package/lib/core/dialog/dialog-ref.d.ts +0 -18
  22. package/lib/core/dialog/dialog.service.d.ts +0 -28
  23. package/lib/core/dialog/modal-base/modal-base.component.d.ts +0 -23
  24. package/lib/core/dialog/modal-common.component.d.ts +0 -6
  25. package/lib/core/dialog/modal-question/modal-question.component.d.ts +0 -15
  26. package/lib/core/directives/auto-height.directive.d.ts +0 -11
  27. package/lib/core/directives/ban-symbol.directive.d.ts +0 -9
  28. package/lib/core/directives/click-outside.directive.d.ts +0 -15
  29. package/lib/core/directives/counter.directive.d.ts +0 -14
  30. package/lib/core/directives/declension.directive.d.ts +0 -13
  31. package/lib/core/directives/drop-down-position.directive.d.ts +0 -17
  32. package/lib/core/directives/fixed-position.directive.d.ts +0 -23
  33. package/lib/core/directives/list-keyboard-navigation.directive.d.ts +0 -11
  34. package/lib/core/directives/max-num.directive.d.ts +0 -12
  35. package/lib/core/directives/phone-mask.directive.d.ts +0 -10
  36. package/lib/core/directives/resize-textarea.directive.d.ts +0 -12
  37. package/lib/core/directives/selectable-item.directive.d.ts +0 -18
  38. package/lib/core/directives/triangle.directive.d.ts +0 -16
  39. package/lib/core/directives/view-port-height.directive.d.ts +0 -15
  40. package/lib/core/index.d.ts +0 -33
  41. package/lib/core/pipes/filter.pipe.d.ts +0 -14
  42. package/lib/core/pipes/highlight.pipe.d.ts +0 -7
  43. package/lib/core/pipes/reverse.pipe.d.ts +0 -7
  44. package/lib/core/pipes/safe.pipe.d.ts +0 -10
  45. package/lib/core/pipes/sort-by-val.pipe.d.ts +0 -11
  46. package/lib/core/services/date.service.d.ts +0 -43
  47. package/lib/core/services/destroy.service.d.ts +0 -11
  48. package/lib/core/services/fetcher.service.d.ts +0 -57
  49. package/lib/core/services/interceptors.service.d.ts +0 -12
  50. package/lib/core/services/svg-icons.service.d.ts +0 -9
  51. package/lib/core/services/theme-constructor.service.d.ts +0 -28
  52. package/lib/core/services/validators.service.d.ts +0 -18
  53. package/lib/core/toast/index.d.ts +0 -4
  54. package/lib/core/toast/toast/toast-animations.d.ts +0 -5
  55. package/lib/core/toast/toast/toast.component.d.ts +0 -22
  56. package/lib/core/toast/toast-config.d.ts +0 -26
  57. package/lib/core/toast/toast-ref.d.ts +0 -8
  58. package/lib/core/toast/toast.service.d.ts +0 -23
  59. package/lib/core/tooltip/tooltip.component.d.ts +0 -12
  60. package/lib/core/tooltip/tooltip.directive.d.ts +0 -24
  61. package/lib/lib-accordion/lib-accordion.component.d.ts +0 -9
  62. package/lib/lib-back-button/lib-back-button.component.d.ts +0 -13
  63. package/lib/lib-button/lib-button.component.d.ts +0 -10
  64. package/lib/lib-calendar/lib-calendar.component.d.ts +0 -59
  65. package/lib/lib-card/lib-card.component.d.ts +0 -16
  66. package/lib/lib-checkbox/lib-checkbox.component.d.ts +0 -26
  67. package/lib/lib-comment-input/lib-comment-input.component.d.ts +0 -11
  68. package/lib/lib-date-input/lib-date-input.component.d.ts +0 -30
  69. package/lib/lib-date-range/lib-date-range.component.d.ts +0 -49
  70. package/lib/lib-disclaimer/lib-disclaimer.component.d.ts +0 -10
  71. package/lib/lib-file-loader/lib-file-loader.component.d.ts +0 -30
  72. package/lib/lib-file-upload/lib-file-upload.component.d.ts +0 -14
  73. package/lib/lib-filter/lib-filter.component.d.ts +0 -12
  74. package/lib/lib-filter-button/lib-filter-button.component.d.ts +0 -14
  75. package/lib/lib-horizontal-scroll/lib-horizontal-scroll.component.d.ts +0 -30
  76. package/lib/lib-image-loader/lib-image-loader.component.d.ts +0 -9
  77. package/lib/lib-info-card/lib-info-card.component.d.ts +0 -12
  78. package/lib/lib-input/lib-input.component.d.ts +0 -28
  79. package/lib/lib-loader/lib-loader.component.d.ts +0 -8
  80. package/lib/lib-radio/lib-radio.component.d.ts +0 -27
  81. package/lib/lib-search-input/lib-search-input.component.d.ts +0 -39
  82. package/lib/lib-select/lib-select.component.d.ts +0 -96
  83. package/lib/lib-skeleton/lib-skeleton.component.d.ts +0 -16
  84. package/lib/lib-sort/lib-sort.component.d.ts +0 -18
  85. package/lib/lib-step/lib-step.component.d.ts +0 -7
  86. package/lib/lib-svg/lib-svg.component.d.ts +0 -41
  87. package/lib/lib-svg-icon/lib-svg-icon.component.d.ts +0 -18
  88. package/lib/lib-svg-viewer/lib-svg-viewer.component.d.ts +0 -39
  89. package/lib/lib-tabs-fragment/lib-tabs-fragment.component.d.ts +0 -42
  90. package/lib/lib-textarea/lib-textarea.component.d.ts +0 -16
  91. package/lib/svg-icons/svg-icon.model.d.ts +0 -588
  92. package/lib/utils/decorators.d.ts +0 -4
  93. package/morozeckiy-dd-lib-0.7.120.tgz +0 -0
  94. package/morozeckiy-dd-lib-0.8.0.tgz +0 -0
  95. package/morozeckiy-dd-lib-0.8.1.tgz +0 -0
  96. package/public-api.d.ts +0 -37
@@ -1,49 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { IDatePeriod } from '../lib-calendar/lib-calendar.component';
4
- import * as i0 from "@angular/core";
5
- export declare class LibDateRangeComponent implements ControlValueAccessor, OnInit {
6
- private cdr;
7
- static idCounter: number;
8
- startInput?: ElementRef<HTMLElement>;
9
- endInput?: ElementRef<HTMLElement>;
10
- setDateRange: EventEmitter<IDatePeriod | undefined>;
11
- rangeId: string | undefined;
12
- placeholderStart: string;
13
- placeholderEnd: string;
14
- label: string | undefined;
15
- required: boolean | undefined;
16
- rangeModeFullPeriod: boolean;
17
- isShownPeriod: boolean;
18
- disabled: boolean;
19
- selectedPeriodStr: string | undefined;
20
- selectedPeriod: IDatePeriod;
21
- onTouchedCallback: (() => void) | undefined;
22
- endIsFocused: boolean;
23
- startIsFocused: boolean;
24
- constructor(cdr: ChangeDetectorRef);
25
- pressTab(e: KeyboardEvent): void;
26
- ngOnInit(): void;
27
- get startDateStr(): string;
28
- set startDateStr(value: string | undefined);
29
- get endDateStr(): string;
30
- set endDateStr(value: string | undefined);
31
- private formatDate;
32
- private parseDate;
33
- openCalendar(): void;
34
- closeCalendar(): void;
35
- setPeriod($event: IDatePeriod | undefined): void;
36
- dateInput(e: KeyboardEvent, period: 'start' | 'end'): void;
37
- private handleStartDateInput;
38
- private handleEndDateInput;
39
- private handleInvalidDate;
40
- private onPeriodChange;
41
- propagateChange(_value: IDatePeriod | undefined): void;
42
- registerOnChange(fn: any): void;
43
- registerOnTouched(fn: any): void;
44
- writeValue($event: IDatePeriod): void;
45
- setDate($event: Date | undefined): void;
46
- changeActiveInput(position: 'start' | 'end', val: boolean): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<LibDateRangeComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<LibDateRangeComponent, "dd-lib-date-range", never, { "rangeId": { "alias": "rangeId"; "required": false; }; "placeholderStart": { "alias": "placeholderStart"; "required": false; }; "placeholderEnd": { "alias": "placeholderEnd"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "rangeModeFullPeriod": { "alias": "rangeModeFullPeriod"; "required": false; }; }, { "setDateRange": "setDateRange"; }, never, never, true, never>;
49
- }
@@ -1,10 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LibDisclaimerComponent {
4
- type: 'success' | 'warning' | 'danger' | 'info';
5
- title?: string;
6
- description?: string;
7
- template?: TemplateRef<HTMLElement>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<LibDisclaimerComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<LibDisclaimerComponent, "dd-lib-disclaimer", never, { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,30 +0,0 @@
1
- import { ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { ToastService } from "../core";
3
- import * as i0 from "@angular/core";
4
- export declare class LibFileLoaderComponent implements OnChanges {
5
- private toast;
6
- fileLoader: ElementRef<HTMLInputElement>;
7
- title: string | undefined;
8
- description: string | undefined;
9
- btnTitle: string;
10
- multiple: boolean;
11
- maxFiles: number | undefined;
12
- maxFileSize: number;
13
- style: object | undefined;
14
- extensions: string[] | undefined;
15
- disabled: boolean | undefined;
16
- showLoader: null | boolean | undefined;
17
- template: TemplateRef<HTMLElement> | undefined;
18
- externalFiles: File[];
19
- inputFiles: EventEmitter<File[]>;
20
- files: File[];
21
- constructor(toast: ToastService);
22
- ngOnChanges(changes: SimpleChanges): void;
23
- openFileLoader(): void;
24
- loadFile($event: Event): void;
25
- clear(): void;
26
- private validateExtension;
27
- private validateFileSize;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<LibFileLoaderComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<LibFileLoaderComponent, "dd-lib-file-loader", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "btnTitle": { "alias": "btnTitle"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxFiles": { "alias": "maxFiles"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "style": { "alias": "style"; "required": false; }; "extensions": { "alias": "extensions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "template": { "alias": "template"; "required": false; }; "externalFiles": { "alias": "externalFiles"; "required": false; }; }, { "inputFiles": "inputFiles"; }, never, never, true, never>;
30
- }
@@ -1,14 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LibFileUploadComponent implements OnInit {
4
- background?: string;
5
- width?: string;
6
- name?: string;
7
- file: any;
8
- deleteFile: EventEmitter<any>;
9
- fileName?: string;
10
- fileExtension?: string;
11
- ngOnInit(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<LibFileUploadComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<LibFileUploadComponent, "dd-lib-file-upload", never, { "background": { "alias": "background"; "required": false; }; "width": { "alias": "width"; "required": false; }; "name": { "alias": "name"; "required": false; }; "file": { "alias": "file"; "required": false; }; }, { "deleteFile": "deleteFile"; }, never, never, true, never>;
14
- }
@@ -1,12 +0,0 @@
1
- import { Renderer2, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LibFilterComponent {
4
- private document;
5
- private renderer;
6
- hideFilter: boolean;
7
- resetEvent: EventEmitter<any>;
8
- constructor(document: Document, renderer: Renderer2);
9
- toggleFilter(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<LibFilterComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<LibFilterComponent, "dd-lib-filter", never, {}, { "resetEvent": "resetEvent"; }, never, ["*"], true, never>;
12
- }
@@ -1,14 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { LibCommonButtonComponent } from '../common/lib-common-button';
3
- import { TooltipData } from "../core";
4
- import * as i0 from "@angular/core";
5
- export declare class LibFilterButtonComponent extends LibCommonButtonComponent {
6
- btnTitle: string | undefined;
7
- clearEvent: EventEmitter<null>;
8
- hintEvent: EventEmitter<null>;
9
- hintContent: TooltipData | undefined;
10
- onClear($event: MouseEvent): void;
11
- hintClick($event: MouseEvent): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<LibFilterButtonComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<LibFilterButtonComponent, "dd-lib-filter-button", never, { "btnTitle": { "alias": "btnTitle"; "required": false; }; "hintContent": { "alias": "hintContent"; "required": false; }; }, { "clearEvent": "clearEvent"; "hintEvent": "hintEvent"; }, never, ["*"], true, never>;
14
- }
@@ -1,30 +0,0 @@
1
- import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LibHorizontalScrollComponent implements OnDestroy {
4
- private el;
5
- private renderer;
6
- private isDown;
7
- private startX;
8
- private scrollLeft;
9
- private velocity;
10
- private lastTime;
11
- private lastScrollLeft;
12
- private animationFrameId;
13
- constructor(el: ElementRef, renderer: Renderer2);
14
- onMouseDown(e: MouseEvent): void;
15
- onTouchStart(e: TouchEvent): void;
16
- private startDragging;
17
- onMouseLeave(): void;
18
- onMouseUp(): void;
19
- onTouchEnd(): void;
20
- private stopDragging;
21
- onMouseMove(e: MouseEvent): void;
22
- onTouchMove(e: TouchEvent): void;
23
- private handleMove;
24
- onWheel(e: WheelEvent): void;
25
- private startInertialScroll;
26
- private cancelAnimation;
27
- ngOnDestroy(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<LibHorizontalScrollComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<LibHorizontalScrollComponent, "dd-lib-horizontal-scroll", never, {}, {}, never, ["*"], true, never>;
30
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated использовать lib-file-loader
4
- */
5
- export declare class LibImageLoaderComponent {
6
- images: any;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<LibImageLoaderComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<LibImageLoaderComponent, "dd-lib-image-loader", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { ToastData } from "../core";
3
- import * as i0 from "@angular/core";
4
- export declare class LibInfoCardComponent implements OnInit {
5
- config: ToastData;
6
- callEvent: EventEmitter<any>;
7
- constructor();
8
- ngOnInit(): void;
9
- onClickDesc($event: MouseEvent): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<LibInfoCardComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<LibInfoCardComponent, "dd-lib-info-card", never, { "config": { "alias": "config"; "required": false; }; }, { "callEvent": "callEvent"; }, never, never, true, never>;
12
- }
@@ -1,28 +0,0 @@
1
- import { ChangeDetectorRef, DestroyRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
3
- import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
4
- import * as i0 from "@angular/core";
5
- export declare class LibInputComponent extends LibCommonInputTextComponent implements OnInit, OnDestroy, ControlValueAccessor {
6
- private destroyed$;
7
- private controlContainer;
8
- contentInput: ElementRef<HTMLElement> | undefined;
9
- showMaskTyped: boolean;
10
- dropSpecialCharacters: boolean | string[];
11
- height?: string;
12
- width?: string;
13
- prefix: string;
14
- suffix: string;
15
- shownMaskExpression: string | null;
16
- mask: string | undefined;
17
- validation: boolean;
18
- customPatterns: any;
19
- showPass: boolean;
20
- constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
21
- ngOnInit(): void;
22
- changeValueSub(control: AbstractControl): void;
23
- writeValue(value: string | number | null): void;
24
- ngOnDestroy(): void;
25
- handleBlur(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<LibInputComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<LibInputComponent, "dd-lib-input", never, { "showMaskTyped": { "alias": "showMaskTyped"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "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>;
28
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LibLoaderComponent {
3
- color: string;
4
- size: 'big' | 'giant' | 'standard';
5
- static ɵfac: i0.ɵɵFactoryDeclaration<LibLoaderComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<LibLoaderComponent, "dd-lib-loader", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
7
- static ngAcceptInputType_color: string | undefined;
8
- }
@@ -1,27 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class LibRadioComponent implements OnInit, ControlValueAccessor {
5
- private cdr;
6
- static idCounter: number;
7
- radioId: string | undefined;
8
- disabled: boolean;
9
- required: boolean;
10
- name: string | undefined;
11
- value: any;
12
- checked: boolean;
13
- changed: EventEmitter<any>;
14
- focused: boolean | undefined;
15
- onTouchedCallback: (() => void) | undefined;
16
- private modelInitialization;
17
- constructor(cdr: ChangeDetectorRef);
18
- ngOnInit(): void;
19
- onSelected(target: EventTarget | null): void;
20
- registerOnChange(fn: any): void;
21
- setDisabledState(disabled: boolean): void;
22
- registerOnTouched(fn: any): void;
23
- writeValue(value: any): void;
24
- private propagateChange;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<LibRadioComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<LibRadioComponent, "dd-lib-radio", never, { "radioId": { "alias": "radioId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
27
- }
@@ -1,39 +0,0 @@
1
- import { ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
3
- import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
4
- import { BehaviorSubject, Subject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor {
7
- private destroy$;
8
- private el;
9
- private controlContainer;
10
- splitTitle?: boolean;
11
- keyTitle?: string;
12
- keyDesc?: string;
13
- keyValue?: string;
14
- styleInput: 'round' | 'standard';
15
- inputStyle: 'white' | 'gray';
16
- set searchData(data: T[] | null | undefined);
17
- debounceTime: number;
18
- delay: number;
19
- idClose: string | undefined;
20
- loaded$: BehaviorSubject<boolean>;
21
- keyupEvent: EventEmitter<string>;
22
- selectedItem: EventEmitter<any>;
23
- keyUp: Subject<KeyboardEvent>;
24
- data: T[] | null | undefined;
25
- itemSize: number;
26
- constructor(destroy$: DestroyRef, el: ElementRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
27
- onWindowScroll(): void;
28
- ngOnInit(): void;
29
- changeValueSub(control: AbstractControl): void;
30
- writeValue(value: string): void;
31
- forceChange(): void;
32
- onClear(noEmit?: boolean): void;
33
- onClickSearchItem(item: any): void;
34
- getTitle(item: any): string;
35
- getDesc(item: any): string;
36
- handleBlur(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<LibSearchInputComponent<any>, [null, null, null, { optional: true; host: true; skipSelf: true; }]>;
38
- 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>;
39
- }
@@ -1,96 +0,0 @@
1
- import { ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
2
- import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
3
- import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
4
- import { TToolTipPositions } from '../core';
5
- import * as i0 from "@angular/core";
6
- export declare class LibSelectComponent extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor, OnChanges {
7
- private destroyed$;
8
- private controlContainer;
9
- private static idCounter;
10
- selectEl: ElementRef<HTMLInputElement>;
11
- searchInputEl: ElementRef<HTMLInputElement>;
12
- virtualScroll: boolean;
13
- multi: boolean;
14
- tooltipPosition: TToolTipPositions;
15
- highlight: boolean;
16
- searchOn: boolean;
17
- strict: boolean;
18
- selectId?: string;
19
- canSortByChecked: boolean;
20
- itemSize: number;
21
- keyTitle: string;
22
- keyDesc: string;
23
- keyValue: string;
24
- noDataError: string;
25
- searchPlaceholder: string;
26
- placeholder: string;
27
- keyGroupTitle: string;
28
- keyGroupChildren: string;
29
- selectAllInGroup: boolean;
30
- sortAlphabetically: boolean;
31
- selectedItem: EventEmitter<any>;
32
- selectedItems: EventEmitter<any>;
33
- deleteMultiItem: EventEmitter<any>;
34
- allSelected: boolean;
35
- initialized: boolean;
36
- checkedItem: any;
37
- inputValue: string;
38
- multiCountValue: string;
39
- showMultiCountValue: boolean;
40
- searchValue: string;
41
- isShownList: boolean;
42
- initWriteValue: boolean;
43
- writtenValue: any;
44
- _data: WritableSignal<any[] | undefined>;
45
- readonly checkedItems: WritableSignal<any[]>;
46
- readonly stringArray: WritableSignal<boolean>;
47
- constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
48
- set data(d: any | undefined | null);
49
- ngOnInit(): void;
50
- ngOnChanges(changes: SimpleChanges): void;
51
- isGroup(item: any): boolean;
52
- getGroupTitle(group: any): string;
53
- handleGroupClick(group: any): void;
54
- isGroupSelected(group: any): boolean;
55
- onClear(checkedItem: any): void;
56
- searchInput(): void;
57
- handleInput(e: Event): void;
58
- notifyFocusEvent(): void;
59
- writeValue(value: any | null | undefined): void;
60
- registerOnChange(fn: any): void;
61
- registerOnTouched(fn: any): void;
62
- changeValueSub(control: AbstractControl): void;
63
- selectItem(item: any, cleared?: boolean): void;
64
- filterList(item: any): boolean;
65
- checkSelected(item: any): boolean;
66
- handleBlur(): void;
67
- handleFocus(): void;
68
- selectAll(): void;
69
- getClickOutsideElements(): string[];
70
- getItemTrackBy(item: any, index: number): string | number;
71
- trackByFn(index: number, item: any): string | number;
72
- private sortDataAlphabetically;
73
- private getItemDisplayText;
74
- private setupFormControl;
75
- private handleMultiWriteValue;
76
- checkNoKeyValue(value: any): void;
77
- private handleSingleWriteValue;
78
- private findItemByValue;
79
- private itemsEqual;
80
- private selectSingleItem;
81
- private handleStringItemSelection;
82
- private handleObjectItemSelection;
83
- private clearSelection;
84
- private selectMultiItem;
85
- private handleStringMultiItem;
86
- private handleObjectMultiItem;
87
- private updateMultiSelection;
88
- private filterItem;
89
- private sortDataBySelection;
90
- private deselectGroupItems;
91
- private selectGroupItems;
92
- private extractAllItems;
93
- private propagateChange;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
95
- 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>;
96
- }
@@ -1,16 +0,0 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LibSkeletonComponent {
4
- private cdr;
5
- deepParent: number | undefined;
6
- sHeight: string | undefined;
7
- sMb: string | undefined;
8
- set skeleton(s: boolean | undefined | null);
9
- set plugs(n: number | undefined);
10
- _plugs: number[];
11
- _skeleton: boolean | undefined | null;
12
- constructor(cdr: ChangeDetectorRef);
13
- protected readonly length: number;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<LibSkeletonComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<LibSkeletonComponent, "dd-lib-skeleton", never, { "deepParent": { "alias": "deepParent"; "required": false; }; "sHeight": { "alias": "sHeight"; "required": false; }; "sMb": { "alias": "sMb"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "plugs": { "alias": "plugs"; "required": false; }; }, {}, never, ["*"], true, never>;
16
- }
@@ -1,18 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export interface ISort {
4
- value: string;
5
- name: string;
6
- default?: boolean;
7
- }
8
- export declare class LibSortComponent implements OnInit {
9
- sortItems: ISort[];
10
- sortEvent: EventEmitter<string>;
11
- sort: string | undefined;
12
- showSort: boolean | undefined;
13
- ngOnInit(): void;
14
- onSort(field: string): void;
15
- showSortList(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<LibSortComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<LibSortComponent, "dd-lib-sort", never, { "sortItems": { "alias": "sortItems"; "required": false; }; }, { "sortEvent": "sortEvent"; }, never, never, true, never>;
18
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LibStepComponent {
3
- step: number;
4
- name: string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<LibStepComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<LibStepComponent, "dd-lib-step", never, { "step": { "alias": "step"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
7
- }
@@ -1,41 +0,0 @@
1
- import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
- import { HttpClient } from '@angular/common/http';
3
- import * as i0 from "@angular/core";
4
- export type TSvgColor = 'white' | 'green' | 'black' | 'gray' | 'gold' | 'blue';
5
- /**
6
- Компонент LibSvgComponent отвечает за отображение SVG иконок. Он содержит следующие свойства и методы:
7
-
8
- Свойства:
9
- - @ViewChild('svgRef', { static: true }) public svg: ElementRef; - ссылка на элемент SVG.
10
- - @Input() public width: string; - ширина иконки.
11
- - @Input() public height: string; - высота иконки.
12
- - @Input() public icon: string; - название иконки.
13
- - @Input() public pack = 'svg'; - тип иконки (по умолчанию 'svg').
14
- - @Input() public color: TSvgColor = 'green'; - цвет иконки (зеленый по умолчанию).
15
- - @Input() public stroke: TSvgColor; - цвет обводки иконки.
16
-
17
- Методы:
18
- - public ngOnInit(): void {} - метод жизненного цикла компонента, вызываемый при инициализации. В нем происходит загрузка SVG изображения и настройка его параметров, таких как ширина, высота и цвет.
19
-
20
- В методе ngOnInit компонента LibSvgComponent происходит загрузка SVG изображения по указанному пути в зависимости от типа иконки и ее названия. Затем происходит обработка SVG элементов: удаление атрибутов fill и stroke у всех элементов path, а также у элементов svg и g. Задается ширина и высота SVG изображения в соответствии с переданными значениями.
21
-
22
- Этот компонент значительно упрощает процесс отображения иконок на веб-странице, позволяя легко управлять их параметрами, такими как размеры и цвет.
23
- **/
24
- /**
25
- * @deprecated использовать lib-svg-viewer
26
- */
27
- export declare class LibSvgComponent implements OnInit {
28
- private http;
29
- private rdr;
30
- svg: ElementRef;
31
- width: string | undefined;
32
- height: string | undefined;
33
- icon: string | undefined;
34
- pack: string;
35
- color: TSvgColor;
36
- stroke: TSvgColor | undefined;
37
- constructor(http: HttpClient, rdr: Renderer2);
38
- ngOnInit(): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<LibSvgComponent, "dd-lib-svg", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "pack": { "alias": "pack"; "required": false; }; "color": { "alias": "color"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; }, {}, never, never, true, never>;
41
- }
@@ -1,18 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { SvgIconsService } from "../core";
3
- import * as i0 from "@angular/core";
4
- export declare class LibSvgIconComponent implements OnInit {
5
- private el;
6
- private svgIconRegistry;
7
- private document;
8
- width: string | undefined;
9
- height: string | undefined;
10
- color: string | undefined;
11
- private svgIcon;
12
- constructor(el: ElementRef, svgIconRegistry: SvgIconsService, document: any);
13
- set icon(iconName: string | null | undefined);
14
- ngOnInit(): void;
15
- private svgElementFromString;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgIconComponent, [null, null, { optional: true; }]>;
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>;
18
- }
@@ -1,39 +0,0 @@
1
- import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
- import { HttpClient } from "@angular/common/http";
3
- import * as i0 from "@angular/core";
4
- export interface IColorReplacementRule {
5
- selector: string;
6
- color: string;
7
- attribute?: 'fill' | 'stroke' | 'both';
8
- }
9
- export declare class LibSvgViewerComponent implements OnChanges, OnDestroy {
10
- private http;
11
- private elementRef;
12
- path: string;
13
- pack: string | 'lib-svg';
14
- icon: string;
15
- width: string;
16
- height: string;
17
- color: string;
18
- containerClass: string;
19
- fullSize: boolean;
20
- colorRules: IColorReplacementRule[];
21
- private svgCache;
22
- private currentSvgUrl;
23
- constructor(http: HttpClient, elementRef: ElementRef);
24
- ngOnChanges(changes: SimpleChanges): void;
25
- ngOnDestroy(): void;
26
- private loadSvg;
27
- private getSvgUrl;
28
- private getSvgWithCache;
29
- private renderSvg;
30
- private applySvgAttributes;
31
- private applyStyling;
32
- private applyColorRules;
33
- private applyColor;
34
- private updateSvgStyles;
35
- private clearSvgContainer;
36
- static clearCache(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgViewerComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<LibSvgViewerComponent, "dd-lib-svg-viewer", never, { "path": { "alias": "path"; "required": false; }; "pack": { "alias": "pack"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "fullSize": { "alias": "fullSize"; "required": false; }; "colorRules": { "alias": "colorRules"; "required": false; }; }, {}, never, never, true, never>;
39
- }
@@ -1,42 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { Location } from '@angular/common';
4
- import { ControlValueAccessor } from '@angular/forms';
5
- import * as i0 from "@angular/core";
6
- export declare class ITab {
7
- title: string;
8
- id: null | number;
9
- fragment?: string;
10
- name?: string;
11
- path?: string;
12
- welcomeText?: string;
13
- type?: 1 | 2;
14
- constructor(body: any);
15
- }
16
- export declare class LibTabsFragmentComponent implements OnInit, ControlValueAccessor {
17
- private router;
18
- private cdr;
19
- private location;
20
- private route;
21
- rout?: string;
22
- tabs: ITab[] | undefined;
23
- tabsFragment: (string | undefined)[] | undefined;
24
- needInitEvent: boolean | undefined;
25
- noFragment: boolean | undefined;
26
- callEvent: boolean;
27
- setActiveTab: EventEmitter<number | null>;
28
- activeFragment: number | null | undefined;
29
- private _selectedTab;
30
- private onChange;
31
- private onTouched;
32
- constructor(router: Router, cdr: ChangeDetectorRef, location: Location, route: ActivatedRoute);
33
- ngOnInit(): void;
34
- writeValue(value: ITab | number | null): void;
35
- registerOnChange(fn: any): void;
36
- registerOnTouched(fn: any): void;
37
- checkActiveTab(tab?: ITab, callEvent?: boolean): void;
38
- private handleTabSelection;
39
- private getFragment;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<LibTabsFragmentComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<LibTabsFragmentComponent, "dd-lib-tabs-fragment", never, { "rout": { "alias": "rout"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "tabsFragment": { "alias": "tabsFragment"; "required": false; }; "needInitEvent": { "alias": "needInitEvent"; "required": false; }; "noFragment": { "alias": "noFragment"; "required": false; }; "callEvent": { "alias": "callEvent"; "required": false; }; }, { "setActiveTab": "setActiveTab"; }, never, never, true, never>;
42
- }
@@ -1,16 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { ControlContainer, ControlValueAccessor } from '@angular/forms';
3
- import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
4
- import * as i0 from "@angular/core";
5
- export declare class LibTextareaComponent extends LibCommonInputTextComponent implements OnInit, OnDestroy, ControlValueAccessor {
6
- private controlContainer;
7
- rows: string;
8
- needCounter: boolean;
9
- textarea: ElementRef<HTMLInputElement> | undefined;
10
- constructor(changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
11
- ngOnInit(): void;
12
- writeValue(value: string | number | null): void;
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<LibTextareaComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<LibTextareaComponent, "dd-lib-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "needCounter": { "alias": "needCounter"; "required": false; }; }, {}, never, never, true, never>;
16
- }