@morozeckiy/dd-lib 0.2.71 → 0.3.0
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/images/svg/file.svg +12 -0
- package/assets/images/svg/reload.svg +11 -0
- package/assets/scss/common.scss +21 -0
- package/assets/scss/grid.scss +158 -0
- package/assets/scss/keyframes.scss +9 -0
- package/assets/scss/reset.scss +4 -0
- package/assets/scss/titles.scss +24 -10
- package/assets/styles.scss +2 -0
- package/esm2022/lib/common/lib-common-input-text.mjs +30 -25
- package/esm2022/lib/components/data-empty/data-empty.component.mjs +8 -3
- package/esm2022/lib/core/dialog/modal-base/modal-base.component.mjs +5 -5
- package/esm2022/lib/core/directives/click-outside.directive.mjs +2 -2
- package/esm2022/lib/core/services/destroy.service.mjs +1 -1
- package/esm2022/lib/core/services/fetcher.service.mjs +1 -1
- package/esm2022/lib/core/services/validators.service.mjs +33 -1
- package/esm2022/lib/core/toast/toast-config.mjs +11 -2
- package/esm2022/lib/core/toast/toast.service.mjs +18 -1
- package/esm2022/lib/lib-button/lib-button.component.mjs +3 -3
- package/esm2022/lib/lib-card/lib-card.component.mjs +3 -3
- package/esm2022/lib/lib-checkbox/lib-checkbox.component.mjs +11 -6
- package/esm2022/lib/lib-date-range/lib-date-range.component.mjs +3 -3
- package/esm2022/lib/lib-file-loader/lib-file-loader.component.mjs +6 -4
- package/esm2022/lib/lib-file-upload/lib-file-upload.component.mjs +8 -20
- package/esm2022/lib/lib-filter-button/lib-filter-button.component.mjs +3 -3
- package/esm2022/lib/lib-image-loader/lib-image-loader.component.mjs +3 -3
- package/esm2022/lib/lib-input/lib-input.component.mjs +42 -11
- package/esm2022/lib/lib-search-input/lib-search-input.component.mjs +3 -3
- package/esm2022/lib/lib-select/lib-select.component.mjs +51 -13
- package/esm2022/lib/lib-tabs-fragment/lib-tabs-fragment.component.mjs +5 -2
- package/esm2022/lib/lib-textarea/lib-textarea.component.mjs +3 -3
- package/esm2022/lib/svg-icons/svg-icon.model.mjs +11 -1
- package/fesm2022/morozeckiy-dd-lib.mjs +238 -99
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/lib/common/lib-common-input-text.d.ts +11 -4
- package/lib/components/data-empty/data-empty.component.d.ts +2 -1
- package/lib/core/dialog/modal-base/modal-base.component.d.ts +2 -2
- package/lib/core/services/fetcher.service.d.ts +4 -1
- package/lib/core/services/validators.service.d.ts +3 -2
- package/lib/core/toast/toast-config.d.ts +5 -2
- package/lib/core/toast/toast.service.d.ts +5 -1
- package/lib/lib-checkbox/lib-checkbox.component.d.ts +3 -1
- package/lib/lib-file-loader/lib-file-loader.component.d.ts +3 -2
- package/lib/lib-file-upload/lib-file-upload.component.d.ts +5 -8
- package/lib/lib-input/lib-input.component.d.ts +12 -4
- package/lib/lib-select/lib-select.component.d.ts +13 -4
- package/lib/lib-tabs-fragment/lib-tabs-fragment.component.d.ts +3 -2
- package/lib/svg-icons/svg-icon.model.d.ts +15 -1
- package/morozeckiy-dd-lib-0.3.0.tgz +0 -0
- package/package.json +1 -1
- package/morozeckiy-dd-lib-0.2.71.tgz +0 -0
|
@@ -11,25 +11,31 @@ export declare abstract class LibCommonInputTextComponent {
|
|
|
11
11
|
type: 'password' | 'email' | 'number' | 'text' | undefined;
|
|
12
12
|
contextClass: string | undefined;
|
|
13
13
|
minlength: string | number | undefined;
|
|
14
|
-
|
|
14
|
+
min: string | number | undefined;
|
|
15
|
+
maxlength: string | number | undefined;
|
|
16
|
+
max: string | number | undefined;
|
|
15
17
|
placeholder?: string;
|
|
16
18
|
autocomplete?: string;
|
|
17
19
|
tabIndex?: string | number;
|
|
18
20
|
readOnly?: boolean;
|
|
21
|
+
autofocus?: boolean;
|
|
19
22
|
fetchMode?: boolean;
|
|
20
23
|
required: boolean;
|
|
21
24
|
disabled: boolean;
|
|
22
25
|
commitOnInput: boolean;
|
|
23
26
|
clearable: boolean;
|
|
27
|
+
showSelfError: boolean;
|
|
24
28
|
uppercase: boolean;
|
|
25
29
|
invalid: boolean;
|
|
26
|
-
|
|
30
|
+
errorTexts: string[];
|
|
27
31
|
side: 'top' | 'bottom';
|
|
28
32
|
cleared: EventEmitter<void>;
|
|
29
33
|
fetchEvent: EventEmitter<any>;
|
|
30
34
|
focus: EventEmitter<any>;
|
|
31
35
|
blur: EventEmitter<any>;
|
|
36
|
+
fullBlur: EventEmitter<Event>;
|
|
32
37
|
get id(): string;
|
|
38
|
+
errorText: string | undefined;
|
|
33
39
|
focused: boolean;
|
|
34
40
|
touched: boolean;
|
|
35
41
|
control: AbstractControl | undefined | null;
|
|
@@ -39,6 +45,8 @@ export declare abstract class LibCommonInputTextComponent {
|
|
|
39
45
|
protected onTouchedCallback: (() => void) | undefined;
|
|
40
46
|
private _ID;
|
|
41
47
|
protected constructor(changeDetection: ChangeDetectorRef);
|
|
48
|
+
get invalidState(): boolean;
|
|
49
|
+
get showError(): boolean;
|
|
42
50
|
handleInput(_e: Event): void;
|
|
43
51
|
notifyFocusEvent(e: Event): void;
|
|
44
52
|
handleBlur(): void;
|
|
@@ -48,9 +56,8 @@ export declare abstract class LibCommonInputTextComponent {
|
|
|
48
56
|
forceChange(): void;
|
|
49
57
|
registerOnChange(fn: any): void;
|
|
50
58
|
registerOnTouched(fn: any): void;
|
|
51
|
-
setDisabledState(isDisabled: boolean): void;
|
|
52
59
|
handleChange(): void;
|
|
53
60
|
commit(_value: string | null | undefined): void;
|
|
54
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibCommonInputTextComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibCommonInputTextComponent, "dd-lib-common-input", never, { "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "type": { "alias": "type"; "required": false; }; "contextClass": { "alias": "contextClass"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "fetchMode": { "alias": "fetchMode"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "commitOnInput": { "alias": "commitOnInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "uppercase": { "alias": "uppercase"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibCommonInputTextComponent, "dd-lib-common-input", never, { "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "type": { "alias": "type"; "required": false; }; "contextClass": { "alias": "contextClass"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "max": { "alias": "max"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "fetchMode": { "alias": "fetchMode"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "commitOnInput": { "alias": "commitOnInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "showSelfError": { "alias": "showSelfError"; "required": false; }; "uppercase": { "alias": "uppercase"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "errorTexts": { "alias": "errorTexts"; "required": false; }; "side": { "alias": "side"; "required": false; }; }, { "cleared": "cleared"; "fetchEvent": "fetchEvent"; "focus": "focus"; "blur": "blur"; "fullBlur": "fullBlur"; }, never, never, false, never>;
|
|
56
63
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class DataEmptyComponent {
|
|
3
3
|
abs: boolean | undefined;
|
|
4
|
+
text: string;
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataEmptyComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataEmptyComponent, "dd-data-empty", never, { "abs": { "alias": "abs"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataEmptyComponent, "dd-data-empty", never, { "abs": { "alias": "abs"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
7
|
}
|
|
@@ -9,7 +9,7 @@ export declare class ModalBaseComponent {
|
|
|
9
9
|
content: TemplateRef<any> | undefined;
|
|
10
10
|
component: Type<any> | null | undefined;
|
|
11
11
|
clearFragment: boolean;
|
|
12
|
-
|
|
12
|
+
borderMobile: boolean;
|
|
13
13
|
data: any;
|
|
14
14
|
destroy: (() => {}) | undefined;
|
|
15
15
|
constructor(route: ActivatedRoute, router: Router, dialog: DDDialogRef<ModalBaseComponent>);
|
|
@@ -17,5 +17,5 @@ export declare class ModalBaseComponent {
|
|
|
17
17
|
afterDestroy: () => void;
|
|
18
18
|
close(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalBaseComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalBaseComponent, "dd-modal-base", never, { "content": { "alias": "content"; "required": false; }; "component": { "alias": "component"; "required": false; }; "clearFragment": { "alias": "clearFragment"; "required": false; }; "
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalBaseComponent, "dd-modal-base", never, { "content": { "alias": "content"; "required": false; }; "component": { "alias": "component"; "required": false; }; "clearFragment": { "alias": "clearFragment"; "required": false; }; "borderMobile": { "alias": "borderMobile"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
21
|
}
|
|
@@ -16,7 +16,10 @@ export declare class FetcherService {
|
|
|
16
16
|
private readonly payloadMethods;
|
|
17
17
|
constructor(http: HttpClient, apiUrl?: string);
|
|
18
18
|
get<R>(urlParts: string, options?: any, urlId?: string | number): Observable<R>;
|
|
19
|
-
post<R>(urlParts: string[] | string, data?: any, options?:
|
|
19
|
+
post<R>(urlParts: string[] | string, data?: any, options?: {
|
|
20
|
+
params?: any;
|
|
21
|
+
headers?: any;
|
|
22
|
+
}): Observable<R>;
|
|
20
23
|
put<R>(urlParts: string[] | string, data?: any, options?: any): Observable<R>;
|
|
21
24
|
delete<R>(urlParts: string[] | string, options?: any): Observable<R>;
|
|
22
25
|
/** перегоняем объкты в форм дату*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors
|
|
1
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ValidatorsService {
|
|
@@ -10,9 +10,10 @@ export declare class ValidatorsService {
|
|
|
10
10
|
static wrongLoginOrPswd(): ValidationErrors;
|
|
11
11
|
static existLogin(): ValidationErrors;
|
|
12
12
|
/** валидатор имени*/
|
|
13
|
-
static getNameValid(): (
|
|
13
|
+
static getNameValid(): import("@angular/forms").ValidatorFn[];
|
|
14
14
|
/** валидатор email*/
|
|
15
15
|
static getMailValid(el?: AbstractControl): Observable<ValidationErrors | null>;
|
|
16
|
+
static getErrorText(error: ValidationErrors | null | undefined): string | undefined;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsService, never>;
|
|
17
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<ValidatorsService>;
|
|
18
19
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { InjectionToken, Provider, TemplateRef } from '@angular/core';
|
|
2
|
-
export declare class
|
|
3
|
-
type: ToastType;
|
|
2
|
+
export declare class ToastTypeData {
|
|
4
3
|
title?: string;
|
|
5
4
|
description?: string;
|
|
6
5
|
template?: TemplateRef<any>;
|
|
7
6
|
templateContext?: {};
|
|
8
7
|
}
|
|
8
|
+
export declare class ToastData extends ToastTypeData {
|
|
9
|
+
type: ToastType;
|
|
10
|
+
constructor(type: ToastType, data?: ToastTypeData);
|
|
11
|
+
}
|
|
9
12
|
export type ToastType = 'warning' | 'info' | 'success' | 'danger';
|
|
10
13
|
export interface ToastConfig {
|
|
11
14
|
position?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { Overlay, PositionStrategy } from "@angular/cdk/overlay";
|
|
3
|
-
import { ToastConfig, ToastData } from "./toast-config";
|
|
3
|
+
import { ToastConfig, ToastData, ToastTypeData } from "./toast-config";
|
|
4
4
|
import { ToastRef } from "./toast-ref";
|
|
5
5
|
import { PortalInjector } from "@angular/cdk/portal";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -10,6 +10,10 @@ export declare class ToastService {
|
|
|
10
10
|
protected toastConfig: ToastConfig;
|
|
11
11
|
private lastToast;
|
|
12
12
|
constructor(overlay: Overlay, parentInjector: Injector, toastConfig: ToastConfig);
|
|
13
|
+
warning(data: ToastTypeData): void;
|
|
14
|
+
info(data: ToastTypeData): void;
|
|
15
|
+
success(data: ToastTypeData): void;
|
|
16
|
+
danger(data: ToastTypeData): void;
|
|
13
17
|
show(data: ToastData): ToastRef;
|
|
14
18
|
getPositionStrategy(): PositionStrategy;
|
|
15
19
|
getPosition(): string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LibCheckboxComponent implements OnInit, ControlValueAccessor {
|
|
5
5
|
static idCounter: number;
|
|
6
|
+
content: ElementRef<HTMLElement> | undefined;
|
|
6
7
|
checkboxId: string | undefined;
|
|
7
8
|
required: boolean;
|
|
8
9
|
disabled: boolean;
|
|
@@ -10,6 +11,7 @@ export declare class LibCheckboxComponent implements OnInit, ControlValueAccesso
|
|
|
10
11
|
customClass: string | undefined;
|
|
11
12
|
invalid: boolean;
|
|
12
13
|
checkEvent: EventEmitter<boolean>;
|
|
14
|
+
hasContent: boolean | undefined;
|
|
13
15
|
focused: boolean | undefined;
|
|
14
16
|
private onTouchedCallback;
|
|
15
17
|
ngOnInit(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ToastService } from "../core";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LibFileLoaderComponent {
|
|
@@ -10,6 +10,7 @@ export declare class LibFileLoaderComponent {
|
|
|
10
10
|
style: object | undefined;
|
|
11
11
|
extensions: string[] | undefined;
|
|
12
12
|
disabled: boolean | undefined;
|
|
13
|
+
template: TemplateRef<HTMLElement> | undefined;
|
|
13
14
|
inputFiles: EventEmitter<File[] | null | undefined>;
|
|
14
15
|
files: File[];
|
|
15
16
|
constructor(toast: ToastService);
|
|
@@ -19,5 +20,5 @@ export declare class LibFileLoaderComponent {
|
|
|
19
20
|
private validateExtension;
|
|
20
21
|
private validateFileSize;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibFileLoaderComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibFileLoaderComponent, "dd-lib-file-loader", never, { "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; }; }, { "inputFiles": "inputFiles"; }, never, never, true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibFileLoaderComponent, "dd-lib-file-loader", never, { "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; }; "template": { "alias": "template"; "required": false; }; }, { "inputFiles": "inputFiles"; }, never, never, true, never>;
|
|
23
24
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LibFileUploadComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
outputFile: EventEmitter<File>;
|
|
8
|
-
outputFiles: EventEmitter<File[]>;
|
|
9
|
-
onFileSelected($event: Event): void;
|
|
4
|
+
name: string;
|
|
5
|
+
file: any;
|
|
6
|
+
deleteFile: EventEmitter<any>;
|
|
10
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibFileUploadComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibFileUploadComponent, "dd-lib-file-upload", never, { "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibFileUploadComponent, "dd-lib-file-upload", never, { "name": { "alias": "name"; "required": false; }; "file": { "alias": "file"; "required": false; }; }, { "deleteFile": "deleteFile"; }, never, never, true, never>;
|
|
12
9
|
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlContainer, ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
|
|
4
|
+
import { DestroyService } from "../core";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class LibInputComponent extends LibCommonInputTextComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
7
|
+
private destroyed$;
|
|
6
8
|
private controlContainer;
|
|
7
|
-
|
|
9
|
+
showMaskTyped: boolean;
|
|
10
|
+
specialCharacters: string[];
|
|
11
|
+
shownMaskExpression: string | null;
|
|
12
|
+
mask: string | undefined;
|
|
13
|
+
constructor(destroyed$: DestroyService, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
8
14
|
ngOnInit(): void;
|
|
15
|
+
changeValueSub(control: AbstractControl): void;
|
|
9
16
|
writeValue(value: string | number | null): void;
|
|
10
17
|
ngOnDestroy(): void;
|
|
11
|
-
|
|
12
|
-
static
|
|
18
|
+
handleBlur(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibInputComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibInputComponent, "dd-lib-input", never, { "showMaskTyped": { "alias": "showMaskTyped"; "required": false; }; "specialCharacters": { "alias": "specialCharacters"; "required": false; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
21
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit, WritableSignal } from '@angular/core';
|
|
2
|
-
import { ControlContainer, ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
|
|
4
|
+
import { DestroyService } from "../core";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class LibSelectComponent<T> extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor {
|
|
7
|
+
private destroyed$;
|
|
6
8
|
private controlContainer;
|
|
7
9
|
static idCounter: number;
|
|
8
10
|
set data(d: any | undefined);
|
|
9
11
|
multi: boolean | undefined;
|
|
10
12
|
selectId: string | undefined;
|
|
13
|
+
itemSize: number;
|
|
11
14
|
keyTitle: string;
|
|
12
15
|
keyDesc: string;
|
|
13
16
|
keyValue: string;
|
|
@@ -16,11 +19,15 @@ export declare class LibSelectComponent<T> extends LibCommonInputTextComponent i
|
|
|
16
19
|
_data: WritableSignal<any | undefined>;
|
|
17
20
|
checkedItems: any[];
|
|
18
21
|
inputValue: string | undefined;
|
|
22
|
+
multiCountValue: string | undefined;
|
|
23
|
+
showMultiCountValue: boolean | undefined;
|
|
19
24
|
searchValue: string | undefined;
|
|
20
25
|
isShownList: boolean | undefined;
|
|
21
26
|
stringArray: WritableSignal<boolean | undefined>;
|
|
22
|
-
constructor(changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
27
|
+
constructor(destroyed$: DestroyService, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
23
28
|
ngOnInit(): void;
|
|
29
|
+
onClear(checkedItem: any): void;
|
|
30
|
+
changeValueSub(control: AbstractControl): void;
|
|
24
31
|
registerOnChange(fn: any): void;
|
|
25
32
|
registerOnTouched(fn: any): void;
|
|
26
33
|
handleInput(e: Event): void;
|
|
@@ -32,6 +39,8 @@ export declare class LibSelectComponent<T> extends LibCommonInputTextComponent i
|
|
|
32
39
|
private selectSingleItem;
|
|
33
40
|
private selectMultiItem;
|
|
34
41
|
checkSelected(item: any): boolean;
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
handleBlur(): void;
|
|
43
|
+
handleFocus(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent<any>, [null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent<any>, "dd-lib-select", never, { "data": { "alias": "data"; "required": false; }; "multi": { "alias": "multi"; "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; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
46
|
}
|
|
@@ -4,8 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ITab {
|
|
5
5
|
title: string;
|
|
6
6
|
id: null | number;
|
|
7
|
-
fragment
|
|
7
|
+
fragment?: string;
|
|
8
8
|
name?: string;
|
|
9
|
+
path?: string;
|
|
9
10
|
welcomeText?: string;
|
|
10
11
|
type?: 1 | 2;
|
|
11
12
|
constructor(body: any);
|
|
@@ -16,7 +17,7 @@ export declare class LibTabsFragmentComponent implements OnInit {
|
|
|
16
17
|
private cdr;
|
|
17
18
|
rout: string;
|
|
18
19
|
tabs: ITab[] | undefined;
|
|
19
|
-
tabsFragment: string[] | undefined;
|
|
20
|
+
tabsFragment: (string | undefined)[] | undefined;
|
|
20
21
|
needInitEvent: boolean | undefined;
|
|
21
22
|
noFragment: boolean | undefined;
|
|
22
23
|
setActiveTab: EventEmitter<number | null>;
|
|
@@ -106,6 +106,10 @@ export declare const svgIconEye: {
|
|
|
106
106
|
name: 'eye';
|
|
107
107
|
data: string;
|
|
108
108
|
};
|
|
109
|
+
export declare const svgIconFile: {
|
|
110
|
+
name: 'file';
|
|
111
|
+
data: string;
|
|
112
|
+
};
|
|
109
113
|
export declare const svgIconFilter: {
|
|
110
114
|
name: 'filter';
|
|
111
115
|
data: string;
|
|
@@ -230,6 +234,10 @@ export declare const svgIconRedClose: {
|
|
|
230
234
|
name: 'red_close';
|
|
231
235
|
data: string;
|
|
232
236
|
};
|
|
237
|
+
export declare const svgIconReload: {
|
|
238
|
+
name: 'reload';
|
|
239
|
+
data: string;
|
|
240
|
+
};
|
|
233
241
|
export declare const svgIconRightChevron: {
|
|
234
242
|
name: 'right_chevron';
|
|
235
243
|
data: string;
|
|
@@ -314,7 +322,7 @@ export declare const svgIconWarningT: {
|
|
|
314
322
|
name: 'warning_t';
|
|
315
323
|
data: string;
|
|
316
324
|
};
|
|
317
|
-
export type svgIcon = 'actogone_accept' | 'all' | 'appgalery' | 'appstore' | 'arrow_down_red' | 'arrow_up_green' | 'back_arrow' | 'burger' | 'calendar' | 'check_green' | 'check_white' | 'circle_no' | 'clear' | 'close' | 'danger_t' | 'dd_m' | 'dd' | 'dobrodel' | 'down_chevron' | 'download' | 'eds_m' | 'eds' | 'entry' | 'error_hint' | 'esia' | 'eye_off' | 'eye' | 'filter' | 'googleapp' | 'grid' | 'health_m' | 'health' | 'info_t' | 'info_circle' | 'left_chevron' | 'list_search' | 'logout' | 'mail_exclamation' | 'max_filter' | 'moon' | 'my_m' | 'my' | 'news' | 'next' | 'paperclip' | 'pen_edit' | 'pgu_mo_m' | 'pgu_mo' | 'plug_d' | 'plug' | 'plus' | 'preset' | 'prev' | 'print' | 'printer' | 'question_white_g' | 'question' | 'red_close' | 'right_chevron' | 'rustore' | 'search' | 'send' | 'set_avatar' | 'shared_logo' | 'small_round_loader' | 'sort' | 'star' | 'success_t' | 'sun' | 'tg' | 'toggle_arrow_left' | 'toggle_arrow_right' | 'trash' | 'trophy' | 'user_empty_d' | 'user_empty' | 'user' | 'vk' | 'warning_t';
|
|
325
|
+
export type svgIcon = 'actogone_accept' | 'all' | 'appgalery' | 'appstore' | 'arrow_down_red' | 'arrow_up_green' | 'back_arrow' | 'burger' | 'calendar' | 'check_green' | 'check_white' | 'circle_no' | 'clear' | 'close' | 'danger_t' | 'dd_m' | 'dd' | 'dobrodel' | 'down_chevron' | 'download' | 'eds_m' | 'eds' | 'entry' | 'error_hint' | 'esia' | 'eye_off' | 'eye' | 'file' | 'filter' | 'googleapp' | 'grid' | 'health_m' | 'health' | 'info_t' | 'info_circle' | 'left_chevron' | 'list_search' | 'logout' | 'mail_exclamation' | 'max_filter' | 'moon' | 'my_m' | 'my' | 'news' | 'next' | 'paperclip' | 'pen_edit' | 'pgu_mo_m' | 'pgu_mo' | 'plug_d' | 'plug' | 'plus' | 'preset' | 'prev' | 'print' | 'printer' | 'question_white_g' | 'question' | 'red_close' | 'reload' | 'right_chevron' | 'rustore' | 'search' | 'send' | 'set_avatar' | 'shared_logo' | 'small_round_loader' | 'sort' | 'star' | 'success_t' | 'sun' | 'tg' | 'toggle_arrow_left' | 'toggle_arrow_right' | 'trash' | 'trophy' | 'user_empty_d' | 'user_empty' | 'user' | 'vk' | 'warning_t';
|
|
318
326
|
export interface SvgIcon {
|
|
319
327
|
name: svgIcon;
|
|
320
328
|
data: string;
|
|
@@ -401,6 +409,9 @@ export declare const completeIconSet: ({
|
|
|
401
409
|
} | {
|
|
402
410
|
name: 'eye';
|
|
403
411
|
data: string;
|
|
412
|
+
} | {
|
|
413
|
+
name: 'file';
|
|
414
|
+
data: string;
|
|
404
415
|
} | {
|
|
405
416
|
name: 'filter';
|
|
406
417
|
data: string;
|
|
@@ -494,6 +505,9 @@ export declare const completeIconSet: ({
|
|
|
494
505
|
} | {
|
|
495
506
|
name: 'red_close';
|
|
496
507
|
data: string;
|
|
508
|
+
} | {
|
|
509
|
+
name: 'reload';
|
|
510
|
+
data: string;
|
|
497
511
|
} | {
|
|
498
512
|
name: 'right_chevron';
|
|
499
513
|
data: string;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|