@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.
- package/assets/scss/mixins.scss +10 -3
- package/fesm2022/morozeckiy-dd-lib.mjs +80 -20
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/index.d.ts +17 -2
- package/morozeckiy-dd-lib-0.8.3.tgz +0 -0
- package/package.json +1 -1
- package/lib/common/const.d.ts +0 -4
- package/lib/common/lib-common-button.d.ts +0 -21
- package/lib/common/lib-common-input-text.d.ts +0 -68
- package/lib/components/data-empty/data-empty.component.d.ts +0 -7
- package/lib/components/error-page/error-page.component.d.ts +0 -11
- package/lib/components/footer/footer-links-block/footer-link/footer-link.component.d.ts +0 -7
- package/lib/components/footer/footer-links-block/footer-links-block.component.d.ts +0 -7
- package/lib/components/footer/footer.component.d.ts +0 -30
- package/lib/components/index.d.ts +0 -8
- package/lib/components/main-shared/main-shared.component.d.ts +0 -9
- package/lib/components/not-found/not-found.component.d.ts +0 -11
- package/lib/components/tech-works/tech-works.component.d.ts +0 -11
- package/lib/core/dialog/dialog-config.d.ts +0 -14
- package/lib/core/dialog/dialog-container.component.d.ts +0 -18
- package/lib/core/dialog/dialog-ref.d.ts +0 -18
- package/lib/core/dialog/dialog.service.d.ts +0 -28
- package/lib/core/dialog/modal-base/modal-base.component.d.ts +0 -23
- package/lib/core/dialog/modal-common.component.d.ts +0 -6
- package/lib/core/dialog/modal-question/modal-question.component.d.ts +0 -15
- package/lib/core/directives/auto-height.directive.d.ts +0 -11
- package/lib/core/directives/ban-symbol.directive.d.ts +0 -9
- package/lib/core/directives/click-outside.directive.d.ts +0 -15
- package/lib/core/directives/counter.directive.d.ts +0 -14
- package/lib/core/directives/declension.directive.d.ts +0 -13
- package/lib/core/directives/drop-down-position.directive.d.ts +0 -17
- package/lib/core/directives/fixed-position.directive.d.ts +0 -23
- package/lib/core/directives/list-keyboard-navigation.directive.d.ts +0 -11
- package/lib/core/directives/max-num.directive.d.ts +0 -12
- package/lib/core/directives/phone-mask.directive.d.ts +0 -10
- package/lib/core/directives/resize-textarea.directive.d.ts +0 -12
- package/lib/core/directives/selectable-item.directive.d.ts +0 -18
- package/lib/core/directives/triangle.directive.d.ts +0 -16
- package/lib/core/directives/view-port-height.directive.d.ts +0 -15
- package/lib/core/index.d.ts +0 -33
- package/lib/core/pipes/filter.pipe.d.ts +0 -14
- package/lib/core/pipes/highlight.pipe.d.ts +0 -7
- package/lib/core/pipes/reverse.pipe.d.ts +0 -7
- package/lib/core/pipes/safe.pipe.d.ts +0 -10
- package/lib/core/pipes/sort-by-val.pipe.d.ts +0 -11
- package/lib/core/services/date.service.d.ts +0 -43
- package/lib/core/services/destroy.service.d.ts +0 -11
- package/lib/core/services/fetcher.service.d.ts +0 -57
- package/lib/core/services/interceptors.service.d.ts +0 -12
- package/lib/core/services/svg-icons.service.d.ts +0 -9
- package/lib/core/services/theme-constructor.service.d.ts +0 -28
- package/lib/core/services/validators.service.d.ts +0 -18
- package/lib/core/toast/index.d.ts +0 -4
- package/lib/core/toast/toast/toast-animations.d.ts +0 -5
- package/lib/core/toast/toast/toast.component.d.ts +0 -22
- package/lib/core/toast/toast-config.d.ts +0 -26
- package/lib/core/toast/toast-ref.d.ts +0 -8
- package/lib/core/toast/toast.service.d.ts +0 -23
- package/lib/core/tooltip/tooltip.component.d.ts +0 -12
- package/lib/core/tooltip/tooltip.directive.d.ts +0 -24
- package/lib/lib-accordion/lib-accordion.component.d.ts +0 -9
- package/lib/lib-back-button/lib-back-button.component.d.ts +0 -13
- package/lib/lib-button/lib-button.component.d.ts +0 -10
- package/lib/lib-calendar/lib-calendar.component.d.ts +0 -59
- package/lib/lib-card/lib-card.component.d.ts +0 -16
- package/lib/lib-checkbox/lib-checkbox.component.d.ts +0 -26
- package/lib/lib-comment-input/lib-comment-input.component.d.ts +0 -11
- package/lib/lib-date-input/lib-date-input.component.d.ts +0 -30
- package/lib/lib-date-range/lib-date-range.component.d.ts +0 -49
- package/lib/lib-disclaimer/lib-disclaimer.component.d.ts +0 -10
- package/lib/lib-file-loader/lib-file-loader.component.d.ts +0 -30
- package/lib/lib-file-upload/lib-file-upload.component.d.ts +0 -14
- package/lib/lib-filter/lib-filter.component.d.ts +0 -12
- package/lib/lib-filter-button/lib-filter-button.component.d.ts +0 -14
- package/lib/lib-horizontal-scroll/lib-horizontal-scroll.component.d.ts +0 -30
- package/lib/lib-image-loader/lib-image-loader.component.d.ts +0 -9
- package/lib/lib-info-card/lib-info-card.component.d.ts +0 -12
- package/lib/lib-input/lib-input.component.d.ts +0 -28
- package/lib/lib-loader/lib-loader.component.d.ts +0 -8
- package/lib/lib-radio/lib-radio.component.d.ts +0 -27
- package/lib/lib-search-input/lib-search-input.component.d.ts +0 -39
- package/lib/lib-select/lib-select.component.d.ts +0 -96
- package/lib/lib-skeleton/lib-skeleton.component.d.ts +0 -16
- package/lib/lib-sort/lib-sort.component.d.ts +0 -18
- package/lib/lib-step/lib-step.component.d.ts +0 -7
- package/lib/lib-svg/lib-svg.component.d.ts +0 -41
- package/lib/lib-svg-icon/lib-svg-icon.component.d.ts +0 -18
- package/lib/lib-svg-viewer/lib-svg-viewer.component.d.ts +0 -39
- package/lib/lib-tabs-fragment/lib-tabs-fragment.component.d.ts +0 -42
- package/lib/lib-textarea/lib-textarea.component.d.ts +0 -16
- package/lib/svg-icons/svg-icon.model.d.ts +0 -588
- package/lib/utils/decorators.d.ts +0 -4
- package/morozeckiy-dd-lib-0.7.120.tgz +0 -0
- package/morozeckiy-dd-lib-0.8.0.tgz +0 -0
- package/morozeckiy-dd-lib-0.8.1.tgz +0 -0
- package/public-api.d.ts +0 -37
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class VhHeightDirective implements OnInit, OnDestroy {
|
|
4
|
-
private el;
|
|
5
|
-
vhValue: number;
|
|
6
|
-
private resizeObserver;
|
|
7
|
-
constructor(el: ElementRef);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
onResize(event: Event): void;
|
|
10
|
-
onOrientationChange(event: Event): void;
|
|
11
|
-
private setHeight;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VhHeightDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VhHeightDirective, "[ddVhHeight]", never, { "vhValue": { "alias": "ddVhHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
package/lib/core/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export * from './services/theme-constructor.service';
|
|
2
|
-
export * from './services/date.service';
|
|
3
|
-
export * from './services/svg-icons.service';
|
|
4
|
-
export * from './services/destroy.service';
|
|
5
|
-
export * from './services/interceptors.service';
|
|
6
|
-
export * from './services/validators.service';
|
|
7
|
-
export * from './services/fetcher.service';
|
|
8
|
-
export * from './pipes/filter.pipe';
|
|
9
|
-
export * from './pipes/highlight.pipe';
|
|
10
|
-
export * from './pipes/safe.pipe';
|
|
11
|
-
export * from './pipes/reverse.pipe';
|
|
12
|
-
export * from './pipes/sort-by-val.pipe';
|
|
13
|
-
export * from './directives/auto-height.directive';
|
|
14
|
-
export * from './directives/counter.directive';
|
|
15
|
-
export * from './directives/declension.directive';
|
|
16
|
-
export * from './directives/click-outside.directive';
|
|
17
|
-
export * from './directives/resize-textarea.directive';
|
|
18
|
-
export * from './tooltip/tooltip.directive';
|
|
19
|
-
export * from './tooltip/tooltip.component';
|
|
20
|
-
export * from './directives/triangle.directive';
|
|
21
|
-
export * from './directives/drop-down-position.directive';
|
|
22
|
-
export * from './directives/phone-mask.directive';
|
|
23
|
-
export * from './directives/list-keyboard-navigation.directive';
|
|
24
|
-
export * from './directives/selectable-item.directive';
|
|
25
|
-
export * from './directives/fixed-position.directive';
|
|
26
|
-
export * from './directives/view-port-height.directive';
|
|
27
|
-
export * from './toast/index';
|
|
28
|
-
export * from './dialog/dialog.service';
|
|
29
|
-
export * from './dialog/dialog-config';
|
|
30
|
-
export * from './dialog/dialog-ref';
|
|
31
|
-
export * from './dialog/modal-common.component';
|
|
32
|
-
export * from './dialog/modal-question/modal-question.component';
|
|
33
|
-
export * from './dialog/modal-base/modal-base.component';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FilterPipe implements PipeTransform {
|
|
4
|
-
transform(value: any[], args?: number): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
|
|
7
|
-
}
|
|
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>;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class HighlightPipe implements PipeTransform {
|
|
4
|
-
transform(name: string, val?: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "highlight", true>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ReversePipe implements PipeTransform {
|
|
4
|
-
transform(value: any[], sort: string): any[];
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReversePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ReversePipe, "reverse", true>;
|
|
7
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SafePipe implements PipeTransform {
|
|
5
|
-
protected sanitizer: DomSanitizer;
|
|
6
|
-
constructor(sanitizer: DomSanitizer);
|
|
7
|
-
transform(value: string, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", true>;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type SortDirection = 'ASC' | 'DESC';
|
|
4
|
-
export declare class SortByValPipe implements PipeTransform {
|
|
5
|
-
transform<T extends {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}>(arr: T[] | null | undefined, key: keyof T | ((item: T) => any), direction?: SortDirection): T[];
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortByValPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SortByValPipe, "sortByVal", true>;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare type GetDateMethod = () => Date;
|
|
3
|
-
export declare type PeriodName = 'day' | 'week' | 'month' | 'month_3' | 'half_year' | 'year' | 'calendar';
|
|
4
|
-
export declare interface GetDateBy {
|
|
5
|
-
day?: GetDateMethod;
|
|
6
|
-
week?: GetDateMethod;
|
|
7
|
-
month?: GetDateMethod;
|
|
8
|
-
month_3?: GetDateMethod;
|
|
9
|
-
half_year?: GetDateMethod;
|
|
10
|
-
year?: GetDateMethod;
|
|
11
|
-
calendar?: GetDateMethod;
|
|
12
|
-
}
|
|
13
|
-
export declare type DateTypes = keyof GetDateBy;
|
|
14
|
-
export declare interface TimeDate {
|
|
15
|
-
time: string;
|
|
16
|
-
}
|
|
17
|
-
export declare interface CommonDateData {
|
|
18
|
-
title: string;
|
|
19
|
-
active: boolean;
|
|
20
|
-
name: PeriodName;
|
|
21
|
-
visible: string[];
|
|
22
|
-
}
|
|
23
|
-
export declare type PeriodMenuDate = TimeDate & CommonDateData;
|
|
24
|
-
export declare const DEFAULT_FORMAT = "yyyy-MM-dd";
|
|
25
|
-
export interface IDaysInMonth {
|
|
26
|
-
prevDays: number[];
|
|
27
|
-
days: number[];
|
|
28
|
-
lastDays: number[];
|
|
29
|
-
}
|
|
30
|
-
export declare class DateService {
|
|
31
|
-
private commonDateDataBy;
|
|
32
|
-
getActiveTitle(name: PeriodName): string;
|
|
33
|
-
getDateBy: GetDateBy;
|
|
34
|
-
getFormattedDate(dateType: keyof GetDateBy, f?: string): string;
|
|
35
|
-
getPeriodMenuDate(dateType: DateTypes, f?: string): TimeDate & CommonDateData;
|
|
36
|
-
getPeriodMenuDateRange(dateTypes: DateTypes[], f?: string): PeriodMenuDate[];
|
|
37
|
-
getPeriodTime(name: string): PeriodMenuDate;
|
|
38
|
-
getPeriodMenu(activePeriodName?: DateTypes): PeriodMenuDate[];
|
|
39
|
-
getDaysInMonth(month: number, year: number): IDaysInMonth;
|
|
40
|
-
static getDateFromString(dateStr: string, format?: string): Date | undefined;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateService, never>;
|
|
42
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DateService>;
|
|
43
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Этот сервис устарел. Используйте `private destroyed$: DestroyRef + takeUntilDestroyed(this.destroyed$)`.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DestroyService extends Subject<void> implements OnDestroy {
|
|
8
|
-
ngOnDestroy(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DestroyService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DestroyService>;
|
|
11
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { HttpContext, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface HttpIResponse<T> {
|
|
6
|
-
error: string;
|
|
7
|
-
errorCode: string;
|
|
8
|
-
message: null | string;
|
|
9
|
-
redirect: null | string;
|
|
10
|
-
systemMessage: null | string;
|
|
11
|
-
result: 'OK' | 'ERROR' | 'FAIL';
|
|
12
|
-
value: T;
|
|
13
|
-
}
|
|
14
|
-
export interface HttpIRequest {
|
|
15
|
-
headers?: HttpHeaders | {
|
|
16
|
-
[header: string]: string | string[];
|
|
17
|
-
};
|
|
18
|
-
observe: 'response';
|
|
19
|
-
context?: HttpContext;
|
|
20
|
-
params?: HttpParams | {
|
|
21
|
-
[param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
|
|
22
|
-
};
|
|
23
|
-
reportProgress?: boolean;
|
|
24
|
-
responseType?: 'json';
|
|
25
|
-
withCredentials?: boolean;
|
|
26
|
-
transferCache?: {
|
|
27
|
-
includeHeaders?: string[];
|
|
28
|
-
} | boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface IRequestOptions {
|
|
31
|
-
headers?: any;
|
|
32
|
-
context?: any;
|
|
33
|
-
reportProgress?: boolean;
|
|
34
|
-
params?: any;
|
|
35
|
-
observe?: any;
|
|
36
|
-
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
37
|
-
withCredentials?: boolean;
|
|
38
|
-
body?: any | null;
|
|
39
|
-
}
|
|
40
|
-
export declare const API_URL: InjectionToken<string>;
|
|
41
|
-
export declare class FetcherService {
|
|
42
|
-
private apiUrl;
|
|
43
|
-
private http;
|
|
44
|
-
constructor(apiUrl: string);
|
|
45
|
-
private prepareOptions;
|
|
46
|
-
private getUrl;
|
|
47
|
-
get<R>(urlParts: string, options?: IRequestOptions, urlId?: string | number): Observable<R>;
|
|
48
|
-
delete<R>(urlParts: string, options?: IRequestOptions): Observable<R>;
|
|
49
|
-
post<R>(urlParts: string, body?: any, options?: IRequestOptions, urlId?: string | number): Observable<R>;
|
|
50
|
-
put<R>(urlParts: string, body?: any, options?: IRequestOptions, urlId?: string | number): Observable<R>;
|
|
51
|
-
/** перегоняем обeъкты в форм дату*/
|
|
52
|
-
createFormData(form: {
|
|
53
|
-
[x: string]: any;
|
|
54
|
-
}): FormData;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FetcherService, never>;
|
|
56
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FetcherService>;
|
|
57
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InterceptorsService implements HttpInterceptor {
|
|
6
|
-
private router;
|
|
7
|
-
constructor(router: Router);
|
|
8
|
-
/** перехватчик состояния запросов к api */
|
|
9
|
-
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InterceptorsService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InterceptorsService>;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SvgIcon } from "../../svg-icons/svg-icon.model";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SvgIconsService {
|
|
4
|
-
private registry;
|
|
5
|
-
registerIcons(icons: SvgIcon[]): void;
|
|
6
|
-
getIcon(iconName: string | null | undefined): string | undefined;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconsService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SvgIconsService>;
|
|
9
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Renderer2, RendererFactory2 } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ThemeConstructorService {
|
|
5
|
-
get getTheme(): boolean;
|
|
6
|
-
get getTheme$(): Observable<boolean>;
|
|
7
|
-
isDarkTheme: Observable<boolean>;
|
|
8
|
-
private readonly renderer;
|
|
9
|
-
private themeConfigurator;
|
|
10
|
-
constructor(rendererFactory: RendererFactory2);
|
|
11
|
-
setThemeConfiguratorRoot(document: Document): void;
|
|
12
|
-
changeTheme(darkMode: boolean): void;
|
|
13
|
-
switchTheme(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeConstructorService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeConstructorService>;
|
|
16
|
-
}
|
|
17
|
-
export declare class ThemeConfigurator {
|
|
18
|
-
private document;
|
|
19
|
-
private renderer;
|
|
20
|
-
set theme(value: boolean);
|
|
21
|
-
get theme(): boolean;
|
|
22
|
-
get theme$(): Observable<boolean>;
|
|
23
|
-
private isDarkTheme$;
|
|
24
|
-
isDarkThemeObservable: Observable<boolean>;
|
|
25
|
-
constructor(document: Document, renderer: Renderer2);
|
|
26
|
-
switchTheme(): void;
|
|
27
|
-
setTheme(isDarkMode: boolean): void;
|
|
28
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, Validators } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ValidatorsService {
|
|
4
|
-
constructor();
|
|
5
|
-
/** валидатор совпадения пароллей. При использовании указывать поля pswd & confPswd*/
|
|
6
|
-
static passEqual(passwordKey: string, passwordConfirmationKey: string): ValidationErrors;
|
|
7
|
-
static passNotEqual(el: AbstractControl): ValidationErrors | null;
|
|
8
|
-
static wrongLogin(): ValidationErrors;
|
|
9
|
-
static wrongLoginOrPswd(): ValidationErrors;
|
|
10
|
-
static existLogin(): ValidationErrors;
|
|
11
|
-
/** валидатор имени*/
|
|
12
|
-
static getNameValid(): (typeof Validators.required)[];
|
|
13
|
-
/** валидатор email*/
|
|
14
|
-
static getMailValid(el?: AbstractControl): ValidationErrors | null;
|
|
15
|
-
static getErrorText(error: ValidationErrors | null | undefined): string | undefined;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ValidatorsService>;
|
|
18
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ToastConfig, ToastData } from "../toast-config";
|
|
3
|
-
import { ToastRef } from "../toast-ref";
|
|
4
|
-
import { ToastAnimationState } from "./toast-animations";
|
|
5
|
-
import { BehaviorSubject } from "rxjs";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ToastComponent implements OnInit, OnDestroy {
|
|
8
|
-
readonly data: ToastData;
|
|
9
|
-
readonly toastConfig: ToastConfig;
|
|
10
|
-
readonly ref: ToastRef;
|
|
11
|
-
callEvent: EventEmitter<any>;
|
|
12
|
-
animationState$: BehaviorSubject<ToastAnimationState>;
|
|
13
|
-
private intervalId;
|
|
14
|
-
constructor(data: ToastData, toastConfig: ToastConfig, ref: ToastRef);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
onClickDesc($event: MouseEvent): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
close(): void;
|
|
19
|
-
onFadeFinished(event: any): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "dd-toast", never, {}, { "callEvent": "callEvent"; }, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Provider, TemplateRef } from '@angular/core';
|
|
2
|
-
export declare class ToastTypeData {
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
template?: TemplateRef<any>;
|
|
6
|
-
templateContext?: {};
|
|
7
|
-
}
|
|
8
|
-
export declare class ToastData extends ToastTypeData {
|
|
9
|
-
type: ToastType;
|
|
10
|
-
constructor(type: ToastType, data?: ToastTypeData);
|
|
11
|
-
}
|
|
12
|
-
export type ToastType = 'warning' | 'info' | 'success' | 'danger';
|
|
13
|
-
export declare class ToastConfig {
|
|
14
|
-
position?: {
|
|
15
|
-
top: number;
|
|
16
|
-
right: number;
|
|
17
|
-
};
|
|
18
|
-
animation?: {
|
|
19
|
-
fadeOut: number;
|
|
20
|
-
fadeIn: number;
|
|
21
|
-
};
|
|
22
|
-
interval?: number;
|
|
23
|
-
}
|
|
24
|
-
export declare const defaultToastConfig: ToastConfig;
|
|
25
|
-
export declare const TOAST_CONFIG_TOKEN: InjectionToken<ToastConfig>;
|
|
26
|
-
export declare const provideToast: (config?: Partial<ToastConfig>) => Provider[];
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { Overlay, PositionStrategy } from "@angular/cdk/overlay";
|
|
3
|
-
import { ToastConfig, ToastData, ToastTypeData } from "./toast-config";
|
|
4
|
-
import { ToastRef } from "./toast-ref";
|
|
5
|
-
import { PortalInjector } from "@angular/cdk/portal";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ToastService {
|
|
8
|
-
private overlay;
|
|
9
|
-
private parentInjector;
|
|
10
|
-
protected toastConfig: ToastConfig;
|
|
11
|
-
private lastToast;
|
|
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;
|
|
17
|
-
show(data: ToastData): ToastRef;
|
|
18
|
-
getPositionStrategy(): PositionStrategy;
|
|
19
|
-
getPosition(): string;
|
|
20
|
-
getInjector(data: ToastData, toastRef: ToastRef, toastConfig: ToastConfig, parentInjector: Injector): PortalInjector;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
23
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type TooltipData = string | TemplateRef<void>;
|
|
4
|
-
export declare const TOOLTIP_DATA: InjectionToken<TooltipData>;
|
|
5
|
-
export declare class TooltipComponent {
|
|
6
|
-
tooltipData: TooltipData;
|
|
7
|
-
get asString(): string | false;
|
|
8
|
-
get asTemplate(): TemplateRef<void> | false;
|
|
9
|
-
constructor(tooltipData: TooltipData);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "dd-tooltip", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type TToolTipPositions = 'top' | 'right' | 'bottom' | 'left';
|
|
5
|
-
export declare class TooltipDirective implements OnDestroy {
|
|
6
|
-
private element;
|
|
7
|
-
private overlay;
|
|
8
|
-
private viewContainer;
|
|
9
|
-
ddTooltip: string | TemplateRef<void>;
|
|
10
|
-
withClick: boolean;
|
|
11
|
-
set position(p: TToolTipPositions | undefined);
|
|
12
|
-
private _position?;
|
|
13
|
-
private overlayRef;
|
|
14
|
-
constructor(element: ElementRef, overlay: Overlay, viewContainer: ViewContainerRef);
|
|
15
|
-
onClick(targetElement: Event): void;
|
|
16
|
-
showTooltipOnClick(): void;
|
|
17
|
-
showTooltip(): void;
|
|
18
|
-
hideTooltip(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
private attachTooltip;
|
|
21
|
-
private getPositionStrategy;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[ddTooltip]", never, { "ddTooltip": { "alias": "ddTooltip"; "required": false; }; "withClick": { "alias": "withClick"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LibAccordionComponent {
|
|
4
|
-
accTitle: string | SafeHtml | undefined;
|
|
5
|
-
accordionPack: string;
|
|
6
|
-
showAccordionContent: boolean | undefined;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibAccordionComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibAccordionComponent, "dd-lib-accordion", never, { "accTitle": { "alias": "accTitle"; "required": false; }; "accordionPack": { "alias": "accordionPack"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LibBackButtonComponent {
|
|
5
|
-
private location;
|
|
6
|
-
private router;
|
|
7
|
-
backTitle: string;
|
|
8
|
-
rout: string | undefined;
|
|
9
|
-
constructor(location: Location, router: Router);
|
|
10
|
-
onBack(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibBackButtonComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibBackButtonComponent, "dd-lib-back-button", never, { "backTitle": { "alias": "backTitle"; "required": false; }; "rout": { "alias": "rout"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { LibCommonButtonComponent } from '../common/lib-common-button';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LibButtonComponent extends LibCommonButtonComponent implements AfterViewInit {
|
|
5
|
-
noPadding: boolean | undefined;
|
|
6
|
-
loaderColor?: string;
|
|
7
|
-
ngAfterViewInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibButtonComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibButtonComponent, "dd-lib-button", never, { "noPadding": { "alias": "noPadding"; "required": false; }; "loaderColor": { "alias": "loaderColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { DateService, IDaysInMonth } from "../core";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IDatePeriod {
|
|
6
|
-
start: Date | undefined;
|
|
7
|
-
end: Date | undefined;
|
|
8
|
-
}
|
|
9
|
-
export declare class LibCalendarComponent implements ControlValueAccessor, OnInit {
|
|
10
|
-
private dateService;
|
|
11
|
-
type: 'string' | 'number' | 'date';
|
|
12
|
-
formatDate: string;
|
|
13
|
-
formatTime: string | undefined;
|
|
14
|
-
rangeMode: boolean;
|
|
15
|
-
rangeModeFullPeriod: boolean;
|
|
16
|
-
maxHours: number;
|
|
17
|
-
maxMinutes: number;
|
|
18
|
-
needTime?: boolean | undefined;
|
|
19
|
-
mode: 'icon' | 'full';
|
|
20
|
-
dateStart: Date | undefined;
|
|
21
|
-
dateEnd: Date | undefined;
|
|
22
|
-
emitDate: EventEmitter<Date | undefined>;
|
|
23
|
-
immediatelyEmitDate: EventEmitter<Date | undefined>;
|
|
24
|
-
emitPeriod: EventEmitter<IDatePeriod | undefined>;
|
|
25
|
-
set maxDate(date: any);
|
|
26
|
-
set minDate(date: any);
|
|
27
|
-
private _maxDate;
|
|
28
|
-
private _minDate;
|
|
29
|
-
dateValue: Date | undefined;
|
|
30
|
-
months: string[];
|
|
31
|
-
week: string[];
|
|
32
|
-
year: number;
|
|
33
|
-
month: number;
|
|
34
|
-
day: number;
|
|
35
|
-
daysInMonth: IDaysInMonth | undefined;
|
|
36
|
-
currentDate: Date;
|
|
37
|
-
dateNow: Date;
|
|
38
|
-
onTouchedCallback: (() => void) | undefined;
|
|
39
|
-
showCalendar: boolean | undefined;
|
|
40
|
-
hours: string;
|
|
41
|
-
minutes: string;
|
|
42
|
-
constructor(dateService: DateService);
|
|
43
|
-
propagateChange(_value: Date | IDatePeriod): void;
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
setDayInMonth(): void;
|
|
46
|
-
changeMonth(number: number): void;
|
|
47
|
-
getMonth(): string;
|
|
48
|
-
registerOnChange(fn: any): void;
|
|
49
|
-
registerOnTouched(fn: any): void;
|
|
50
|
-
writeValue(val: any): void;
|
|
51
|
-
showCurrenSelectDay(date: Date): void;
|
|
52
|
-
selectDay(day: number): void;
|
|
53
|
-
selectDate(): void;
|
|
54
|
-
checkHideDay(day: number): boolean;
|
|
55
|
-
canselDate(): void;
|
|
56
|
-
checkActiveDay(day: number): boolean;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibCalendarComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibCalendarComponent, "dd-lib-calendar", never, { "type": { "alias": "type"; "required": false; }; "formatDate": { "alias": "formatDate"; "required": false; }; "formatTime": { "alias": "formatTime"; "required": false; }; "rangeMode": { "alias": "rangeMode"; "required": false; }; "rangeModeFullPeriod": { "alias": "rangeModeFullPeriod"; "required": false; }; "maxHours": { "alias": "maxHours"; "required": false; }; "maxMinutes": { "alias": "maxMinutes"; "required": false; }; "needTime": { "alias": "needTime"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "dateStart": { "alias": "dateStart"; "required": false; }; "dateEnd": { "alias": "dateEnd"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; }, { "emitDate": "emitDate"; "immediatelyEmitDate": "immediatelyEmitDate"; "emitPeriod": "emitPeriod"; }, never, never, true, never>;
|
|
59
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LibCardComponent {
|
|
4
|
-
cdr: ChangeDetectorRef;
|
|
5
|
-
type: 'giant' | 'standard' | 'small';
|
|
6
|
-
footerBtn: string | undefined;
|
|
7
|
-
sHeight: string | undefined;
|
|
8
|
-
skeleton: any;
|
|
9
|
-
parentLvlForSkeleton: number | undefined;
|
|
10
|
-
plugs: number | undefined;
|
|
11
|
-
borderRadius: 'all' | 'top' | 'bottom' | 'none';
|
|
12
|
-
cardBtnEvent: EventEmitter<undefined>;
|
|
13
|
-
constructor(cdr: ChangeDetectorRef);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibCardComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibCardComponent, "dd-lib-card", never, { "type": { "alias": "type"; "required": false; }; "footerBtn": { "alias": "footerBtn"; "required": false; }; "sHeight": { "alias": "sHeight"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "parentLvlForSkeleton": { "alias": "parentLvlForSkeleton"; "required": false; }; "plugs": { "alias": "plugs"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; }, { "cardBtnEvent": "cardBtnEvent"; }, never, ["*", "*"], true, never>;
|
|
16
|
-
}
|
|
@@ -1,26 +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 LibCheckboxComponent implements OnInit, ControlValueAccessor {
|
|
5
|
-
private cdr;
|
|
6
|
-
static idCounter: number;
|
|
7
|
-
checkboxId: string | undefined;
|
|
8
|
-
required: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
checked: boolean;
|
|
11
|
-
customClass: string | undefined;
|
|
12
|
-
invalid: boolean;
|
|
13
|
-
hasContent: boolean;
|
|
14
|
-
checkEvent: EventEmitter<boolean>;
|
|
15
|
-
focused: boolean | undefined;
|
|
16
|
-
private onTouchedCallback;
|
|
17
|
-
constructor(cdr: ChangeDetectorRef);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
registerOnChange(fn: any): void;
|
|
20
|
-
registerOnTouched(fn: any): void;
|
|
21
|
-
onChecked(target: EventTarget | null): void;
|
|
22
|
-
writeValue(value: boolean): void;
|
|
23
|
-
private propagateChange;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibCheckboxComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibCheckboxComponent, "dd-lib-checkbox", never, { "checkboxId": { "alias": "checkboxId"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "hasContent": { "alias": "hasContent"; "required": false; }; }, { "checkEvent": "checkEvent"; }, never, ["*"], true, never>;
|
|
26
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LibCommentInputComponent extends LibCommonInputTextComponent {
|
|
5
|
-
sendComment: EventEmitter<string | undefined>;
|
|
6
|
-
commentHeight: number;
|
|
7
|
-
constructor(changeDetection: ChangeDetectorRef);
|
|
8
|
-
onClick(value: string | undefined): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibCommentInputComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibCommentInputComponent, "dd-lib-comment-input", never, {}, { "sendComment": "sendComment"; }, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LibDateInputComponent implements ControlValueAccessor, OnInit {
|
|
5
|
-
private cdr;
|
|
6
|
-
static idCounter: number;
|
|
7
|
-
topSide?: boolean;
|
|
8
|
-
dateId?: string;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
label?: string;
|
|
11
|
-
required?: boolean;
|
|
12
|
-
needTime?: boolean;
|
|
13
|
-
isShownCalendar: boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
selectedDateStr?: string;
|
|
16
|
-
selectedDate?: Date;
|
|
17
|
-
onTouchedCallback?: (() => void);
|
|
18
|
-
constructor(cdr: ChangeDetectorRef);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
openCalendar(): void;
|
|
21
|
-
closeCalendar(): void;
|
|
22
|
-
setPeriod($event: Date | undefined): void;
|
|
23
|
-
changeStrDate($event: string): void;
|
|
24
|
-
propagateChange(_value: Date | undefined): void;
|
|
25
|
-
registerOnChange(fn: any): void;
|
|
26
|
-
registerOnTouched(fn: any): void;
|
|
27
|
-
writeValue($event: Date): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibDateInputComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibDateInputComponent, "dd-lib-date-input", never, { "topSide": { "alias": "topSide"; "required": false; }; "dateId": { "alias": "dateId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "needTime": { "alias": "needTime"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|