@morozeckiy/dd-lib 0.7.119 → 0.8.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/fesm2022/morozeckiy-dd-lib.mjs +294 -282
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/index.d.ts +2051 -3
- package/lib/core/services/fetcher.service.d.ts +3 -3
- package/morozeckiy-dd-lib-0.7.120.tgz +0 -0
- package/morozeckiy-dd-lib-0.8.0.tgz +0 -0
- package/package.json +1 -1
- package/morozeckiy-dd-lib-0.7.118.tgz +0 -0
- package/morozeckiy-dd-lib-0.7.119.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,2053 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter, AfterViewChecked, ChangeDetectorRef, AfterViewInit, RendererFactory2, Renderer2, OnDestroy, InjectionToken, PipeTransform, OnInit, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef, Provider, Injector, ComponentRef, EmbeddedViewRef, ComponentFactoryResolver, Type, DestroyRef, WritableSignal } from '@angular/core';
|
|
3
|
+
import { AbstractControl, ValidationErrors, Validators, NgControl, ControlValueAccessor, ControlContainer } from '@angular/forms';
|
|
4
|
+
import { SafeHtml, DomSanitizer, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
5
|
+
import { Location } from '@angular/common';
|
|
6
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
7
|
+
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
8
|
+
import { Overlay, OverlayRef, PositionStrategy, ScrollStrategy } from '@angular/cdk/overlay';
|
|
9
|
+
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpHeaders, HttpContext, HttpParams, HttpClient } from '@angular/common/http';
|
|
10
|
+
import { CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
11
|
+
import { FocusTrapFactory, FocusTrap } from '@angular/cdk/a11y';
|
|
12
|
+
|
|
13
|
+
declare abstract class LibCommonButtonComponent {
|
|
14
|
+
width: string | undefined;
|
|
15
|
+
height: string | undefined;
|
|
16
|
+
size: 'md' | 'lg' | '';
|
|
17
|
+
fontSize: number | null | undefined;
|
|
18
|
+
autofocus: boolean;
|
|
19
|
+
btnColor: 'white' | 'green' | 'red' | 'transparent' | 'dark';
|
|
20
|
+
active: boolean;
|
|
21
|
+
activeNoBlock: boolean;
|
|
22
|
+
disabled: boolean | null;
|
|
23
|
+
showLoader: null | boolean | undefined;
|
|
24
|
+
buttonType: 'submit' | 'reset' | 'button';
|
|
25
|
+
content: ElementRef | undefined;
|
|
26
|
+
button: ElementRef | undefined;
|
|
27
|
+
clickEvent: EventEmitter<null>;
|
|
28
|
+
onClick(event: Event): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibCommonButtonComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibCommonButtonComponent, "ng-component", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "btnColor": { "alias": "btnColor"; "required": false; }; "active": { "alias": "active"; "required": false; }; "activeNoBlock": { "alias": "activeNoBlock"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare abstract class LibCommonInputTextComponent implements AfterViewChecked {
|
|
34
|
+
protected inputSearchElement: ElementRef<HTMLInputElement> | undefined;
|
|
35
|
+
protected inputElement: ElementRef<HTMLInputElement> | undefined;
|
|
36
|
+
protected textAreaElement: ElementRef<HTMLTextAreaElement> | undefined;
|
|
37
|
+
name: string | undefined;
|
|
38
|
+
label: string | undefined;
|
|
39
|
+
formControlName: string | undefined;
|
|
40
|
+
type: 'password' | 'email' | 'number' | 'text' | undefined;
|
|
41
|
+
contextClass: string | undefined;
|
|
42
|
+
minlength: string | number | undefined;
|
|
43
|
+
min: string | number | undefined;
|
|
44
|
+
maxlength: string | number | undefined;
|
|
45
|
+
max: string | number | undefined;
|
|
46
|
+
placeholder: string;
|
|
47
|
+
autocomplete?: string;
|
|
48
|
+
tabIndex?: string | number;
|
|
49
|
+
readOnly?: boolean;
|
|
50
|
+
autofocus?: boolean;
|
|
51
|
+
fetchMode?: boolean;
|
|
52
|
+
required: boolean;
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
commitOnInput: boolean;
|
|
55
|
+
clearable: boolean;
|
|
56
|
+
showSelfError: boolean;
|
|
57
|
+
uppercase: boolean;
|
|
58
|
+
invalid: boolean;
|
|
59
|
+
errorTexts: string[];
|
|
60
|
+
side?: 'top' | 'bottom';
|
|
61
|
+
cleared: EventEmitter<void>;
|
|
62
|
+
fetchEvent: EventEmitter<any>;
|
|
63
|
+
focus: EventEmitter<any>;
|
|
64
|
+
blur: EventEmitter<any>;
|
|
65
|
+
fullBlur: EventEmitter<Event>;
|
|
66
|
+
get id(): string;
|
|
67
|
+
errorText: string | undefined;
|
|
68
|
+
focused: boolean;
|
|
69
|
+
touched: boolean;
|
|
70
|
+
control: AbstractControl | undefined | null;
|
|
71
|
+
value: string | undefined;
|
|
72
|
+
changeDetection: ChangeDetectorRef;
|
|
73
|
+
dropdownStyle: {
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
};
|
|
76
|
+
protected destroyed: boolean;
|
|
77
|
+
protected onTouchedCallback: (() => void) | undefined;
|
|
78
|
+
private _ID;
|
|
79
|
+
protected constructor(changeDetection: ChangeDetectorRef);
|
|
80
|
+
ngAfterViewChecked(): void;
|
|
81
|
+
get invalidState(): boolean;
|
|
82
|
+
get showError(): boolean;
|
|
83
|
+
handleInput(_e: Event): void;
|
|
84
|
+
notifyFocusEvent(): void;
|
|
85
|
+
handleBlur(): void;
|
|
86
|
+
handleFocus(): void;
|
|
87
|
+
returnFocus(e?: Event): void;
|
|
88
|
+
loseFocus(): void;
|
|
89
|
+
forceChange(): void;
|
|
90
|
+
registerOnChange(fn: any): void;
|
|
91
|
+
registerOnTouched(fn: any): void;
|
|
92
|
+
handleChange(): void;
|
|
93
|
+
commit(_value: string | null | undefined): void;
|
|
94
|
+
updateDropdownPosition(el: ElementRef, data: any[], itemSize: number, dHeight: number): void;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibCommonInputTextComponent, never>;
|
|
96
|
+
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, true, never>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class LibLoaderComponent {
|
|
100
|
+
color: string;
|
|
101
|
+
size: 'big' | 'giant' | 'standard';
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibLoaderComponent, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibLoaderComponent, "dd-lib-loader", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
104
|
+
static ngAcceptInputType_color: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare class LibButtonComponent extends LibCommonButtonComponent implements AfterViewInit {
|
|
108
|
+
noPadding: boolean | undefined;
|
|
109
|
+
loaderColor?: string;
|
|
110
|
+
ngAfterViewInit(): void;
|
|
111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibButtonComponent, never>;
|
|
112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibButtonComponent, "dd-lib-button", never, { "noPadding": { "alias": "noPadding"; "required": false; }; "loaderColor": { "alias": "loaderColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare class LibAccordionComponent {
|
|
116
|
+
accTitle: string | SafeHtml | undefined;
|
|
117
|
+
accordionPack: string;
|
|
118
|
+
showAccordionContent: boolean | undefined;
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibAccordionComponent, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibAccordionComponent, "dd-lib-accordion", never, { "accTitle": { "alias": "accTitle"; "required": false; }; "accordionPack": { "alias": "accordionPack"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare class LibBackButtonComponent {
|
|
124
|
+
private location;
|
|
125
|
+
private router;
|
|
126
|
+
backTitle: string;
|
|
127
|
+
rout: string | undefined;
|
|
128
|
+
constructor(location: Location, router: Router);
|
|
129
|
+
onBack(): void;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibBackButtonComponent, never>;
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibBackButtonComponent, "dd-lib-back-button", never, { "backTitle": { "alias": "backTitle"; "required": false; }; "rout": { "alias": "rout"; "required": false; }; }, {}, never, never, true, never>;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare class ThemeConstructorService {
|
|
135
|
+
get getTheme(): boolean;
|
|
136
|
+
get getTheme$(): Observable<boolean>;
|
|
137
|
+
isDarkTheme: Observable<boolean>;
|
|
138
|
+
private readonly renderer;
|
|
139
|
+
private themeConfigurator;
|
|
140
|
+
constructor(rendererFactory: RendererFactory2);
|
|
141
|
+
setThemeConfiguratorRoot(document: Document): void;
|
|
142
|
+
changeTheme(darkMode: boolean): void;
|
|
143
|
+
switchTheme(): void;
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeConstructorService, never>;
|
|
145
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeConstructorService>;
|
|
146
|
+
}
|
|
147
|
+
declare class ThemeConfigurator {
|
|
148
|
+
private document;
|
|
149
|
+
private renderer;
|
|
150
|
+
set theme(value: boolean);
|
|
151
|
+
get theme(): boolean;
|
|
152
|
+
get theme$(): Observable<boolean>;
|
|
153
|
+
private isDarkTheme$;
|
|
154
|
+
isDarkThemeObservable: Observable<boolean>;
|
|
155
|
+
constructor(document: Document, renderer: Renderer2);
|
|
156
|
+
switchTheme(): void;
|
|
157
|
+
setTheme(isDarkMode: boolean): void;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare type GetDateMethod = () => Date;
|
|
161
|
+
declare type PeriodName = 'day' | 'week' | 'month' | 'month_3' | 'half_year' | 'year' | 'calendar';
|
|
162
|
+
declare interface GetDateBy {
|
|
163
|
+
day?: GetDateMethod;
|
|
164
|
+
week?: GetDateMethod;
|
|
165
|
+
month?: GetDateMethod;
|
|
166
|
+
month_3?: GetDateMethod;
|
|
167
|
+
half_year?: GetDateMethod;
|
|
168
|
+
year?: GetDateMethod;
|
|
169
|
+
calendar?: GetDateMethod;
|
|
170
|
+
}
|
|
171
|
+
declare type DateTypes = keyof GetDateBy;
|
|
172
|
+
declare interface TimeDate {
|
|
173
|
+
time: string;
|
|
174
|
+
}
|
|
175
|
+
declare interface CommonDateData {
|
|
176
|
+
title: string;
|
|
177
|
+
active: boolean;
|
|
178
|
+
name: PeriodName;
|
|
179
|
+
visible: string[];
|
|
180
|
+
}
|
|
181
|
+
declare type PeriodMenuDate = TimeDate & CommonDateData;
|
|
182
|
+
declare const DEFAULT_FORMAT = "yyyy-MM-dd";
|
|
183
|
+
interface IDaysInMonth {
|
|
184
|
+
prevDays: number[];
|
|
185
|
+
days: number[];
|
|
186
|
+
lastDays: number[];
|
|
187
|
+
}
|
|
188
|
+
declare class DateService {
|
|
189
|
+
private commonDateDataBy;
|
|
190
|
+
getActiveTitle(name: PeriodName): string;
|
|
191
|
+
getDateBy: GetDateBy;
|
|
192
|
+
getFormattedDate(dateType: keyof GetDateBy, f?: string): string;
|
|
193
|
+
getPeriodMenuDate(dateType: DateTypes, f?: string): TimeDate & CommonDateData;
|
|
194
|
+
getPeriodMenuDateRange(dateTypes: DateTypes[], f?: string): PeriodMenuDate[];
|
|
195
|
+
getPeriodTime(name: string): PeriodMenuDate;
|
|
196
|
+
getPeriodMenu(activePeriodName?: DateTypes): PeriodMenuDate[];
|
|
197
|
+
getDaysInMonth(month: number, year: number): IDaysInMonth;
|
|
198
|
+
static getDateFromString(dateStr: string, format?: string): Date | undefined;
|
|
199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateService, never>;
|
|
200
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateService>;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare const svgIconActogoneAccept: {
|
|
204
|
+
name: 'actogone_accept';
|
|
205
|
+
data: string;
|
|
206
|
+
};
|
|
207
|
+
declare const svgIconAll: {
|
|
208
|
+
name: 'all';
|
|
209
|
+
data: string;
|
|
210
|
+
};
|
|
211
|
+
declare const svgIconAppgalery: {
|
|
212
|
+
name: 'appgalery';
|
|
213
|
+
data: string;
|
|
214
|
+
};
|
|
215
|
+
declare const svgIconAppstore: {
|
|
216
|
+
name: 'appstore';
|
|
217
|
+
data: string;
|
|
218
|
+
};
|
|
219
|
+
declare const svgIconArrowDownRed: {
|
|
220
|
+
name: 'arrow_down_red';
|
|
221
|
+
data: string;
|
|
222
|
+
};
|
|
223
|
+
declare const svgIconArrowUpGreen: {
|
|
224
|
+
name: 'arrow_up_green';
|
|
225
|
+
data: string;
|
|
226
|
+
};
|
|
227
|
+
declare const svgIconBackArrow: {
|
|
228
|
+
name: 'back_arrow';
|
|
229
|
+
data: string;
|
|
230
|
+
};
|
|
231
|
+
declare const svgIconBurger: {
|
|
232
|
+
name: 'burger';
|
|
233
|
+
data: string;
|
|
234
|
+
};
|
|
235
|
+
declare const svgIconCalendar: {
|
|
236
|
+
name: 'calendar';
|
|
237
|
+
data: string;
|
|
238
|
+
};
|
|
239
|
+
declare const svgIconCheckGreen: {
|
|
240
|
+
name: 'check_green';
|
|
241
|
+
data: string;
|
|
242
|
+
};
|
|
243
|
+
declare const svgIconCheckWhite: {
|
|
244
|
+
name: 'check_white';
|
|
245
|
+
data: string;
|
|
246
|
+
};
|
|
247
|
+
declare const svgIconCircleNo: {
|
|
248
|
+
name: 'circle_no';
|
|
249
|
+
data: string;
|
|
250
|
+
};
|
|
251
|
+
declare const svgIconClear: {
|
|
252
|
+
name: 'clear';
|
|
253
|
+
data: string;
|
|
254
|
+
};
|
|
255
|
+
declare const svgIconClose: {
|
|
256
|
+
name: 'close';
|
|
257
|
+
data: string;
|
|
258
|
+
};
|
|
259
|
+
declare const svgIconDangerT: {
|
|
260
|
+
name: 'danger_t';
|
|
261
|
+
data: string;
|
|
262
|
+
};
|
|
263
|
+
declare const svgIconDdM: {
|
|
264
|
+
name: 'dd_m';
|
|
265
|
+
data: string;
|
|
266
|
+
};
|
|
267
|
+
declare const svgIconDd: {
|
|
268
|
+
name: 'dd';
|
|
269
|
+
data: string;
|
|
270
|
+
};
|
|
271
|
+
declare const svgIconDobrodel: {
|
|
272
|
+
name: 'dobrodel';
|
|
273
|
+
data: string;
|
|
274
|
+
};
|
|
275
|
+
declare const svgIconDownChevron: {
|
|
276
|
+
name: 'down_chevron';
|
|
277
|
+
data: string;
|
|
278
|
+
};
|
|
279
|
+
declare const svgIconDownload: {
|
|
280
|
+
name: 'download';
|
|
281
|
+
data: string;
|
|
282
|
+
};
|
|
283
|
+
declare const svgIconEds2M: {
|
|
284
|
+
name: 'eds_2_m';
|
|
285
|
+
data: string;
|
|
286
|
+
};
|
|
287
|
+
declare const svgIconEds2: {
|
|
288
|
+
name: 'eds_2';
|
|
289
|
+
data: string;
|
|
290
|
+
};
|
|
291
|
+
declare const svgIconEdsM: {
|
|
292
|
+
name: 'eds_m';
|
|
293
|
+
data: string;
|
|
294
|
+
};
|
|
295
|
+
declare const svgIconEds: {
|
|
296
|
+
name: 'eds';
|
|
297
|
+
data: string;
|
|
298
|
+
};
|
|
299
|
+
declare const svgIconEntry: {
|
|
300
|
+
name: 'entry';
|
|
301
|
+
data: string;
|
|
302
|
+
};
|
|
303
|
+
declare const svgIconErrorHint: {
|
|
304
|
+
name: 'error_hint';
|
|
305
|
+
data: string;
|
|
306
|
+
};
|
|
307
|
+
declare const svgIconEsia: {
|
|
308
|
+
name: 'esia';
|
|
309
|
+
data: string;
|
|
310
|
+
};
|
|
311
|
+
declare const svgIconEyeOff: {
|
|
312
|
+
name: 'eye_off';
|
|
313
|
+
data: string;
|
|
314
|
+
};
|
|
315
|
+
declare const svgIconEye: {
|
|
316
|
+
name: 'eye';
|
|
317
|
+
data: string;
|
|
318
|
+
};
|
|
319
|
+
declare const svgIconFile: {
|
|
320
|
+
name: 'file';
|
|
321
|
+
data: string;
|
|
322
|
+
};
|
|
323
|
+
declare const svgIconFilter: {
|
|
324
|
+
name: 'filter';
|
|
325
|
+
data: string;
|
|
326
|
+
};
|
|
327
|
+
declare const svgIconGoogleapp: {
|
|
328
|
+
name: 'googleapp';
|
|
329
|
+
data: string;
|
|
330
|
+
};
|
|
331
|
+
declare const svgIconGrid: {
|
|
332
|
+
name: 'grid';
|
|
333
|
+
data: string;
|
|
334
|
+
};
|
|
335
|
+
declare const svgIconHealthM: {
|
|
336
|
+
name: 'health_m';
|
|
337
|
+
data: string;
|
|
338
|
+
};
|
|
339
|
+
declare const svgIconHealth: {
|
|
340
|
+
name: 'health';
|
|
341
|
+
data: string;
|
|
342
|
+
};
|
|
343
|
+
declare const svgIconInfoT: {
|
|
344
|
+
name: 'info_t';
|
|
345
|
+
data: string;
|
|
346
|
+
};
|
|
347
|
+
declare const svgIconInfoCircle: {
|
|
348
|
+
name: 'info_circle';
|
|
349
|
+
data: string;
|
|
350
|
+
};
|
|
351
|
+
declare const svgIconLeftChevron: {
|
|
352
|
+
name: 'left_chevron';
|
|
353
|
+
data: string;
|
|
354
|
+
};
|
|
355
|
+
declare const svgIconListSearch: {
|
|
356
|
+
name: 'list_search';
|
|
357
|
+
data: string;
|
|
358
|
+
};
|
|
359
|
+
declare const svgIconLogout: {
|
|
360
|
+
name: 'logout';
|
|
361
|
+
data: string;
|
|
362
|
+
};
|
|
363
|
+
declare const svgIconMailExclamation: {
|
|
364
|
+
name: 'mail_exclamation';
|
|
365
|
+
data: string;
|
|
366
|
+
};
|
|
367
|
+
declare const svgIconMaxFilter: {
|
|
368
|
+
name: 'max_filter';
|
|
369
|
+
data: string;
|
|
370
|
+
};
|
|
371
|
+
declare const svgIconMoon: {
|
|
372
|
+
name: 'moon';
|
|
373
|
+
data: string;
|
|
374
|
+
};
|
|
375
|
+
declare const svgIconMyM: {
|
|
376
|
+
name: 'my_m';
|
|
377
|
+
data: string;
|
|
378
|
+
};
|
|
379
|
+
declare const svgIconMy: {
|
|
380
|
+
name: 'my';
|
|
381
|
+
data: string;
|
|
382
|
+
};
|
|
383
|
+
declare const svgIconNews: {
|
|
384
|
+
name: 'news';
|
|
385
|
+
data: string;
|
|
386
|
+
};
|
|
387
|
+
declare const svgIconNext: {
|
|
388
|
+
name: 'next';
|
|
389
|
+
data: string;
|
|
390
|
+
};
|
|
391
|
+
declare const svgIconPaperclip: {
|
|
392
|
+
name: 'paperclip';
|
|
393
|
+
data: string;
|
|
394
|
+
};
|
|
395
|
+
declare const svgIconPenEdit: {
|
|
396
|
+
name: 'pen_edit';
|
|
397
|
+
data: string;
|
|
398
|
+
};
|
|
399
|
+
declare const svgIconPguMoM: {
|
|
400
|
+
name: 'pgu_mo_m';
|
|
401
|
+
data: string;
|
|
402
|
+
};
|
|
403
|
+
declare const svgIconPguMo: {
|
|
404
|
+
name: 'pgu_mo';
|
|
405
|
+
data: string;
|
|
406
|
+
};
|
|
407
|
+
declare const svgIconPlugD: {
|
|
408
|
+
name: 'plug_d';
|
|
409
|
+
data: string;
|
|
410
|
+
};
|
|
411
|
+
declare const svgIconPlug: {
|
|
412
|
+
name: 'plug';
|
|
413
|
+
data: string;
|
|
414
|
+
};
|
|
415
|
+
declare const svgIconPlus: {
|
|
416
|
+
name: 'plus';
|
|
417
|
+
data: string;
|
|
418
|
+
};
|
|
419
|
+
declare const svgIconPreset: {
|
|
420
|
+
name: 'preset';
|
|
421
|
+
data: string;
|
|
422
|
+
};
|
|
423
|
+
declare const svgIconPrev: {
|
|
424
|
+
name: 'prev';
|
|
425
|
+
data: string;
|
|
426
|
+
};
|
|
427
|
+
declare const svgIconPrint: {
|
|
428
|
+
name: 'print';
|
|
429
|
+
data: string;
|
|
430
|
+
};
|
|
431
|
+
declare const svgIconPrinter: {
|
|
432
|
+
name: 'printer';
|
|
433
|
+
data: string;
|
|
434
|
+
};
|
|
435
|
+
declare const svgIconQuestionWhiteG: {
|
|
436
|
+
name: 'question_white_g';
|
|
437
|
+
data: string;
|
|
438
|
+
};
|
|
439
|
+
declare const svgIconQuestion: {
|
|
440
|
+
name: 'question';
|
|
441
|
+
data: string;
|
|
442
|
+
};
|
|
443
|
+
declare const svgIconRedClose: {
|
|
444
|
+
name: 'red_close';
|
|
445
|
+
data: string;
|
|
446
|
+
};
|
|
447
|
+
declare const svgIconReload: {
|
|
448
|
+
name: 'reload';
|
|
449
|
+
data: string;
|
|
450
|
+
};
|
|
451
|
+
declare const svgIconRightChevron: {
|
|
452
|
+
name: 'right_chevron';
|
|
453
|
+
data: string;
|
|
454
|
+
};
|
|
455
|
+
declare const svgIconRustore: {
|
|
456
|
+
name: 'rustore';
|
|
457
|
+
data: string;
|
|
458
|
+
};
|
|
459
|
+
declare const svgIconSearch: {
|
|
460
|
+
name: 'search';
|
|
461
|
+
data: string;
|
|
462
|
+
};
|
|
463
|
+
declare const svgIconSend: {
|
|
464
|
+
name: 'send';
|
|
465
|
+
data: string;
|
|
466
|
+
};
|
|
467
|
+
declare const svgIconSetAvatar: {
|
|
468
|
+
name: 'set_avatar';
|
|
469
|
+
data: string;
|
|
470
|
+
};
|
|
471
|
+
declare const svgIconSharedLogo: {
|
|
472
|
+
name: 'shared_logo';
|
|
473
|
+
data: string;
|
|
474
|
+
};
|
|
475
|
+
declare const svgIconSmallRoundLoader: {
|
|
476
|
+
name: 'small_round_loader';
|
|
477
|
+
data: string;
|
|
478
|
+
};
|
|
479
|
+
declare const svgIconSort: {
|
|
480
|
+
name: 'sort';
|
|
481
|
+
data: string;
|
|
482
|
+
};
|
|
483
|
+
declare const svgIconStar: {
|
|
484
|
+
name: 'star';
|
|
485
|
+
data: string;
|
|
486
|
+
};
|
|
487
|
+
declare const svgIconSuccessT: {
|
|
488
|
+
name: 'success_t';
|
|
489
|
+
data: string;
|
|
490
|
+
};
|
|
491
|
+
declare const svgIconSun: {
|
|
492
|
+
name: 'sun';
|
|
493
|
+
data: string;
|
|
494
|
+
};
|
|
495
|
+
declare const svgIconTg: {
|
|
496
|
+
name: 'tg';
|
|
497
|
+
data: string;
|
|
498
|
+
};
|
|
499
|
+
declare const svgIconToggleArrowLeft: {
|
|
500
|
+
name: 'toggle_arrow_left';
|
|
501
|
+
data: string;
|
|
502
|
+
};
|
|
503
|
+
declare const svgIconToggleArrowRight: {
|
|
504
|
+
name: 'toggle_arrow_right';
|
|
505
|
+
data: string;
|
|
506
|
+
};
|
|
507
|
+
declare const svgIconTrash: {
|
|
508
|
+
name: 'trash';
|
|
509
|
+
data: string;
|
|
510
|
+
};
|
|
511
|
+
declare const svgIconTrophy: {
|
|
512
|
+
name: 'trophy';
|
|
513
|
+
data: string;
|
|
514
|
+
};
|
|
515
|
+
declare const svgIconUserEmptyD: {
|
|
516
|
+
name: 'user_empty_d';
|
|
517
|
+
data: string;
|
|
518
|
+
};
|
|
519
|
+
declare const svgIconUserEmpty: {
|
|
520
|
+
name: 'user_empty';
|
|
521
|
+
data: string;
|
|
522
|
+
};
|
|
523
|
+
declare const svgIconUser: {
|
|
524
|
+
name: 'user';
|
|
525
|
+
data: string;
|
|
526
|
+
};
|
|
527
|
+
declare const svgIconVk: {
|
|
528
|
+
name: 'vk';
|
|
529
|
+
data: string;
|
|
530
|
+
};
|
|
531
|
+
declare const svgIconWarningT: {
|
|
532
|
+
name: 'warning_t';
|
|
533
|
+
data: string;
|
|
534
|
+
};
|
|
535
|
+
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_2_m' | 'eds_2' | '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';
|
|
536
|
+
interface SvgIcon {
|
|
537
|
+
name: svgIcon;
|
|
538
|
+
data: string;
|
|
539
|
+
}
|
|
540
|
+
type SvgIconNameSubset<T extends Readonly<SvgIcon[]>> = T[number]['name'];
|
|
541
|
+
declare const completeIconSet: ({
|
|
542
|
+
name: "actogone_accept";
|
|
543
|
+
data: string;
|
|
544
|
+
} | {
|
|
545
|
+
name: "all";
|
|
546
|
+
data: string;
|
|
547
|
+
} | {
|
|
548
|
+
name: "appgalery";
|
|
549
|
+
data: string;
|
|
550
|
+
} | {
|
|
551
|
+
name: "appstore";
|
|
552
|
+
data: string;
|
|
553
|
+
} | {
|
|
554
|
+
name: "arrow_down_red";
|
|
555
|
+
data: string;
|
|
556
|
+
} | {
|
|
557
|
+
name: "arrow_up_green";
|
|
558
|
+
data: string;
|
|
559
|
+
} | {
|
|
560
|
+
name: "back_arrow";
|
|
561
|
+
data: string;
|
|
562
|
+
} | {
|
|
563
|
+
name: "burger";
|
|
564
|
+
data: string;
|
|
565
|
+
} | {
|
|
566
|
+
name: "calendar";
|
|
567
|
+
data: string;
|
|
568
|
+
} | {
|
|
569
|
+
name: "check_green";
|
|
570
|
+
data: string;
|
|
571
|
+
} | {
|
|
572
|
+
name: "check_white";
|
|
573
|
+
data: string;
|
|
574
|
+
} | {
|
|
575
|
+
name: "circle_no";
|
|
576
|
+
data: string;
|
|
577
|
+
} | {
|
|
578
|
+
name: "clear";
|
|
579
|
+
data: string;
|
|
580
|
+
} | {
|
|
581
|
+
name: "close";
|
|
582
|
+
data: string;
|
|
583
|
+
} | {
|
|
584
|
+
name: "danger_t";
|
|
585
|
+
data: string;
|
|
586
|
+
} | {
|
|
587
|
+
name: "dd_m";
|
|
588
|
+
data: string;
|
|
589
|
+
} | {
|
|
590
|
+
name: "dd";
|
|
591
|
+
data: string;
|
|
592
|
+
} | {
|
|
593
|
+
name: "dobrodel";
|
|
594
|
+
data: string;
|
|
595
|
+
} | {
|
|
596
|
+
name: "down_chevron";
|
|
597
|
+
data: string;
|
|
598
|
+
} | {
|
|
599
|
+
name: "download";
|
|
600
|
+
data: string;
|
|
601
|
+
} | {
|
|
602
|
+
name: "eds_2_m";
|
|
603
|
+
data: string;
|
|
604
|
+
} | {
|
|
605
|
+
name: "eds_2";
|
|
606
|
+
data: string;
|
|
607
|
+
} | {
|
|
608
|
+
name: "eds_m";
|
|
609
|
+
data: string;
|
|
610
|
+
} | {
|
|
611
|
+
name: "eds";
|
|
612
|
+
data: string;
|
|
613
|
+
} | {
|
|
614
|
+
name: "entry";
|
|
615
|
+
data: string;
|
|
616
|
+
} | {
|
|
617
|
+
name: "error_hint";
|
|
618
|
+
data: string;
|
|
619
|
+
} | {
|
|
620
|
+
name: "esia";
|
|
621
|
+
data: string;
|
|
622
|
+
} | {
|
|
623
|
+
name: "eye_off";
|
|
624
|
+
data: string;
|
|
625
|
+
} | {
|
|
626
|
+
name: "eye";
|
|
627
|
+
data: string;
|
|
628
|
+
} | {
|
|
629
|
+
name: "file";
|
|
630
|
+
data: string;
|
|
631
|
+
} | {
|
|
632
|
+
name: "filter";
|
|
633
|
+
data: string;
|
|
634
|
+
} | {
|
|
635
|
+
name: "googleapp";
|
|
636
|
+
data: string;
|
|
637
|
+
} | {
|
|
638
|
+
name: "grid";
|
|
639
|
+
data: string;
|
|
640
|
+
} | {
|
|
641
|
+
name: "health_m";
|
|
642
|
+
data: string;
|
|
643
|
+
} | {
|
|
644
|
+
name: "health";
|
|
645
|
+
data: string;
|
|
646
|
+
} | {
|
|
647
|
+
name: "info_t";
|
|
648
|
+
data: string;
|
|
649
|
+
} | {
|
|
650
|
+
name: "info_circle";
|
|
651
|
+
data: string;
|
|
652
|
+
} | {
|
|
653
|
+
name: "left_chevron";
|
|
654
|
+
data: string;
|
|
655
|
+
} | {
|
|
656
|
+
name: "list_search";
|
|
657
|
+
data: string;
|
|
658
|
+
} | {
|
|
659
|
+
name: "logout";
|
|
660
|
+
data: string;
|
|
661
|
+
} | {
|
|
662
|
+
name: "mail_exclamation";
|
|
663
|
+
data: string;
|
|
664
|
+
} | {
|
|
665
|
+
name: "max_filter";
|
|
666
|
+
data: string;
|
|
667
|
+
} | {
|
|
668
|
+
name: "moon";
|
|
669
|
+
data: string;
|
|
670
|
+
} | {
|
|
671
|
+
name: "my_m";
|
|
672
|
+
data: string;
|
|
673
|
+
} | {
|
|
674
|
+
name: "my";
|
|
675
|
+
data: string;
|
|
676
|
+
} | {
|
|
677
|
+
name: "news";
|
|
678
|
+
data: string;
|
|
679
|
+
} | {
|
|
680
|
+
name: "next";
|
|
681
|
+
data: string;
|
|
682
|
+
} | {
|
|
683
|
+
name: "paperclip";
|
|
684
|
+
data: string;
|
|
685
|
+
} | {
|
|
686
|
+
name: "pen_edit";
|
|
687
|
+
data: string;
|
|
688
|
+
} | {
|
|
689
|
+
name: "pgu_mo_m";
|
|
690
|
+
data: string;
|
|
691
|
+
} | {
|
|
692
|
+
name: "pgu_mo";
|
|
693
|
+
data: string;
|
|
694
|
+
} | {
|
|
695
|
+
name: "plug_d";
|
|
696
|
+
data: string;
|
|
697
|
+
} | {
|
|
698
|
+
name: "plug";
|
|
699
|
+
data: string;
|
|
700
|
+
} | {
|
|
701
|
+
name: "plus";
|
|
702
|
+
data: string;
|
|
703
|
+
} | {
|
|
704
|
+
name: "preset";
|
|
705
|
+
data: string;
|
|
706
|
+
} | {
|
|
707
|
+
name: "prev";
|
|
708
|
+
data: string;
|
|
709
|
+
} | {
|
|
710
|
+
name: "print";
|
|
711
|
+
data: string;
|
|
712
|
+
} | {
|
|
713
|
+
name: "printer";
|
|
714
|
+
data: string;
|
|
715
|
+
} | {
|
|
716
|
+
name: "question_white_g";
|
|
717
|
+
data: string;
|
|
718
|
+
} | {
|
|
719
|
+
name: "question";
|
|
720
|
+
data: string;
|
|
721
|
+
} | {
|
|
722
|
+
name: "red_close";
|
|
723
|
+
data: string;
|
|
724
|
+
} | {
|
|
725
|
+
name: "reload";
|
|
726
|
+
data: string;
|
|
727
|
+
} | {
|
|
728
|
+
name: "right_chevron";
|
|
729
|
+
data: string;
|
|
730
|
+
} | {
|
|
731
|
+
name: "rustore";
|
|
732
|
+
data: string;
|
|
733
|
+
} | {
|
|
734
|
+
name: "search";
|
|
735
|
+
data: string;
|
|
736
|
+
} | {
|
|
737
|
+
name: "send";
|
|
738
|
+
data: string;
|
|
739
|
+
} | {
|
|
740
|
+
name: "set_avatar";
|
|
741
|
+
data: string;
|
|
742
|
+
} | {
|
|
743
|
+
name: "shared_logo";
|
|
744
|
+
data: string;
|
|
745
|
+
} | {
|
|
746
|
+
name: "small_round_loader";
|
|
747
|
+
data: string;
|
|
748
|
+
} | {
|
|
749
|
+
name: "sort";
|
|
750
|
+
data: string;
|
|
751
|
+
} | {
|
|
752
|
+
name: "star";
|
|
753
|
+
data: string;
|
|
754
|
+
} | {
|
|
755
|
+
name: "success_t";
|
|
756
|
+
data: string;
|
|
757
|
+
} | {
|
|
758
|
+
name: "sun";
|
|
759
|
+
data: string;
|
|
760
|
+
} | {
|
|
761
|
+
name: "tg";
|
|
762
|
+
data: string;
|
|
763
|
+
} | {
|
|
764
|
+
name: "toggle_arrow_left";
|
|
765
|
+
data: string;
|
|
766
|
+
} | {
|
|
767
|
+
name: "toggle_arrow_right";
|
|
768
|
+
data: string;
|
|
769
|
+
} | {
|
|
770
|
+
name: "trash";
|
|
771
|
+
data: string;
|
|
772
|
+
} | {
|
|
773
|
+
name: "trophy";
|
|
774
|
+
data: string;
|
|
775
|
+
} | {
|
|
776
|
+
name: "user_empty_d";
|
|
777
|
+
data: string;
|
|
778
|
+
} | {
|
|
779
|
+
name: "user_empty";
|
|
780
|
+
data: string;
|
|
781
|
+
} | {
|
|
782
|
+
name: "user";
|
|
783
|
+
data: string;
|
|
784
|
+
} | {
|
|
785
|
+
name: "vk";
|
|
786
|
+
data: string;
|
|
787
|
+
} | {
|
|
788
|
+
name: "warning_t";
|
|
789
|
+
data: string;
|
|
790
|
+
})[];
|
|
791
|
+
|
|
792
|
+
declare class SvgIconsService {
|
|
793
|
+
private registry;
|
|
794
|
+
registerIcons(icons: SvgIcon[]): void;
|
|
795
|
+
getIcon(iconName: string | null | undefined): string | undefined;
|
|
796
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconsService, never>;
|
|
797
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SvgIconsService>;
|
|
798
|
+
}
|
|
799
|
+
|
|
1
800
|
/**
|
|
2
|
-
*
|
|
801
|
+
* @deprecated Этот сервис устарел. Используйте `private destroyed$: DestroyRef + takeUntilDestroyed(this.destroyed$)`.
|
|
3
802
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
803
|
+
declare class DestroyService extends Subject<void> implements OnDestroy {
|
|
804
|
+
ngOnDestroy(): void;
|
|
805
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DestroyService, never>;
|
|
806
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DestroyService>;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare class InterceptorsService implements HttpInterceptor {
|
|
810
|
+
private router;
|
|
811
|
+
constructor(router: Router);
|
|
812
|
+
/** перехватчик состояния запросов к api */
|
|
813
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
814
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InterceptorsService, never>;
|
|
815
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InterceptorsService>;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
declare class ValidatorsService {
|
|
819
|
+
constructor();
|
|
820
|
+
/** валидатор совпадения пароллей. При использовании указывать поля pswd & confPswd*/
|
|
821
|
+
static passEqual(passwordKey: string, passwordConfirmationKey: string): ValidationErrors;
|
|
822
|
+
static passNotEqual(el: AbstractControl): ValidationErrors | null;
|
|
823
|
+
static wrongLogin(): ValidationErrors;
|
|
824
|
+
static wrongLoginOrPswd(): ValidationErrors;
|
|
825
|
+
static existLogin(): ValidationErrors;
|
|
826
|
+
/** валидатор имени*/
|
|
827
|
+
static getNameValid(): (typeof Validators.required)[];
|
|
828
|
+
/** валидатор email*/
|
|
829
|
+
static getMailValid(el?: AbstractControl): ValidationErrors | null;
|
|
830
|
+
static getErrorText(error: ValidationErrors | null | undefined): string | undefined;
|
|
831
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsService, never>;
|
|
832
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ValidatorsService>;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
interface HttpIResponse<T> {
|
|
836
|
+
error: string;
|
|
837
|
+
errorCode: string;
|
|
838
|
+
message: null | string;
|
|
839
|
+
redirect: null | string;
|
|
840
|
+
systemMessage: null | string;
|
|
841
|
+
result: 'OK' | 'ERROR' | 'FAIL';
|
|
842
|
+
value: T;
|
|
843
|
+
}
|
|
844
|
+
interface HttpIRequest {
|
|
845
|
+
headers?: HttpHeaders | {
|
|
846
|
+
[header: string]: string | string[];
|
|
847
|
+
};
|
|
848
|
+
observe: 'response';
|
|
849
|
+
context?: HttpContext;
|
|
850
|
+
params?: HttpParams | {
|
|
851
|
+
[param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
|
|
852
|
+
};
|
|
853
|
+
reportProgress?: boolean;
|
|
854
|
+
responseType?: 'json';
|
|
855
|
+
withCredentials?: boolean;
|
|
856
|
+
transferCache?: {
|
|
857
|
+
includeHeaders?: string[];
|
|
858
|
+
} | boolean;
|
|
859
|
+
}
|
|
860
|
+
interface IRequestOptions {
|
|
861
|
+
headers?: any;
|
|
862
|
+
context?: any;
|
|
863
|
+
reportProgress?: boolean;
|
|
864
|
+
params?: any;
|
|
865
|
+
observe?: any;
|
|
866
|
+
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
867
|
+
withCredentials?: boolean;
|
|
868
|
+
body?: any | null;
|
|
869
|
+
}
|
|
870
|
+
declare const API_URL: InjectionToken<string>;
|
|
871
|
+
declare class FetcherService {
|
|
872
|
+
private apiUrl;
|
|
873
|
+
private http;
|
|
874
|
+
constructor(apiUrl: string);
|
|
875
|
+
private prepareOptions;
|
|
876
|
+
private getUrl;
|
|
877
|
+
get<R>(urlParts: string, options?: IRequestOptions, urlId?: string | number): Observable<R>;
|
|
878
|
+
delete<R>(urlParts: string, options?: IRequestOptions): Observable<R>;
|
|
879
|
+
post<R>(urlParts: string, body?: any, options?: IRequestOptions, urlId?: string | number): Observable<R>;
|
|
880
|
+
put<R>(urlParts: string, body?: any, options?: IRequestOptions, urlId?: string | number): Observable<R>;
|
|
881
|
+
/** перегоняем обeъкты в форм дату*/
|
|
882
|
+
createFormData(form: {
|
|
883
|
+
[x: string]: any;
|
|
884
|
+
}): FormData;
|
|
885
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FetcherService, never>;
|
|
886
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FetcherService>;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
declare class FilterPipe implements PipeTransform {
|
|
890
|
+
transform(value: any[], args?: number): any;
|
|
891
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
|
|
892
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
|
|
893
|
+
}
|
|
894
|
+
declare class FilterByKeyPipe implements PipeTransform {
|
|
895
|
+
transform<T extends {
|
|
896
|
+
[key: string]: any;
|
|
897
|
+
}>(arr: T[] | null | undefined, key: keyof T | ((item: T) => boolean)): T[];
|
|
898
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterByKeyPipe, never>;
|
|
899
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterByKeyPipe, "filterByKey", true>;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
declare class HighlightPipe implements PipeTransform {
|
|
903
|
+
transform(name: string, val?: string): string;
|
|
904
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
|
|
905
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "highlight", true>;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
declare class SafePipe implements PipeTransform {
|
|
909
|
+
protected sanitizer: DomSanitizer;
|
|
910
|
+
constructor(sanitizer: DomSanitizer);
|
|
911
|
+
transform(value: string, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
912
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
|
|
913
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", true>;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
declare class ReversePipe implements PipeTransform {
|
|
917
|
+
transform(value: any[], sort: string): any[];
|
|
918
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReversePipe, never>;
|
|
919
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ReversePipe, "reverse", true>;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
type SortDirection = 'ASC' | 'DESC';
|
|
923
|
+
declare class SortByValPipe implements PipeTransform {
|
|
924
|
+
transform<T extends {
|
|
925
|
+
[key: string]: any;
|
|
926
|
+
}>(arr: T[] | null | undefined, key: keyof T | ((item: T) => any), direction?: SortDirection): T[];
|
|
927
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortByValPipe, never>;
|
|
928
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SortByValPipe, "sortByVal", true>;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
declare class AutoHeightDirective implements OnInit {
|
|
932
|
+
private el;
|
|
933
|
+
private rdr;
|
|
934
|
+
ddAutoHeight: number | undefined;
|
|
935
|
+
constructor(el: ElementRef, rdr: Renderer2);
|
|
936
|
+
ngOnInit(): void;
|
|
937
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoHeightDirective, never>;
|
|
938
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoHeightDirective, "[ddAutoHeight]", never, { "ddAutoHeight": { "alias": "ddAutoHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
declare class CounterDirective implements OnChanges {
|
|
942
|
+
private el;
|
|
943
|
+
ddCounter: number | undefined;
|
|
944
|
+
needPositive: boolean;
|
|
945
|
+
digitsInfo: string;
|
|
946
|
+
prefix?: string;
|
|
947
|
+
postfix?: string;
|
|
948
|
+
constructor(el: ElementRef);
|
|
949
|
+
ngOnChanges(change: SimpleChanges): void;
|
|
950
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CounterDirective, never>;
|
|
951
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CounterDirective, "[ddCounter]", never, { "ddCounter": { "alias": "ddCounter"; "required": false; }; "needPositive": { "alias": "needPositive"; "required": false; }; "digitsInfo": { "alias": "digitsInfo"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "postfix": { "alias": "postfix"; "required": false; }; }, {}, never, never, true, never>;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
declare class DeclensionDirective implements OnInit {
|
|
955
|
+
private el;
|
|
956
|
+
ddDeclension: string[];
|
|
957
|
+
count: number;
|
|
958
|
+
whitespace: boolean;
|
|
959
|
+
needCount: boolean;
|
|
960
|
+
constructor(el: ElementRef);
|
|
961
|
+
ngOnInit(): void;
|
|
962
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeclensionDirective, never>;
|
|
963
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DeclensionDirective, "[ddDeclension]", never, { "ddDeclension": { "alias": "ddDeclension"; "required": false; }; "count": { "alias": "count"; "required": false; }; "whitespace": { "alias": "whitespace"; "required": false; }; "needCount": { "alias": "needCount"; "required": false; }; }, {}, never, never, true, never>;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
declare class ClickOutsideDirective {
|
|
967
|
+
private el;
|
|
968
|
+
elements: string[] | undefined;
|
|
969
|
+
ignoreOnDrag: boolean;
|
|
970
|
+
ddClickOutside: EventEmitter<any>;
|
|
971
|
+
private isDragging;
|
|
972
|
+
constructor(el: ElementRef);
|
|
973
|
+
onDragStart(): void;
|
|
974
|
+
onDragEnd(): void;
|
|
975
|
+
onClick(targetElement: Event): void;
|
|
976
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
977
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[ddClickOutside]", never, { "elements": { "alias": "elements"; "required": false; }; "ignoreOnDrag": { "alias": "ignoreOnDrag"; "required": false; }; }, { "ddClickOutside": "ddClickOutside"; }, never, never, true, never>;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
declare class ResizeTextareaDirective {
|
|
981
|
+
private el;
|
|
982
|
+
private rdr;
|
|
983
|
+
ddResizeTextarea: number;
|
|
984
|
+
constructor(el: ElementRef, rdr: Renderer2);
|
|
985
|
+
onKeyup(): void;
|
|
986
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeTextareaDirective, never>;
|
|
987
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeTextareaDirective, "[ddResizeTextarea]", never, { "ddResizeTextarea": { "alias": "ddResizeTextarea"; "required": false; }; }, {}, never, never, true, never>;
|
|
988
|
+
static ngAcceptInputType_ddResizeTextarea: unknown;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
type TToolTipPositions = 'top' | 'right' | 'bottom' | 'left';
|
|
992
|
+
declare class TooltipDirective implements OnDestroy {
|
|
993
|
+
private element;
|
|
994
|
+
private overlay;
|
|
995
|
+
private viewContainer;
|
|
996
|
+
ddTooltip: string | TemplateRef<void>;
|
|
997
|
+
withClick: boolean;
|
|
998
|
+
set position(p: TToolTipPositions | undefined);
|
|
999
|
+
private _position?;
|
|
1000
|
+
private overlayRef;
|
|
1001
|
+
constructor(element: ElementRef, overlay: Overlay, viewContainer: ViewContainerRef);
|
|
1002
|
+
onClick(targetElement: Event): void;
|
|
1003
|
+
showTooltipOnClick(): void;
|
|
1004
|
+
showTooltip(): void;
|
|
1005
|
+
hideTooltip(): void;
|
|
1006
|
+
ngOnDestroy(): void;
|
|
1007
|
+
private attachTooltip;
|
|
1008
|
+
private getPositionStrategy;
|
|
1009
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
1010
|
+
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>;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
type TooltipData = string | TemplateRef<void>;
|
|
1014
|
+
declare const TOOLTIP_DATA: InjectionToken<TooltipData>;
|
|
1015
|
+
declare class TooltipComponent {
|
|
1016
|
+
tooltipData: TooltipData;
|
|
1017
|
+
get asString(): string | false;
|
|
1018
|
+
get asTemplate(): TemplateRef<void> | false;
|
|
1019
|
+
constructor(tooltipData: TooltipData);
|
|
1020
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
1021
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "dd-tooltip", never, {}, {}, never, never, true, never>;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
declare class TriangleDirective implements OnInit {
|
|
1025
|
+
private rdr;
|
|
1026
|
+
private el;
|
|
1027
|
+
width: number;
|
|
1028
|
+
height: number;
|
|
1029
|
+
fill: string;
|
|
1030
|
+
stroke: string;
|
|
1031
|
+
points: string;
|
|
1032
|
+
drTriangle: 'top' | 'left' | 'right' | 'bottom' | 'top-left';
|
|
1033
|
+
constructor(rdr: Renderer2, el: ElementRef);
|
|
1034
|
+
ngOnInit(): void;
|
|
1035
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TriangleDirective, never>;
|
|
1036
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TriangleDirective, "[ddTriangle]", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; "points": { "alias": "points"; "required": false; }; "drTriangle": { "alias": "drTriangle"; "required": false; }; }, {}, never, never, true, never>;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
declare class DropDownPositionDirective implements OnChanges {
|
|
1040
|
+
private el;
|
|
1041
|
+
private rdr;
|
|
1042
|
+
side?: 'top' | 'bottom';
|
|
1043
|
+
itemsHeight?: number;
|
|
1044
|
+
dropdownHeight: number;
|
|
1045
|
+
isShownList?: boolean;
|
|
1046
|
+
dropdownId: string;
|
|
1047
|
+
constructor(el: ElementRef, rdr: Renderer2);
|
|
1048
|
+
onWindowScroll(): void;
|
|
1049
|
+
ngOnChanges(): void;
|
|
1050
|
+
updateDropdownPosition(): void;
|
|
1051
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownPositionDirective, never>;
|
|
1052
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownPositionDirective, "[ddDropDownPosition]", never, { "side": { "alias": "side"; "required": false; }; "itemsHeight": { "alias": "itemsHeight"; "required": false; }; "dropdownHeight": { "alias": "dropdownHeight"; "required": false; }; "isShownList": { "alias": "isShownList"; "required": false; }; "dropdownId": { "alias": "dropdownId"; "required": false; }; }, {}, never, never, true, never>;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
declare class PhoneMaskDirective {
|
|
1056
|
+
private control;
|
|
1057
|
+
constructor(control: NgControl);
|
|
1058
|
+
onFocus(): void;
|
|
1059
|
+
onBlur(): void;
|
|
1060
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskDirective, never>;
|
|
1061
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskDirective, "[ddPhoneMask]", never, {}, {}, never, never, true, never>;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
declare class ListKeyboardNavigationDirective {
|
|
1065
|
+
private el;
|
|
1066
|
+
private currentIndex;
|
|
1067
|
+
constructor(el: ElementRef);
|
|
1068
|
+
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
1069
|
+
private moveFocus;
|
|
1070
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListKeyboardNavigationDirective, never>;
|
|
1071
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ListKeyboardNavigationDirective, "[ddListKeyboardNavigation]", never, {}, {}, never, never, true, never>;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
declare class SelectableItemDirective {
|
|
1075
|
+
private el;
|
|
1076
|
+
private renderer;
|
|
1077
|
+
itemSelected: EventEmitter<void>;
|
|
1078
|
+
dragItem: boolean;
|
|
1079
|
+
private isMouseDown;
|
|
1080
|
+
private lastSelectedItem;
|
|
1081
|
+
private firstSelection;
|
|
1082
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
1083
|
+
onEnter(event: KeyboardEvent): void;
|
|
1084
|
+
onMouseDown(event: MouseEvent): void;
|
|
1085
|
+
onMouseMove(event: MouseEvent): void;
|
|
1086
|
+
onMouseUp(): void;
|
|
1087
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectableItemDirective, never>;
|
|
1088
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectableItemDirective, "[ddSelectableItem]", never, { "dragItem": { "alias": "dragItem"; "required": false; }; }, { "itemSelected": "itemSelected"; }, never, never, true, never>;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
declare class FixedPositionDirective implements AfterViewChecked, AfterViewInit, OnDestroy {
|
|
1092
|
+
private el;
|
|
1093
|
+
private renderer;
|
|
1094
|
+
childName1: string;
|
|
1095
|
+
childName2: string;
|
|
1096
|
+
set destroyedItem(val: boolean | undefined);
|
|
1097
|
+
private isShown?;
|
|
1098
|
+
private parentElement;
|
|
1099
|
+
private child1;
|
|
1100
|
+
private child2;
|
|
1101
|
+
private scrollListener;
|
|
1102
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
1103
|
+
ngAfterViewInit(): void;
|
|
1104
|
+
ngAfterViewChecked(): void;
|
|
1105
|
+
onScroll(): void;
|
|
1106
|
+
private updateChild2Position;
|
|
1107
|
+
private shouldPositionAbove;
|
|
1108
|
+
ngOnDestroy(): void;
|
|
1109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FixedPositionDirective, never>;
|
|
1110
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FixedPositionDirective, "[ddFixedPosition]", never, { "childName1": { "alias": "childName1"; "required": false; }; "childName2": { "alias": "childName2"; "required": false; }; "destroyedItem": { "alias": "destroyedItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
declare class VhHeightDirective implements OnInit, OnDestroy {
|
|
1114
|
+
private el;
|
|
1115
|
+
vhValue: number;
|
|
1116
|
+
private resizeObserver;
|
|
1117
|
+
constructor(el: ElementRef);
|
|
1118
|
+
ngOnInit(): void;
|
|
1119
|
+
onResize(event: Event): void;
|
|
1120
|
+
onOrientationChange(event: Event): void;
|
|
1121
|
+
private setHeight;
|
|
1122
|
+
ngOnDestroy(): void;
|
|
1123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VhHeightDirective, never>;
|
|
1124
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VhHeightDirective, "[ddVhHeight]", never, { "vhValue": { "alias": "ddVhHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
declare class ToastTypeData {
|
|
1128
|
+
title?: string;
|
|
1129
|
+
description?: string;
|
|
1130
|
+
template?: TemplateRef<any>;
|
|
1131
|
+
templateContext?: {};
|
|
1132
|
+
}
|
|
1133
|
+
declare class ToastData extends ToastTypeData {
|
|
1134
|
+
type: ToastType;
|
|
1135
|
+
constructor(type: ToastType, data?: ToastTypeData);
|
|
1136
|
+
}
|
|
1137
|
+
type ToastType = 'warning' | 'info' | 'success' | 'danger';
|
|
1138
|
+
declare class ToastConfig {
|
|
1139
|
+
position?: {
|
|
1140
|
+
top: number;
|
|
1141
|
+
right: number;
|
|
1142
|
+
};
|
|
1143
|
+
animation?: {
|
|
1144
|
+
fadeOut: number;
|
|
1145
|
+
fadeIn: number;
|
|
1146
|
+
};
|
|
1147
|
+
interval?: number;
|
|
1148
|
+
}
|
|
1149
|
+
declare const defaultToastConfig: ToastConfig;
|
|
1150
|
+
declare const TOAST_CONFIG_TOKEN: InjectionToken<ToastConfig>;
|
|
1151
|
+
declare const provideToast: (config?: Partial<ToastConfig>) => Provider[];
|
|
1152
|
+
|
|
1153
|
+
declare class ToastRef {
|
|
1154
|
+
private readonly overlay;
|
|
1155
|
+
constructor(overlay: OverlayRef);
|
|
1156
|
+
close(): void;
|
|
1157
|
+
isVisible(): HTMLElement;
|
|
1158
|
+
getPosition(): DOMRect;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
declare class ToastService {
|
|
1162
|
+
private overlay;
|
|
1163
|
+
private parentInjector;
|
|
1164
|
+
protected toastConfig: ToastConfig;
|
|
1165
|
+
private lastToast;
|
|
1166
|
+
constructor(overlay: Overlay, parentInjector: Injector, toastConfig: ToastConfig);
|
|
1167
|
+
warning(data: ToastTypeData): void;
|
|
1168
|
+
info(data: ToastTypeData): void;
|
|
1169
|
+
success(data: ToastTypeData): void;
|
|
1170
|
+
danger(data: ToastTypeData): void;
|
|
1171
|
+
show(data: ToastData): ToastRef;
|
|
1172
|
+
getPositionStrategy(): PositionStrategy;
|
|
1173
|
+
getPosition(): string;
|
|
1174
|
+
getInjector(data: ToastData, toastRef: ToastRef, toastConfig: ToastConfig, parentInjector: Injector): Injector;
|
|
1175
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
1176
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
type ToastAnimationState = 'default' | 'closing';
|
|
1180
|
+
|
|
1181
|
+
declare class ToastComponent implements OnInit, OnDestroy {
|
|
1182
|
+
readonly data: ToastData;
|
|
1183
|
+
readonly toastConfig: ToastConfig;
|
|
1184
|
+
readonly ref: ToastRef;
|
|
1185
|
+
callEvent: EventEmitter<any>;
|
|
1186
|
+
animationState$: BehaviorSubject<ToastAnimationState>;
|
|
1187
|
+
private intervalId;
|
|
1188
|
+
constructor(data: ToastData, toastConfig: ToastConfig, ref: ToastRef);
|
|
1189
|
+
ngOnInit(): void;
|
|
1190
|
+
onClickDesc($event: MouseEvent): void;
|
|
1191
|
+
ngOnDestroy(): void;
|
|
1192
|
+
close(): void;
|
|
1193
|
+
onFadeFinished(event: any): void;
|
|
1194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
1195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "dd-toast", never, {}, { "callEvent": "callEvent"; }, never, never, true, never>;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
declare class DDDialogRef<T> {
|
|
1199
|
+
protected overlayRef: OverlayRef;
|
|
1200
|
+
componentRef: ComponentRef<T> | undefined;
|
|
1201
|
+
/**
|
|
1202
|
+
* Stream of backdrop click events.
|
|
1203
|
+
* */
|
|
1204
|
+
readonly onBackdropClick: Observable<MouseEvent>;
|
|
1205
|
+
protected onClose$: Subject<any>;
|
|
1206
|
+
readonly onClose: Observable<any>;
|
|
1207
|
+
constructor(overlayRef: OverlayRef);
|
|
1208
|
+
/**
|
|
1209
|
+
* Hides dialog.
|
|
1210
|
+
* */
|
|
1211
|
+
close(res?: any): void;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
declare const DIALOG_CONFIG: InjectionToken<DialogConfig<any>>;
|
|
1215
|
+
declare class DialogConfig<D = any> {
|
|
1216
|
+
hasBackdrop: boolean;
|
|
1217
|
+
backdropClass: string;
|
|
1218
|
+
dialogClass: string;
|
|
1219
|
+
closeOnBackdropClick: boolean;
|
|
1220
|
+
closeOnEsc: boolean;
|
|
1221
|
+
hasScroll: boolean;
|
|
1222
|
+
autoFocus: boolean;
|
|
1223
|
+
viewContainerRef: ViewContainerRef | undefined;
|
|
1224
|
+
context: D | undefined;
|
|
1225
|
+
constructor(config: Partial<DialogConfig>);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
declare class DialogContainerComponent {
|
|
1229
|
+
protected config: DialogConfig;
|
|
1230
|
+
protected elementRef: ElementRef;
|
|
1231
|
+
protected focusTrapFactory: FocusTrapFactory;
|
|
1232
|
+
portalOutlet: CdkPortalOutlet | undefined;
|
|
1233
|
+
protected focusTrap: FocusTrap | undefined;
|
|
1234
|
+
constructor(config: DialogConfig, elementRef: ElementRef, focusTrapFactory: FocusTrapFactory);
|
|
1235
|
+
ngOnInit(): void;
|
|
1236
|
+
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
1237
|
+
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
1238
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerComponent, never>;
|
|
1239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogContainerComponent, "dd-dialog-container", never, {}, {}, never, never, true, never>;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
declare class DialogService {
|
|
1243
|
+
protected document: Document;
|
|
1244
|
+
protected globalConfig: DialogConfig;
|
|
1245
|
+
protected overlay: Overlay;
|
|
1246
|
+
protected injector: Injector;
|
|
1247
|
+
protected cfr: ComponentFactoryResolver;
|
|
1248
|
+
dialogRef: DDDialogRef<any> | undefined;
|
|
1249
|
+
constructor(document: Document, globalConfig: DialogConfig, overlay: Overlay, injector: Injector, cfr: ComponentFactoryResolver);
|
|
1250
|
+
open<T, R = any>(content: Type<T> | TemplateRef<T>, userConfig?: Partial<DialogConfig<Partial<R> | string>>): DDDialogRef<T>;
|
|
1251
|
+
protected createOverlay(config: DialogConfig): OverlayRef;
|
|
1252
|
+
protected createPositionStrategy(): PositionStrategy;
|
|
1253
|
+
protected createScrollStrategy(hasScroll: boolean): ScrollStrategy;
|
|
1254
|
+
protected createContainer(config: DialogConfig, overlayRef: OverlayRef): DialogContainerComponent;
|
|
1255
|
+
protected createInjector(config: DialogConfig): Injector;
|
|
1256
|
+
protected createContent<T>(config: DialogConfig, content: Type<T> | TemplateRef<T>, container: DialogContainerComponent, dialogRef: DDDialogRef<T>): void;
|
|
1257
|
+
protected createTemplatePortal<T>(config: DialogConfig, content: TemplateRef<T>, dialogRef: DDDialogRef<T>): TemplatePortal;
|
|
1258
|
+
protected createComponentPortal<T>(config: DialogConfig, content: Type<T>, dialogRef: DDDialogRef<T>): ComponentPortal<T>;
|
|
1259
|
+
protected registerCloseListeners<T>(config: DialogConfig, overlayRef: OverlayRef, dialogRef: DDDialogRef<T>): void;
|
|
1260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
1261
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
declare abstract class ModalCommonComponent {
|
|
1265
|
+
destroy: (() => {}) | undefined;
|
|
1266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalCommonComponent, never>;
|
|
1267
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalCommonComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
declare class ModalQuestionComponent {
|
|
1271
|
+
borderMobile: boolean;
|
|
1272
|
+
showLoader: null | boolean | undefined;
|
|
1273
|
+
modalTitle?: string;
|
|
1274
|
+
modalText?: string;
|
|
1275
|
+
btnAccept: string;
|
|
1276
|
+
btnCancel: string;
|
|
1277
|
+
private dialog;
|
|
1278
|
+
destroy: (() => {}) | undefined;
|
|
1279
|
+
onKeydownComponent(event: KeyboardEvent): void;
|
|
1280
|
+
close(accept?: boolean): void;
|
|
1281
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalQuestionComponent, never>;
|
|
1282
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalQuestionComponent, "dd-modal-question", never, {}, {}, never, never, true, never>;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
declare class ModalBaseComponent {
|
|
1286
|
+
private route;
|
|
1287
|
+
private router;
|
|
1288
|
+
private dialog;
|
|
1289
|
+
content: TemplateRef<any> | undefined;
|
|
1290
|
+
component: Type<any> | null | undefined;
|
|
1291
|
+
clearFragment: boolean;
|
|
1292
|
+
borderMobile: boolean;
|
|
1293
|
+
showLoader: null | boolean | undefined;
|
|
1294
|
+
showContentLoader: null | boolean | undefined;
|
|
1295
|
+
data: any;
|
|
1296
|
+
destroy: (() => {}) | undefined;
|
|
1297
|
+
constructor(route: ActivatedRoute, router: Router, dialog: DDDialogRef<ModalBaseComponent>);
|
|
1298
|
+
onKeydownComponent(event: KeyboardEvent): void;
|
|
1299
|
+
afterDestroy: () => void;
|
|
1300
|
+
close(): void;
|
|
1301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalBaseComponent, never>;
|
|
1302
|
+
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; }; "showLoader": { "alias": "showLoader"; "required": false; }; "showContentLoader": { "alias": "showContentLoader"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
declare class IDatePeriod {
|
|
1306
|
+
start: Date | undefined;
|
|
1307
|
+
end: Date | undefined;
|
|
1308
|
+
}
|
|
1309
|
+
declare class LibCalendarComponent implements ControlValueAccessor, OnInit {
|
|
1310
|
+
private dateService;
|
|
1311
|
+
type: 'string' | 'number' | 'date';
|
|
1312
|
+
formatDate: string;
|
|
1313
|
+
formatTime: string | undefined;
|
|
1314
|
+
rangeMode: boolean;
|
|
1315
|
+
rangeModeFullPeriod: boolean;
|
|
1316
|
+
maxHours: number;
|
|
1317
|
+
maxMinutes: number;
|
|
1318
|
+
needTime?: boolean | undefined;
|
|
1319
|
+
mode: 'icon' | 'full';
|
|
1320
|
+
dateStart: Date | undefined;
|
|
1321
|
+
dateEnd: Date | undefined;
|
|
1322
|
+
emitDate: EventEmitter<Date | undefined>;
|
|
1323
|
+
immediatelyEmitDate: EventEmitter<Date | undefined>;
|
|
1324
|
+
emitPeriod: EventEmitter<IDatePeriod | undefined>;
|
|
1325
|
+
set maxDate(date: any);
|
|
1326
|
+
set minDate(date: any);
|
|
1327
|
+
private _maxDate;
|
|
1328
|
+
private _minDate;
|
|
1329
|
+
dateValue: Date | undefined;
|
|
1330
|
+
months: string[];
|
|
1331
|
+
week: string[];
|
|
1332
|
+
year: number;
|
|
1333
|
+
month: number;
|
|
1334
|
+
day: number;
|
|
1335
|
+
daysInMonth: IDaysInMonth | undefined;
|
|
1336
|
+
currentDate: Date;
|
|
1337
|
+
dateNow: Date;
|
|
1338
|
+
onTouchedCallback: (() => void) | undefined;
|
|
1339
|
+
showCalendar: boolean | undefined;
|
|
1340
|
+
hours: string;
|
|
1341
|
+
minutes: string;
|
|
1342
|
+
constructor(dateService: DateService);
|
|
1343
|
+
propagateChange(_value: Date | IDatePeriod): void;
|
|
1344
|
+
ngOnInit(): void;
|
|
1345
|
+
setDayInMonth(): void;
|
|
1346
|
+
changeMonth(number: number): void;
|
|
1347
|
+
getMonth(): string;
|
|
1348
|
+
registerOnChange(fn: any): void;
|
|
1349
|
+
registerOnTouched(fn: any): void;
|
|
1350
|
+
writeValue(val: any): void;
|
|
1351
|
+
showCurrenSelectDay(date: Date): void;
|
|
1352
|
+
selectDay(day: number): void;
|
|
1353
|
+
selectDate(): void;
|
|
1354
|
+
checkHideDay(day: number): boolean;
|
|
1355
|
+
canselDate(): void;
|
|
1356
|
+
checkActiveDay(day: number): boolean;
|
|
1357
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibCalendarComponent, never>;
|
|
1358
|
+
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>;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
declare class LibCardComponent {
|
|
1362
|
+
cdr: ChangeDetectorRef;
|
|
1363
|
+
type: 'giant' | 'standard' | 'small';
|
|
1364
|
+
footerBtn: string | undefined;
|
|
1365
|
+
sHeight: string | undefined;
|
|
1366
|
+
skeleton: any;
|
|
1367
|
+
parentLvlForSkeleton: number | undefined;
|
|
1368
|
+
plugs: number | undefined;
|
|
1369
|
+
borderRadius: 'all' | 'top' | 'bottom' | 'none';
|
|
1370
|
+
cardBtnEvent: EventEmitter<undefined>;
|
|
1371
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1372
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibCardComponent, never>;
|
|
1373
|
+
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>;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
declare class LibCheckboxComponent implements OnInit, ControlValueAccessor {
|
|
1377
|
+
private cdr;
|
|
1378
|
+
static idCounter: number;
|
|
1379
|
+
checkboxId: string | undefined;
|
|
1380
|
+
required: boolean;
|
|
1381
|
+
disabled: boolean;
|
|
1382
|
+
checked: boolean;
|
|
1383
|
+
customClass: string | undefined;
|
|
1384
|
+
invalid: boolean;
|
|
1385
|
+
hasContent: boolean;
|
|
1386
|
+
checkEvent: EventEmitter<boolean>;
|
|
1387
|
+
focused: boolean | undefined;
|
|
1388
|
+
private onTouchedCallback;
|
|
1389
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1390
|
+
ngOnInit(): void;
|
|
1391
|
+
registerOnChange(fn: any): void;
|
|
1392
|
+
registerOnTouched(fn: any): void;
|
|
1393
|
+
onChecked(target: EventTarget | null): void;
|
|
1394
|
+
writeValue(value: boolean): void;
|
|
1395
|
+
private propagateChange;
|
|
1396
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibCheckboxComponent, never>;
|
|
1397
|
+
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>;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
declare class LibCommentInputComponent extends LibCommonInputTextComponent {
|
|
1401
|
+
sendComment: EventEmitter<string | undefined>;
|
|
1402
|
+
commentHeight: number;
|
|
1403
|
+
constructor(changeDetection: ChangeDetectorRef);
|
|
1404
|
+
onClick(value: string | undefined): void;
|
|
1405
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibCommentInputComponent, never>;
|
|
1406
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibCommentInputComponent, "dd-lib-comment-input", never, {}, { "sendComment": "sendComment"; }, never, never, true, never>;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
declare class LibFileUploadComponent implements OnInit {
|
|
1410
|
+
background?: string;
|
|
1411
|
+
width?: string;
|
|
1412
|
+
name?: string;
|
|
1413
|
+
file: any;
|
|
1414
|
+
deleteFile: EventEmitter<any>;
|
|
1415
|
+
fileName?: string;
|
|
1416
|
+
fileExtension?: string;
|
|
1417
|
+
ngOnInit(): void;
|
|
1418
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibFileUploadComponent, never>;
|
|
1419
|
+
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>;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
declare class LibFilterButtonComponent extends LibCommonButtonComponent {
|
|
1423
|
+
btnTitle: string | undefined;
|
|
1424
|
+
clearEvent: EventEmitter<null>;
|
|
1425
|
+
hintEvent: EventEmitter<null>;
|
|
1426
|
+
hintContent: TooltipData | undefined;
|
|
1427
|
+
onClear($event: MouseEvent): void;
|
|
1428
|
+
hintClick($event: MouseEvent): void;
|
|
1429
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibFilterButtonComponent, never>;
|
|
1430
|
+
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>;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* @deprecated использовать lib-file-loader
|
|
1435
|
+
*/
|
|
1436
|
+
declare class LibImageLoaderComponent {
|
|
1437
|
+
images: any;
|
|
1438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibImageLoaderComponent, never>;
|
|
1439
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibImageLoaderComponent, "dd-lib-image-loader", never, {}, {}, never, never, true, never>;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
declare class LibInputComponent extends LibCommonInputTextComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
1443
|
+
private destroyed$;
|
|
1444
|
+
private controlContainer;
|
|
1445
|
+
contentInput: ElementRef<HTMLElement> | undefined;
|
|
1446
|
+
showMaskTyped: boolean;
|
|
1447
|
+
dropSpecialCharacters: boolean | string[];
|
|
1448
|
+
height?: string;
|
|
1449
|
+
width?: string;
|
|
1450
|
+
prefix: string;
|
|
1451
|
+
suffix: string;
|
|
1452
|
+
shownMaskExpression: string | null;
|
|
1453
|
+
mask: string | undefined;
|
|
1454
|
+
validation: boolean;
|
|
1455
|
+
customPatterns: any;
|
|
1456
|
+
showPass: boolean;
|
|
1457
|
+
constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
1458
|
+
ngOnInit(): void;
|
|
1459
|
+
changeValueSub(control: AbstractControl): void;
|
|
1460
|
+
writeValue(value: string | number | null): void;
|
|
1461
|
+
ngOnDestroy(): void;
|
|
1462
|
+
handleBlur(): void;
|
|
1463
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibInputComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
1464
|
+
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>;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
declare class LibRadioComponent implements OnInit, ControlValueAccessor {
|
|
1468
|
+
private cdr;
|
|
1469
|
+
static idCounter: number;
|
|
1470
|
+
radioId: string | undefined;
|
|
1471
|
+
disabled: boolean;
|
|
1472
|
+
required: boolean;
|
|
1473
|
+
name: string | undefined;
|
|
1474
|
+
value: any;
|
|
1475
|
+
checked: boolean;
|
|
1476
|
+
changed: EventEmitter<any>;
|
|
1477
|
+
focused: boolean | undefined;
|
|
1478
|
+
onTouchedCallback: (() => void) | undefined;
|
|
1479
|
+
private modelInitialization;
|
|
1480
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1481
|
+
ngOnInit(): void;
|
|
1482
|
+
onSelected(target: EventTarget | null): void;
|
|
1483
|
+
registerOnChange(fn: any): void;
|
|
1484
|
+
setDisabledState(disabled: boolean): void;
|
|
1485
|
+
registerOnTouched(fn: any): void;
|
|
1486
|
+
writeValue(value: any): void;
|
|
1487
|
+
private propagateChange;
|
|
1488
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibRadioComponent, never>;
|
|
1489
|
+
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>;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor {
|
|
1493
|
+
private destroy$;
|
|
1494
|
+
private el;
|
|
1495
|
+
private controlContainer;
|
|
1496
|
+
splitTitle?: boolean;
|
|
1497
|
+
keyTitle?: string;
|
|
1498
|
+
keyDesc?: string;
|
|
1499
|
+
keyValue?: string;
|
|
1500
|
+
styleInput: 'round' | 'standard';
|
|
1501
|
+
inputStyle: 'white' | 'gray';
|
|
1502
|
+
set searchData(data: T[] | null | undefined);
|
|
1503
|
+
debounceTime: number;
|
|
1504
|
+
delay: number;
|
|
1505
|
+
idClose: string | undefined;
|
|
1506
|
+
loaded$: BehaviorSubject<boolean>;
|
|
1507
|
+
keyupEvent: EventEmitter<string>;
|
|
1508
|
+
selectedItem: EventEmitter<any>;
|
|
1509
|
+
keyUp: Subject<KeyboardEvent>;
|
|
1510
|
+
data: T[] | null | undefined;
|
|
1511
|
+
itemSize: number;
|
|
1512
|
+
constructor(destroy$: DestroyRef, el: ElementRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
1513
|
+
onWindowScroll(): void;
|
|
1514
|
+
ngOnInit(): void;
|
|
1515
|
+
changeValueSub(control: AbstractControl): void;
|
|
1516
|
+
writeValue(value: string): void;
|
|
1517
|
+
forceChange(): void;
|
|
1518
|
+
onClear(noEmit?: boolean): void;
|
|
1519
|
+
onClickSearchItem(item: any): void;
|
|
1520
|
+
getTitle(item: any): string;
|
|
1521
|
+
getDesc(item: any): string;
|
|
1522
|
+
handleBlur(): void;
|
|
1523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSearchInputComponent<any>, [null, null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
1524
|
+
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>;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
declare class LibSelectComponent extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
1528
|
+
private destroyed$;
|
|
1529
|
+
private controlContainer;
|
|
1530
|
+
private static idCounter;
|
|
1531
|
+
selectEl: ElementRef<HTMLInputElement>;
|
|
1532
|
+
searchInputEl: ElementRef<HTMLInputElement>;
|
|
1533
|
+
virtualScroll: boolean;
|
|
1534
|
+
multi: boolean;
|
|
1535
|
+
tooltipPosition: TToolTipPositions;
|
|
1536
|
+
highlight: boolean;
|
|
1537
|
+
searchOn: boolean;
|
|
1538
|
+
strict: boolean;
|
|
1539
|
+
selectId?: string;
|
|
1540
|
+
canSortByChecked: boolean;
|
|
1541
|
+
itemSize: number;
|
|
1542
|
+
keyTitle: string;
|
|
1543
|
+
keyDesc: string;
|
|
1544
|
+
keyValue: string;
|
|
1545
|
+
noDataError: string;
|
|
1546
|
+
searchPlaceholder: string;
|
|
1547
|
+
placeholder: string;
|
|
1548
|
+
keyGroupTitle: string;
|
|
1549
|
+
keyGroupChildren: string;
|
|
1550
|
+
selectAllInGroup: boolean;
|
|
1551
|
+
sortAlphabetically: boolean;
|
|
1552
|
+
selectedItem: EventEmitter<any>;
|
|
1553
|
+
selectedItems: EventEmitter<any>;
|
|
1554
|
+
deleteMultiItem: EventEmitter<any>;
|
|
1555
|
+
allSelected: boolean;
|
|
1556
|
+
initialized: boolean;
|
|
1557
|
+
checkedItem: any;
|
|
1558
|
+
inputValue: string;
|
|
1559
|
+
multiCountValue: string;
|
|
1560
|
+
showMultiCountValue: boolean;
|
|
1561
|
+
searchValue: string;
|
|
1562
|
+
isShownList: boolean;
|
|
1563
|
+
initWriteValue: boolean;
|
|
1564
|
+
writtenValue: any;
|
|
1565
|
+
_data: WritableSignal<any[] | undefined>;
|
|
1566
|
+
readonly checkedItems: WritableSignal<any[]>;
|
|
1567
|
+
readonly stringArray: WritableSignal<boolean>;
|
|
1568
|
+
constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
1569
|
+
set data(d: any | undefined | null);
|
|
1570
|
+
ngOnInit(): void;
|
|
1571
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1572
|
+
isGroup(item: any): boolean;
|
|
1573
|
+
getGroupTitle(group: any): string;
|
|
1574
|
+
handleGroupClick(group: any): void;
|
|
1575
|
+
isGroupSelected(group: any): boolean;
|
|
1576
|
+
onClear(checkedItem: any): void;
|
|
1577
|
+
searchInput(): void;
|
|
1578
|
+
handleInput(e: Event): void;
|
|
1579
|
+
notifyFocusEvent(): void;
|
|
1580
|
+
writeValue(value: any | null | undefined): void;
|
|
1581
|
+
registerOnChange(fn: any): void;
|
|
1582
|
+
registerOnTouched(fn: any): void;
|
|
1583
|
+
changeValueSub(control: AbstractControl): void;
|
|
1584
|
+
selectItem(item: any, cleared?: boolean): void;
|
|
1585
|
+
filterList(item: any): boolean;
|
|
1586
|
+
checkSelected(item: any): boolean;
|
|
1587
|
+
handleBlur(): void;
|
|
1588
|
+
handleFocus(): void;
|
|
1589
|
+
selectAll(): void;
|
|
1590
|
+
getClickOutsideElements(): string[];
|
|
1591
|
+
getItemTrackBy(item: any, index: number): string | number;
|
|
1592
|
+
trackByFn(index: number, item: any): string | number;
|
|
1593
|
+
private sortDataAlphabetically;
|
|
1594
|
+
private getItemDisplayText;
|
|
1595
|
+
private setupFormControl;
|
|
1596
|
+
private handleMultiWriteValue;
|
|
1597
|
+
checkNoKeyValue(value: any): void;
|
|
1598
|
+
private handleSingleWriteValue;
|
|
1599
|
+
private findItemByValue;
|
|
1600
|
+
private itemsEqual;
|
|
1601
|
+
private selectSingleItem;
|
|
1602
|
+
private handleStringItemSelection;
|
|
1603
|
+
private handleObjectItemSelection;
|
|
1604
|
+
private clearSelection;
|
|
1605
|
+
private selectMultiItem;
|
|
1606
|
+
private handleStringMultiItem;
|
|
1607
|
+
private handleObjectMultiItem;
|
|
1608
|
+
private updateMultiSelection;
|
|
1609
|
+
private filterItem;
|
|
1610
|
+
private sortDataBySelection;
|
|
1611
|
+
private deselectGroupItems;
|
|
1612
|
+
private selectGroupItems;
|
|
1613
|
+
private extractAllItems;
|
|
1614
|
+
private propagateChange;
|
|
1615
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent, [null, null, { optional: true; host: true; skipSelf: true; }]>;
|
|
1616
|
+
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>;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
declare class LibSkeletonComponent {
|
|
1620
|
+
private cdr;
|
|
1621
|
+
deepParent: number | undefined;
|
|
1622
|
+
sHeight: string | undefined;
|
|
1623
|
+
sMb: string | undefined;
|
|
1624
|
+
set skeleton(s: boolean | undefined | null);
|
|
1625
|
+
set plugs(n: number | undefined);
|
|
1626
|
+
_plugs: number[];
|
|
1627
|
+
_skeleton: boolean | undefined | null;
|
|
1628
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1629
|
+
protected readonly length: number;
|
|
1630
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSkeletonComponent, never>;
|
|
1631
|
+
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>;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
interface ISort {
|
|
1635
|
+
value: string;
|
|
1636
|
+
name: string;
|
|
1637
|
+
default?: boolean;
|
|
1638
|
+
}
|
|
1639
|
+
declare class LibSortComponent implements OnInit {
|
|
1640
|
+
sortItems: ISort[];
|
|
1641
|
+
sortEvent: EventEmitter<string>;
|
|
1642
|
+
sort: string | undefined;
|
|
1643
|
+
showSort: boolean | undefined;
|
|
1644
|
+
ngOnInit(): void;
|
|
1645
|
+
onSort(field: string): void;
|
|
1646
|
+
showSortList(): void;
|
|
1647
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSortComponent, never>;
|
|
1648
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibSortComponent, "dd-lib-sort", never, { "sortItems": { "alias": "sortItems"; "required": false; }; }, { "sortEvent": "sortEvent"; }, never, never, true, never>;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
declare class LibStepComponent {
|
|
1652
|
+
step: number;
|
|
1653
|
+
name: string;
|
|
1654
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibStepComponent, never>;
|
|
1655
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibStepComponent, "dd-lib-step", never, { "step": { "alias": "step"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
type TSvgColor = 'white' | 'green' | 'black' | 'gray' | 'gold' | 'blue';
|
|
1659
|
+
/**
|
|
1660
|
+
Компонент LibSvgComponent отвечает за отображение SVG иконок. Он содержит следующие свойства и методы:
|
|
1661
|
+
|
|
1662
|
+
Свойства:
|
|
1663
|
+
- @ViewChild('svgRef', { static: true }) public svg: ElementRef; - ссылка на элемент SVG.
|
|
1664
|
+
- @Input() public width: string; - ширина иконки.
|
|
1665
|
+
- @Input() public height: string; - высота иконки.
|
|
1666
|
+
- @Input() public icon: string; - название иконки.
|
|
1667
|
+
- @Input() public pack = 'svg'; - тип иконки (по умолчанию 'svg').
|
|
1668
|
+
- @Input() public color: TSvgColor = 'green'; - цвет иконки (зеленый по умолчанию).
|
|
1669
|
+
- @Input() public stroke: TSvgColor; - цвет обводки иконки.
|
|
1670
|
+
|
|
1671
|
+
Методы:
|
|
1672
|
+
- public ngOnInit(): void {} - метод жизненного цикла компонента, вызываемый при инициализации. В нем происходит загрузка SVG изображения и настройка его параметров, таких как ширина, высота и цвет.
|
|
1673
|
+
|
|
1674
|
+
В методе ngOnInit компонента LibSvgComponent происходит загрузка SVG изображения по указанному пути в зависимости от типа иконки и ее названия. Затем происходит обработка SVG элементов: удаление атрибутов fill и stroke у всех элементов path, а также у элементов svg и g. Задается ширина и высота SVG изображения в соответствии с переданными значениями.
|
|
1675
|
+
|
|
1676
|
+
Этот компонент значительно упрощает процесс отображения иконок на веб-странице, позволяя легко управлять их параметрами, такими как размеры и цвет.
|
|
1677
|
+
**/
|
|
1678
|
+
/**
|
|
1679
|
+
* @deprecated использовать lib-svg-viewer
|
|
1680
|
+
*/
|
|
1681
|
+
declare class LibSvgComponent implements OnInit {
|
|
1682
|
+
private http;
|
|
1683
|
+
private rdr;
|
|
1684
|
+
svg: ElementRef;
|
|
1685
|
+
width: string | undefined;
|
|
1686
|
+
height: string | undefined;
|
|
1687
|
+
icon: string | undefined;
|
|
1688
|
+
pack: string;
|
|
1689
|
+
color: TSvgColor;
|
|
1690
|
+
stroke: TSvgColor | undefined;
|
|
1691
|
+
constructor(http: HttpClient, rdr: Renderer2);
|
|
1692
|
+
ngOnInit(): void;
|
|
1693
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgComponent, never>;
|
|
1694
|
+
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>;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
interface IColorReplacementRule {
|
|
1698
|
+
selector: string;
|
|
1699
|
+
color: string;
|
|
1700
|
+
attribute?: 'fill' | 'stroke' | 'both';
|
|
1701
|
+
}
|
|
1702
|
+
declare class LibSvgViewerComponent implements OnChanges, OnDestroy {
|
|
1703
|
+
private http;
|
|
1704
|
+
private elementRef;
|
|
1705
|
+
path: string;
|
|
1706
|
+
pack: string | 'lib-svg';
|
|
1707
|
+
icon: string;
|
|
1708
|
+
width: string;
|
|
1709
|
+
height: string;
|
|
1710
|
+
color: string;
|
|
1711
|
+
containerClass: string;
|
|
1712
|
+
fullSize: boolean;
|
|
1713
|
+
colorRules: IColorReplacementRule[];
|
|
1714
|
+
private svgCache;
|
|
1715
|
+
private currentSvgUrl;
|
|
1716
|
+
constructor(http: HttpClient, elementRef: ElementRef);
|
|
1717
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1718
|
+
ngOnDestroy(): void;
|
|
1719
|
+
private loadSvg;
|
|
1720
|
+
private getSvgUrl;
|
|
1721
|
+
private getSvgWithCache;
|
|
1722
|
+
private renderSvg;
|
|
1723
|
+
private applySvgAttributes;
|
|
1724
|
+
private applyStyling;
|
|
1725
|
+
private applyColorRules;
|
|
1726
|
+
private applyColor;
|
|
1727
|
+
private updateSvgStyles;
|
|
1728
|
+
private clearSvgContainer;
|
|
1729
|
+
static clearCache(): void;
|
|
1730
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgViewerComponent, never>;
|
|
1731
|
+
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>;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
declare class LibSvgIconComponent implements OnInit {
|
|
1735
|
+
private el;
|
|
1736
|
+
private svgIconRegistry;
|
|
1737
|
+
private document;
|
|
1738
|
+
width: string | undefined;
|
|
1739
|
+
height: string | undefined;
|
|
1740
|
+
color: string | undefined;
|
|
1741
|
+
private svgIcon;
|
|
1742
|
+
constructor(el: ElementRef, svgIconRegistry: SvgIconsService, document: any);
|
|
1743
|
+
set icon(iconName: string | null | undefined);
|
|
1744
|
+
ngOnInit(): void;
|
|
1745
|
+
private svgElementFromString;
|
|
1746
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgIconComponent, [null, null, { optional: true; }]>;
|
|
1747
|
+
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>;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
declare class ITab {
|
|
1751
|
+
title: string;
|
|
1752
|
+
id: null | number;
|
|
1753
|
+
fragment?: string;
|
|
1754
|
+
name?: string;
|
|
1755
|
+
path?: string;
|
|
1756
|
+
welcomeText?: string;
|
|
1757
|
+
type?: 1 | 2;
|
|
1758
|
+
constructor(body: any);
|
|
1759
|
+
}
|
|
1760
|
+
declare class LibTabsFragmentComponent implements OnInit, ControlValueAccessor {
|
|
1761
|
+
private router;
|
|
1762
|
+
private cdr;
|
|
1763
|
+
private location;
|
|
1764
|
+
private route;
|
|
1765
|
+
rout?: string;
|
|
1766
|
+
tabs: ITab[] | undefined;
|
|
1767
|
+
tabsFragment: (string | undefined)[] | undefined;
|
|
1768
|
+
needInitEvent: boolean | undefined;
|
|
1769
|
+
noFragment: boolean | undefined;
|
|
1770
|
+
callEvent: boolean;
|
|
1771
|
+
setActiveTab: EventEmitter<number | null>;
|
|
1772
|
+
activeFragment: number | null | undefined;
|
|
1773
|
+
private _selectedTab;
|
|
1774
|
+
private onChange;
|
|
1775
|
+
private onTouched;
|
|
1776
|
+
constructor(router: Router, cdr: ChangeDetectorRef, location: Location, route: ActivatedRoute);
|
|
1777
|
+
ngOnInit(): void;
|
|
1778
|
+
writeValue(value: ITab | number | null): void;
|
|
1779
|
+
registerOnChange(fn: any): void;
|
|
1780
|
+
registerOnTouched(fn: any): void;
|
|
1781
|
+
checkActiveTab(tab?: ITab, callEvent?: boolean): void;
|
|
1782
|
+
private handleTabSelection;
|
|
1783
|
+
private getFragment;
|
|
1784
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibTabsFragmentComponent, never>;
|
|
1785
|
+
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>;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
declare class LibTextareaComponent extends LibCommonInputTextComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
1789
|
+
private controlContainer;
|
|
1790
|
+
rows: string;
|
|
1791
|
+
needCounter: boolean;
|
|
1792
|
+
textarea: ElementRef<HTMLInputElement> | undefined;
|
|
1793
|
+
constructor(changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
|
|
1794
|
+
ngOnInit(): void;
|
|
1795
|
+
writeValue(value: string | number | null): void;
|
|
1796
|
+
ngOnDestroy(): void;
|
|
1797
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibTextareaComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
|
|
1798
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibTextareaComponent, "dd-lib-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "needCounter": { "alias": "needCounter"; "required": false; }; }, {}, never, never, true, never>;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
declare class LibFileLoaderComponent implements OnChanges {
|
|
1802
|
+
private toast;
|
|
1803
|
+
fileLoader: ElementRef<HTMLInputElement>;
|
|
1804
|
+
title: string | undefined;
|
|
1805
|
+
description: string | undefined;
|
|
1806
|
+
btnTitle: string;
|
|
1807
|
+
multiple: boolean;
|
|
1808
|
+
maxFiles: number | undefined;
|
|
1809
|
+
maxFileSize: number;
|
|
1810
|
+
style: object | undefined;
|
|
1811
|
+
extensions: string[] | undefined;
|
|
1812
|
+
disabled: boolean | undefined;
|
|
1813
|
+
showLoader: null | boolean | undefined;
|
|
1814
|
+
template: TemplateRef<HTMLElement> | undefined;
|
|
1815
|
+
externalFiles: File[];
|
|
1816
|
+
inputFiles: EventEmitter<File[]>;
|
|
1817
|
+
files: File[];
|
|
1818
|
+
constructor(toast: ToastService);
|
|
1819
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1820
|
+
openFileLoader(): void;
|
|
1821
|
+
loadFile($event: Event): void;
|
|
1822
|
+
clear(): void;
|
|
1823
|
+
private validateExtension;
|
|
1824
|
+
private validateFileSize;
|
|
1825
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibFileLoaderComponent, never>;
|
|
1826
|
+
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>;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
declare class LibDateRangeComponent implements ControlValueAccessor, OnInit {
|
|
1830
|
+
private cdr;
|
|
1831
|
+
static idCounter: number;
|
|
1832
|
+
startInput?: ElementRef<HTMLElement>;
|
|
1833
|
+
endInput?: ElementRef<HTMLElement>;
|
|
1834
|
+
setDateRange: EventEmitter<IDatePeriod | undefined>;
|
|
1835
|
+
rangeId: string | undefined;
|
|
1836
|
+
placeholderStart: string;
|
|
1837
|
+
placeholderEnd: string;
|
|
1838
|
+
label: string | undefined;
|
|
1839
|
+
required: boolean | undefined;
|
|
1840
|
+
rangeModeFullPeriod: boolean;
|
|
1841
|
+
isShownPeriod: boolean;
|
|
1842
|
+
disabled: boolean;
|
|
1843
|
+
selectedPeriodStr: string | undefined;
|
|
1844
|
+
selectedPeriod: IDatePeriod;
|
|
1845
|
+
onTouchedCallback: (() => void) | undefined;
|
|
1846
|
+
endIsFocused: boolean;
|
|
1847
|
+
startIsFocused: boolean;
|
|
1848
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1849
|
+
pressTab(e: KeyboardEvent): void;
|
|
1850
|
+
ngOnInit(): void;
|
|
1851
|
+
get startDateStr(): string;
|
|
1852
|
+
set startDateStr(value: string | undefined);
|
|
1853
|
+
get endDateStr(): string;
|
|
1854
|
+
set endDateStr(value: string | undefined);
|
|
1855
|
+
private formatDate;
|
|
1856
|
+
private parseDate;
|
|
1857
|
+
openCalendar(): void;
|
|
1858
|
+
closeCalendar(): void;
|
|
1859
|
+
setPeriod($event: IDatePeriod | undefined): void;
|
|
1860
|
+
dateInput(e: KeyboardEvent, period: 'start' | 'end'): void;
|
|
1861
|
+
private handleStartDateInput;
|
|
1862
|
+
private handleEndDateInput;
|
|
1863
|
+
private handleInvalidDate;
|
|
1864
|
+
private onPeriodChange;
|
|
1865
|
+
propagateChange(_value: IDatePeriod | undefined): void;
|
|
1866
|
+
registerOnChange(fn: any): void;
|
|
1867
|
+
registerOnTouched(fn: any): void;
|
|
1868
|
+
writeValue($event: IDatePeriod): void;
|
|
1869
|
+
setDate($event: Date | undefined): void;
|
|
1870
|
+
changeActiveInput(position: 'start' | 'end', val: boolean): void;
|
|
1871
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibDateRangeComponent, never>;
|
|
1872
|
+
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>;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
declare class LibDateInputComponent implements ControlValueAccessor, OnInit {
|
|
1876
|
+
private cdr;
|
|
1877
|
+
static idCounter: number;
|
|
1878
|
+
topSide?: boolean;
|
|
1879
|
+
dateId?: string;
|
|
1880
|
+
placeholder?: string;
|
|
1881
|
+
label?: string;
|
|
1882
|
+
required?: boolean;
|
|
1883
|
+
needTime?: boolean;
|
|
1884
|
+
isShownCalendar: boolean;
|
|
1885
|
+
disabled: boolean;
|
|
1886
|
+
selectedDateStr?: string;
|
|
1887
|
+
selectedDate?: Date;
|
|
1888
|
+
onTouchedCallback?: (() => void);
|
|
1889
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1890
|
+
ngOnInit(): void;
|
|
1891
|
+
openCalendar(): void;
|
|
1892
|
+
closeCalendar(): void;
|
|
1893
|
+
setPeriod($event: Date | undefined): void;
|
|
1894
|
+
changeStrDate($event: string): void;
|
|
1895
|
+
propagateChange(_value: Date | undefined): void;
|
|
1896
|
+
registerOnChange(fn: any): void;
|
|
1897
|
+
registerOnTouched(fn: any): void;
|
|
1898
|
+
writeValue($event: Date): void;
|
|
1899
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibDateInputComponent, never>;
|
|
1900
|
+
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>;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
declare class LibFilterComponent {
|
|
1904
|
+
private document;
|
|
1905
|
+
private renderer;
|
|
1906
|
+
hideFilter: boolean;
|
|
1907
|
+
resetEvent: EventEmitter<any>;
|
|
1908
|
+
constructor(document: Document, renderer: Renderer2);
|
|
1909
|
+
toggleFilter(): void;
|
|
1910
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibFilterComponent, never>;
|
|
1911
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibFilterComponent, "dd-lib-filter", never, {}, { "resetEvent": "resetEvent"; }, never, ["*"], true, never>;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
declare class LibInfoCardComponent implements OnInit {
|
|
1915
|
+
config: ToastData;
|
|
1916
|
+
callEvent: EventEmitter<any>;
|
|
1917
|
+
constructor();
|
|
1918
|
+
ngOnInit(): void;
|
|
1919
|
+
onClickDesc($event: MouseEvent): void;
|
|
1920
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibInfoCardComponent, never>;
|
|
1921
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibInfoCardComponent, "dd-lib-info-card", never, { "config": { "alias": "config"; "required": false; }; }, { "callEvent": "callEvent"; }, never, never, true, never>;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
declare class LibDisclaimerComponent {
|
|
1925
|
+
type: 'success' | 'warning' | 'danger' | 'info';
|
|
1926
|
+
title?: string;
|
|
1927
|
+
description?: string;
|
|
1928
|
+
template?: TemplateRef<HTMLElement>;
|
|
1929
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibDisclaimerComponent, never>;
|
|
1930
|
+
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>;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
declare class LibHorizontalScrollComponent implements OnDestroy {
|
|
1934
|
+
private el;
|
|
1935
|
+
private renderer;
|
|
1936
|
+
private isDown;
|
|
1937
|
+
private startX;
|
|
1938
|
+
private scrollLeft;
|
|
1939
|
+
private velocity;
|
|
1940
|
+
private lastTime;
|
|
1941
|
+
private lastScrollLeft;
|
|
1942
|
+
private animationFrameId;
|
|
1943
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
1944
|
+
onMouseDown(e: MouseEvent): void;
|
|
1945
|
+
onTouchStart(e: TouchEvent): void;
|
|
1946
|
+
private startDragging;
|
|
1947
|
+
onMouseLeave(): void;
|
|
1948
|
+
onMouseUp(): void;
|
|
1949
|
+
onTouchEnd(): void;
|
|
1950
|
+
private stopDragging;
|
|
1951
|
+
onMouseMove(e: MouseEvent): void;
|
|
1952
|
+
onTouchMove(e: TouchEvent): void;
|
|
1953
|
+
private handleMove;
|
|
1954
|
+
onWheel(e: WheelEvent): void;
|
|
1955
|
+
private startInertialScroll;
|
|
1956
|
+
private cancelAnimation;
|
|
1957
|
+
ngOnDestroy(): void;
|
|
1958
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibHorizontalScrollComponent, never>;
|
|
1959
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibHorizontalScrollComponent, "dd-lib-horizontal-scroll", never, {}, {}, never, ["*"], true, never>;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
declare function Debounce(delay?: number): MethodDecorator;
|
|
1963
|
+
declare function Throttle(delay?: number): MethodDecorator;
|
|
1964
|
+
declare function Disabled<C, K extends keyof C = keyof C>(controlKey: K, streams?: K[]): PropertyDecorator;
|
|
1965
|
+
declare function DisableAfterNCall(limit?: number): (_target: any, key: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
1966
|
+
|
|
1967
|
+
interface IFooterLink {
|
|
1968
|
+
name: string;
|
|
1969
|
+
link?: string;
|
|
1970
|
+
svg?: string;
|
|
1971
|
+
action?: () => void;
|
|
1972
|
+
}
|
|
1973
|
+
interface IFooterLinkBlock {
|
|
1974
|
+
title: string;
|
|
1975
|
+
lastElement?: TemplateRef<HTMLElement> | null;
|
|
1976
|
+
links?: IFooterLink[];
|
|
1977
|
+
}
|
|
1978
|
+
declare class FooterComponent implements OnInit {
|
|
1979
|
+
private svgIconRegistry;
|
|
1980
|
+
socSharing: TemplateRef<HTMLElement> | null;
|
|
1981
|
+
appLink: TemplateRef<HTMLElement> | null;
|
|
1982
|
+
linkAction: EventEmitter<string>;
|
|
1983
|
+
sharingLink: {
|
|
1984
|
+
icon: string;
|
|
1985
|
+
url: string;
|
|
1986
|
+
}[];
|
|
1987
|
+
linksLeft: IFooterLinkBlock[];
|
|
1988
|
+
linksRight: IFooterLinkBlock[];
|
|
1989
|
+
constructor(svgIconRegistry: SvgIconsService);
|
|
1990
|
+
ngOnInit(): void;
|
|
1991
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
1992
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "dd-footer", never, {}, { "linkAction": "linkAction"; }, never, never, true, never>;
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
declare class FooterLinksBlockComponent {
|
|
1996
|
+
block: i0.InputSignal<IFooterLinkBlock | undefined>;
|
|
1997
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterLinksBlockComponent, never>;
|
|
1998
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterLinksBlockComponent, "dd-footer-links-block", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
declare class FooterLinkComponent {
|
|
2002
|
+
link: i0.InputSignal<IFooterLink | undefined>;
|
|
2003
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterLinkComponent, never>;
|
|
2004
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterLinkComponent, "dd-footer-link", never, { "link": { "alias": "link"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
declare class MainSharedComponent {
|
|
2008
|
+
protected readonly sharingLink: {
|
|
2009
|
+
icon: string;
|
|
2010
|
+
url: string;
|
|
2011
|
+
}[];
|
|
2012
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainSharedComponent, never>;
|
|
2013
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainSharedComponent, "dd-main-shared", never, {}, {}, never, never, true, never>;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
declare class DataEmptyComponent {
|
|
2017
|
+
abs: boolean | undefined;
|
|
2018
|
+
text: string;
|
|
2019
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataEmptyComponent, never>;
|
|
2020
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataEmptyComponent, "dd-data-empty", never, { "abs": { "alias": "abs"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
declare class NotFoundComponent {
|
|
2024
|
+
private location;
|
|
2025
|
+
private router;
|
|
2026
|
+
constructor(location: Location, router: Router);
|
|
2027
|
+
goBack(): void;
|
|
2028
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotFoundComponent, never>;
|
|
2029
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotFoundComponent, "dd-not-found", never, {}, {}, never, never, true, never>;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
declare class ErrorPageComponent {
|
|
2033
|
+
private location;
|
|
2034
|
+
private router;
|
|
2035
|
+
constructor(location: Location, router: Router);
|
|
2036
|
+
goBack(): void;
|
|
2037
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorPageComponent, never>;
|
|
2038
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorPageComponent, "dd-error-page", never, {}, {}, never, never, true, never>;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
declare class TechWorksComponent {
|
|
2042
|
+
private location;
|
|
2043
|
+
private router;
|
|
2044
|
+
constructor(location: Location, router: Router);
|
|
2045
|
+
goBack(): void;
|
|
2046
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TechWorksComponent, never>;
|
|
2047
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TechWorksComponent, "dd-tech-works", never, {}, {}, never, never, true, never>;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
declare const t = true;
|
|
2051
|
+
|
|
2052
|
+
export { API_URL, AutoHeightDirective, ClickOutsideDirective, CounterDirective, DDDialogRef, DEFAULT_FORMAT, DIALOG_CONFIG, DataEmptyComponent, DateService, Debounce, DeclensionDirective, DestroyService, DialogConfig, DialogService, DisableAfterNCall, Disabled, DropDownPositionDirective, ErrorPageComponent, FetcherService, FilterByKeyPipe, FilterPipe, FixedPositionDirective, FooterComponent, FooterLinkComponent, FooterLinksBlockComponent, HighlightPipe, IDatePeriod, ITab, InterceptorsService, LibAccordionComponent, LibBackButtonComponent, LibButtonComponent, LibCalendarComponent, LibCardComponent, LibCheckboxComponent, LibCommentInputComponent, LibCommonButtonComponent, LibCommonInputTextComponent, LibDateInputComponent, LibDateRangeComponent, LibDisclaimerComponent, LibFileLoaderComponent, LibFileUploadComponent, LibFilterButtonComponent, LibFilterComponent, LibHorizontalScrollComponent, LibImageLoaderComponent, LibInfoCardComponent, LibInputComponent, LibLoaderComponent, LibRadioComponent, LibSearchInputComponent, LibSelectComponent, LibSkeletonComponent, LibSortComponent, LibStepComponent, LibSvgComponent, LibSvgIconComponent, LibSvgViewerComponent, LibTabsFragmentComponent, LibTextareaComponent, ListKeyboardNavigationDirective, MainSharedComponent, ModalBaseComponent, ModalCommonComponent, ModalQuestionComponent, NotFoundComponent, PhoneMaskDirective, ResizeTextareaDirective, ReversePipe, SafePipe, SelectableItemDirective, SortByValPipe, SvgIconsService, TOAST_CONFIG_TOKEN, TOOLTIP_DATA, TechWorksComponent, ThemeConfigurator, ThemeConstructorService, Throttle, ToastComponent, ToastConfig, ToastData, ToastRef, ToastService, ToastTypeData, TooltipComponent, TooltipDirective, TriangleDirective, ValidatorsService, VhHeightDirective, completeIconSet, defaultToastConfig, provideToast, svgIconActogoneAccept, svgIconAll, svgIconAppgalery, svgIconAppstore, svgIconArrowDownRed, svgIconArrowUpGreen, svgIconBackArrow, svgIconBurger, svgIconCalendar, svgIconCheckGreen, svgIconCheckWhite, svgIconCircleNo, svgIconClear, svgIconClose, svgIconDangerT, svgIconDd, svgIconDdM, svgIconDobrodel, svgIconDownChevron, svgIconDownload, svgIconEds, svgIconEds2, svgIconEds2M, svgIconEdsM, svgIconEntry, svgIconErrorHint, svgIconEsia, svgIconEye, svgIconEyeOff, svgIconFile, svgIconFilter, svgIconGoogleapp, svgIconGrid, svgIconHealth, svgIconHealthM, svgIconInfoCircle, svgIconInfoT, svgIconLeftChevron, svgIconListSearch, svgIconLogout, svgIconMailExclamation, svgIconMaxFilter, svgIconMoon, svgIconMy, svgIconMyM, svgIconNews, svgIconNext, svgIconPaperclip, svgIconPenEdit, svgIconPguMo, svgIconPguMoM, svgIconPlug, svgIconPlugD, svgIconPlus, svgIconPreset, svgIconPrev, svgIconPrint, svgIconPrinter, svgIconQuestion, svgIconQuestionWhiteG, svgIconRedClose, svgIconReload, svgIconRightChevron, svgIconRustore, svgIconSearch, svgIconSend, svgIconSetAvatar, svgIconSharedLogo, svgIconSmallRoundLoader, svgIconSort, svgIconStar, svgIconSuccessT, svgIconSun, svgIconTg, svgIconToggleArrowLeft, svgIconToggleArrowRight, svgIconTrash, svgIconTrophy, svgIconUser, svgIconUserEmpty, svgIconUserEmptyD, svgIconVk, svgIconWarningT, t };
|
|
2053
|
+
export type { CommonDateData, DateTypes, GetDateBy, GetDateMethod, HttpIRequest, HttpIResponse, IColorReplacementRule, IDaysInMonth, IFooterLink, IFooterLinkBlock, IRequestOptions, ISort, PeriodMenuDate, PeriodName, SvgIcon, SvgIconNameSubset, TSvgColor, TToolTipPositions, TimeDate, ToastType, TooltipData, svgIcon };
|