dolfo-angular 1.223.0 → 1.226.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/dolfo-angular.mjs +77 -121
- package/fesm2022/dolfo-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/components/input.scss +1 -1
- package/types/dolfo-angular.d.ts +149 -157
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&.error{
|
|
29
|
-
input[type="text"], input[type="password"], input[type="email"], textarea, input[type="time"], input[type="number"], input[type="date"]{
|
|
29
|
+
input[type="text"], input[type="password"], input[type="email"], textarea, input[type="time"], input[type="number"], input[type="date"], .combobox{
|
|
30
30
|
border-color: $error !important;
|
|
31
31
|
background-color: rgba(217, 16, 16, 0.07) !important
|
|
32
32
|
}
|
package/types/dolfo-angular.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges,
|
|
2
|
+
import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges, SimpleChanges, PipeTransform, ViewContainerRef, Injector, AfterViewChecked, QueryList, ChangeDetectorRef, ProviderToken } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, Subscription, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i10 from '@angular/forms';
|
|
6
6
|
import { FormControl, ValidatorFn, ValidationErrors, ControlValueAccessor, Validator, AbstractControl, FormGroup, FormGroupDirective } from '@angular/forms';
|
|
7
7
|
import * as i9 from '@angular/common';
|
|
8
|
-
import { DecimalPipe } from '@angular/common';
|
|
9
|
-
import { CanActivate, ActivatedRouteSnapshot, Router, CanDeactivateFn, CanActivateFn, Route } from '@angular/router';
|
|
10
8
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
11
|
-
import {
|
|
9
|
+
import { CanActivate, ActivatedRouteSnapshot, Router, CanDeactivateFn, CanActivateFn, Route } from '@angular/router';
|
|
12
10
|
import * as _angular_common_http from '@angular/common/http';
|
|
13
11
|
import { HttpRequest, HttpHandlerFn } from '@angular/common/http';
|
|
14
12
|
import * as dolfo_angular from 'dolfo-angular';
|
|
@@ -256,133 +254,13 @@ declare abstract class Subscriptable implements OnDestroy {
|
|
|
256
254
|
static ɵdir: i0.ɵɵDirectiveDeclaration<Subscriptable, never, never, {}, {}, never, never, true, never>;
|
|
257
255
|
}
|
|
258
256
|
|
|
259
|
-
declare class ContextMenuService {
|
|
260
|
-
private contextMenu$;
|
|
261
|
-
getContextMenu$: () => rxjs.Observable<IContextMenu>;
|
|
262
|
-
openContextMenu: (input: IContextMenu) => void;
|
|
263
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuService, never>;
|
|
264
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService>;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
declare class DialogUtilsService {
|
|
268
|
-
private dialogService;
|
|
269
|
-
private translateService;
|
|
270
|
-
showLoading$: <T, T2>(obs: (res: T2) => Observable<T>) => rxjs.OperatorFunction<T2, T>;
|
|
271
|
-
hideLoading: () => void;
|
|
272
|
-
closeLatestDialog: () => void;
|
|
273
|
-
closeWithAction: <T>(data: T) => void;
|
|
274
|
-
openDialogComponent: (component: DialogComponentInput) => Observable<dolfo_angular.DialogOutput>;
|
|
275
|
-
openDialog: (input: IDialogInput) => Observable<dolfo_angular.DialogOutput>;
|
|
276
|
-
askConfirmAndLoad: <T>(input: Pick<IDialogInput, "title" | "message" | "hideCloseX" | "width">, obs: (resp: DialogActionType) => Observable<T>, getDialogResp?: boolean) => Observable<T>;
|
|
277
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogUtilsService, never>;
|
|
278
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogUtilsService>;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
declare class DialogService {
|
|
282
|
-
private dialog$;
|
|
283
|
-
private waiters;
|
|
284
|
-
private ts;
|
|
285
|
-
private getLastWaiter;
|
|
286
|
-
getDialog: () => (IDialogInput & {
|
|
287
|
-
_dialogId: number;
|
|
288
|
-
})[];
|
|
289
|
-
getDialog$: () => rxjs.Observable<(IDialogInput & {
|
|
290
|
-
_dialogId: number;
|
|
291
|
-
})[]>;
|
|
292
|
-
openDialog: (input: IDialogInput) => rxjs.Observable<DialogOutput>;
|
|
293
|
-
openDialogComponent: (component: DialogComponentInput) => rxjs.Observable<DialogOutput>;
|
|
294
|
-
showLoading: (message?: string) => rxjs.Observable<DialogOutput>;
|
|
295
|
-
close: () => void;
|
|
296
|
-
action: (action: DialogOutput) => void;
|
|
297
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
298
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
declare class NotificationService {
|
|
302
|
-
private notification$;
|
|
303
|
-
private history$;
|
|
304
|
-
getNotification$: () => rxjs.Observable<INotificationInput>;
|
|
305
|
-
show: (input: INotificationInput) => void;
|
|
306
|
-
hide: () => void;
|
|
307
|
-
getHistory$: () => rxjs.Observable<(INotificationInput & {
|
|
308
|
-
date: Date;
|
|
309
|
-
})[]>;
|
|
310
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
311
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
declare class PopoverService {
|
|
315
|
-
private popover$;
|
|
316
|
-
getPopover$: () => rxjs.Observable<IPopover>;
|
|
317
|
-
getPopover: () => IPopover;
|
|
318
|
-
showPopover: (input: IPopover) => void;
|
|
319
|
-
hide: () => void;
|
|
320
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverService, never>;
|
|
321
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PopoverService>;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
declare class RouteCheckService implements CanActivate {
|
|
325
|
-
private storeService;
|
|
326
|
-
private routeService;
|
|
327
|
-
canActivate({ routeConfig }: ActivatedRouteSnapshot): false | rxjs.Observable<boolean>;
|
|
328
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RouteCheckService, never>;
|
|
329
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RouteCheckService>;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
declare class StoreService extends Subscriptable {
|
|
333
|
-
private appInitialized;
|
|
334
|
-
constructor();
|
|
335
|
-
private store$;
|
|
336
|
-
addList: (key: string, list: Array<any>) => void;
|
|
337
|
-
getList: <T>(key: string) => T;
|
|
338
|
-
addEntity: (key: string, entity: any) => void;
|
|
339
|
-
getEntity: <T>(key: string) => T;
|
|
340
|
-
setCtrlKey: (pressingCtrl: boolean) => void;
|
|
341
|
-
isPressingCtrl: () => boolean;
|
|
342
|
-
isInitialized: () => boolean;
|
|
343
|
-
initialize: () => void;
|
|
344
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StoreService, never>;
|
|
345
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StoreService>;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
declare class TooltipService {
|
|
349
|
-
private tooltip$;
|
|
350
|
-
showTooltip: (input: ITooltip) => void;
|
|
351
|
-
getTooltip$: () => rxjs.Observable<ITooltip>;
|
|
352
|
-
getTooltip: () => ITooltip;
|
|
353
|
-
hide: () => void;
|
|
354
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
|
|
355
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
declare class TranslateService {
|
|
359
|
-
private lang$;
|
|
360
|
-
private langContent;
|
|
361
|
-
private langs;
|
|
362
|
-
private httpClient;
|
|
363
|
-
private langConfig;
|
|
364
|
-
constructor();
|
|
365
|
-
changeLanguage$: (langName: string) => rxjs.Observable<Record<string, string>>;
|
|
366
|
-
loadFromStorage$: () => rxjs.Observable<Record<string, string>>;
|
|
367
|
-
private load$;
|
|
368
|
-
translate: (key: string, params?: Record<string, string>) => string;
|
|
369
|
-
getLang: () => ILanguage;
|
|
370
|
-
getLang$: () => rxjs.Observable<ILanguage>;
|
|
371
|
-
private getLocale;
|
|
372
|
-
formatDate: (d: string) => string;
|
|
373
|
-
formatDateTime: (d: string) => string;
|
|
374
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateService, never>;
|
|
375
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TranslateService>;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
257
|
declare class InputContainerComponent {
|
|
379
|
-
|
|
258
|
+
errors$: BehaviorSubject<ValidationErrors>;
|
|
259
|
+
decodedError$: Observable<[string, Record<string, string>?]>;
|
|
260
|
+
input: BaseFormInput<any>;
|
|
380
261
|
private elRef;
|
|
381
262
|
private translateService;
|
|
382
263
|
private cp;
|
|
383
|
-
errors$: BehaviorSubject<ValidationErrors>;
|
|
384
|
-
decodedError$: Observable<[string, Record<string, string>?]>;
|
|
385
|
-
constructor(input: BaseFormInput<unknown>, elRef: ElementRef<HTMLDivElement>, translateService: TranslateService, cp: DecimalPipe);
|
|
386
264
|
focus: () => void;
|
|
387
265
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerComponent, never>;
|
|
388
266
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputContainerComponent, "dolfo-input-container", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -435,17 +313,17 @@ declare class AutocompleteComponent extends BaseFormInput<any> implements AfterV
|
|
|
435
313
|
}
|
|
436
314
|
|
|
437
315
|
declare class ComboboxComponent extends BaseFormInput<any | any[]> implements AfterViewInit, Required<ComboInput>, OnBlur, OnFocus, OnChanges {
|
|
438
|
-
private cdr;
|
|
439
316
|
combo: ElementRef<HTMLDivElement>;
|
|
440
317
|
options: ComboOption[];
|
|
441
318
|
placeHolder: string;
|
|
442
319
|
multiple: boolean;
|
|
443
320
|
onFocus: EventEmitter<FocusEvent>;
|
|
444
321
|
onBlur: EventEmitter<FocusEvent>;
|
|
322
|
+
private cdr;
|
|
445
323
|
opened: i0.WritableSignal<boolean>;
|
|
446
324
|
currentFocus: i0.WritableSignal<number>;
|
|
447
325
|
comboLabel: i0.WritableSignal<string>;
|
|
448
|
-
constructor(
|
|
326
|
+
constructor();
|
|
449
327
|
ngOnChanges(changes: SimpleChanges): void;
|
|
450
328
|
ngAfterViewInit(): void;
|
|
451
329
|
private extractLabel;
|
|
@@ -505,12 +383,130 @@ declare class InputCheckboxComponent extends BaseFormInput<boolean> {
|
|
|
505
383
|
|
|
506
384
|
declare class TranslatePipe implements PipeTransform {
|
|
507
385
|
private ts;
|
|
508
|
-
constructor(ts: TranslateService);
|
|
509
386
|
transform: (value: string, args?: Record<string, string>) => string;
|
|
510
387
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
|
|
511
388
|
static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate", true>;
|
|
512
389
|
}
|
|
513
390
|
|
|
391
|
+
declare class ContextMenuService {
|
|
392
|
+
private contextMenu$;
|
|
393
|
+
getContextMenu$: () => rxjs.Observable<IContextMenu>;
|
|
394
|
+
openContextMenu: (input: IContextMenu) => void;
|
|
395
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuService, never>;
|
|
396
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService>;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
declare class DialogUtilsService {
|
|
400
|
+
private dialogService;
|
|
401
|
+
private translateService;
|
|
402
|
+
showLoading$: <T, T2>(obs: (res: T2) => Observable<T>) => rxjs.OperatorFunction<T2, T>;
|
|
403
|
+
hideLoading: () => void;
|
|
404
|
+
closeLatestDialog: () => void;
|
|
405
|
+
closeWithAction: <T>(data: T) => void;
|
|
406
|
+
openDialogComponent: (component: DialogComponentInput) => Observable<dolfo_angular.DialogOutput>;
|
|
407
|
+
openDialog: (input: IDialogInput) => Observable<dolfo_angular.DialogOutput>;
|
|
408
|
+
askConfirmAndLoad: <T>(input: Pick<IDialogInput, "title" | "message" | "hideCloseX" | "width">, obs: (resp: DialogActionType) => Observable<T>, getDialogResp?: boolean) => Observable<T>;
|
|
409
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogUtilsService, never>;
|
|
410
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogUtilsService>;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
declare class DialogService {
|
|
414
|
+
private dialog$;
|
|
415
|
+
private waiters;
|
|
416
|
+
private ts;
|
|
417
|
+
private getLastWaiter;
|
|
418
|
+
getDialog: () => (IDialogInput & {
|
|
419
|
+
_dialogId: number;
|
|
420
|
+
})[];
|
|
421
|
+
getDialog$: () => rxjs.Observable<(IDialogInput & {
|
|
422
|
+
_dialogId: number;
|
|
423
|
+
})[]>;
|
|
424
|
+
openDialog: (input: IDialogInput) => rxjs.Observable<DialogOutput>;
|
|
425
|
+
openDialogComponent: (component: DialogComponentInput) => rxjs.Observable<DialogOutput>;
|
|
426
|
+
showLoading: (message?: string) => rxjs.Observable<DialogOutput>;
|
|
427
|
+
close: () => void;
|
|
428
|
+
action: (action: DialogOutput) => void;
|
|
429
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
430
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
declare class NotificationService {
|
|
434
|
+
private notification$;
|
|
435
|
+
private history$;
|
|
436
|
+
getNotification$: () => rxjs.Observable<INotificationInput>;
|
|
437
|
+
show: (input: INotificationInput) => void;
|
|
438
|
+
hide: () => void;
|
|
439
|
+
getHistory$: () => rxjs.Observable<(INotificationInput & {
|
|
440
|
+
date: Date;
|
|
441
|
+
})[]>;
|
|
442
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
443
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
declare class PopoverService {
|
|
447
|
+
private popover$;
|
|
448
|
+
getPopover$: () => rxjs.Observable<IPopover>;
|
|
449
|
+
getPopover: () => IPopover;
|
|
450
|
+
showPopover: (input: IPopover) => void;
|
|
451
|
+
hide: () => void;
|
|
452
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverService, never>;
|
|
453
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PopoverService>;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
declare class RouteCheckService implements CanActivate {
|
|
457
|
+
private storeService;
|
|
458
|
+
private routeService;
|
|
459
|
+
canActivate({ routeConfig }: ActivatedRouteSnapshot): false | rxjs.Observable<boolean>;
|
|
460
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouteCheckService, never>;
|
|
461
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RouteCheckService>;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
declare class StoreService extends Subscriptable {
|
|
465
|
+
private appInitialized;
|
|
466
|
+
constructor();
|
|
467
|
+
private store$;
|
|
468
|
+
addList: (key: string, list: Array<any>) => void;
|
|
469
|
+
getList: <T>(key: string) => T;
|
|
470
|
+
addEntity: (key: string, entity: any) => void;
|
|
471
|
+
getEntity: <T>(key: string) => T;
|
|
472
|
+
setCtrlKey: (pressingCtrl: boolean) => void;
|
|
473
|
+
isPressingCtrl: () => boolean;
|
|
474
|
+
isInitialized: () => boolean;
|
|
475
|
+
initialize: () => void;
|
|
476
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreService, never>;
|
|
477
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StoreService>;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
declare class TooltipService {
|
|
481
|
+
private tooltip$;
|
|
482
|
+
showTooltip: (input: ITooltip) => void;
|
|
483
|
+
getTooltip$: () => rxjs.Observable<ITooltip>;
|
|
484
|
+
getTooltip: () => ITooltip;
|
|
485
|
+
hide: () => void;
|
|
486
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
|
|
487
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
declare class TranslateService {
|
|
491
|
+
private lang$;
|
|
492
|
+
private langContent;
|
|
493
|
+
private langs;
|
|
494
|
+
private httpClient;
|
|
495
|
+
private langConfig;
|
|
496
|
+
constructor();
|
|
497
|
+
changeLanguage$: (langName: string) => rxjs.Observable<Record<string, string>>;
|
|
498
|
+
loadFromStorage$: () => rxjs.Observable<Record<string, string>>;
|
|
499
|
+
private load$;
|
|
500
|
+
translate: (key: string, params?: Record<string, string>) => string;
|
|
501
|
+
getLang: () => ILanguage;
|
|
502
|
+
getLang$: () => rxjs.Observable<ILanguage>;
|
|
503
|
+
private getLocale;
|
|
504
|
+
formatDate: (d: string) => string;
|
|
505
|
+
formatDateTime: (d: string) => string;
|
|
506
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateService, never>;
|
|
507
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TranslateService>;
|
|
508
|
+
}
|
|
509
|
+
|
|
514
510
|
declare abstract class BaseAppComponent extends Subscriptable implements OnInit, AfterViewInit {
|
|
515
511
|
protected abstract container: ViewContainerRef;
|
|
516
512
|
protected abstract readonly streams: Observable<string>[];
|
|
@@ -576,13 +572,12 @@ declare class RouteConfig {
|
|
|
576
572
|
}
|
|
577
573
|
|
|
578
574
|
declare class ContextMenuDirective extends Subscriptable implements OnInit {
|
|
579
|
-
private contextMenuService;
|
|
580
|
-
private elRef;
|
|
581
575
|
contextMenu: ContextMenuItem[];
|
|
582
576
|
openOnClick: boolean;
|
|
583
577
|
useElRef: boolean;
|
|
584
578
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
585
|
-
|
|
579
|
+
private contextMenuService;
|
|
580
|
+
private elRef;
|
|
586
581
|
ngOnInit(): void;
|
|
587
582
|
private getElRefPosition;
|
|
588
583
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
@@ -598,38 +593,41 @@ declare class ScrollDragDirective extends Subscriptable {
|
|
|
598
593
|
private mouseDownY;
|
|
599
594
|
private initialScrollY;
|
|
600
595
|
private diffY;
|
|
601
|
-
|
|
596
|
+
private elementRef;
|
|
597
|
+
constructor();
|
|
602
598
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollDragDirective, never>;
|
|
603
599
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollDragDirective, "[dolfoScrollDrag]", never, {}, {}, never, never, false, never>;
|
|
604
600
|
}
|
|
605
601
|
|
|
606
602
|
declare class TooltipDirective extends Subscriptable implements Omit<ITooltip, "elementRef"> {
|
|
607
|
-
private ts;
|
|
608
603
|
content: string;
|
|
609
604
|
direction: TooltipDirection;
|
|
610
|
-
|
|
605
|
+
private el;
|
|
606
|
+
private ts;
|
|
607
|
+
constructor();
|
|
611
608
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
612
609
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[dolfoTooltip]", never, { "content": { "alias": "dolfoTooltip"; "required": true; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
|
|
613
610
|
}
|
|
614
611
|
|
|
615
612
|
declare class PopoverDirective extends Subscriptable {
|
|
616
|
-
private el;
|
|
617
|
-
private ps;
|
|
618
613
|
content: string | TemplateRef<any>;
|
|
619
614
|
context: any;
|
|
620
615
|
direction: TooltipDirection;
|
|
621
|
-
|
|
616
|
+
private el;
|
|
617
|
+
private ps;
|
|
622
618
|
ngOnInit(): void;
|
|
623
619
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
624
620
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[dolfoPopover]", never, { "content": { "alias": "dolfoPopover"; "required": true; }; "context": { "alias": "dolfoPopoverContext"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
|
|
625
621
|
}
|
|
626
622
|
|
|
627
623
|
declare class NavigateDirective extends Subscriptable {
|
|
628
|
-
private elementRef;
|
|
629
624
|
url: string;
|
|
630
625
|
private isLink;
|
|
631
626
|
private publicUrl;
|
|
632
|
-
|
|
627
|
+
private storeService;
|
|
628
|
+
private router;
|
|
629
|
+
private elementRef;
|
|
630
|
+
constructor();
|
|
633
631
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
634
632
|
private openBlank;
|
|
635
633
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateDirective, never>;
|
|
@@ -689,14 +687,13 @@ declare class LoaderComponent {
|
|
|
689
687
|
}
|
|
690
688
|
|
|
691
689
|
declare class NotificationComponent implements OnInit, Required<INotificationInput> {
|
|
692
|
-
private ns;
|
|
693
|
-
private ts;
|
|
694
690
|
title: string;
|
|
695
691
|
message: string;
|
|
696
692
|
type: NotificationType;
|
|
697
693
|
action: NotificationAction;
|
|
698
694
|
private timeout;
|
|
699
|
-
|
|
695
|
+
private ns;
|
|
696
|
+
private ts;
|
|
700
697
|
ngOnInit(): void;
|
|
701
698
|
mouseEnter: () => void;
|
|
702
699
|
mouseLeave: () => NodeJS.Timeout;
|
|
@@ -708,18 +705,17 @@ declare class NotificationComponent implements OnInit, Required<INotificationInp
|
|
|
708
705
|
|
|
709
706
|
declare const TOOLTIP_DESTROY_TOKEN: InjectionToken<() => void>;
|
|
710
707
|
declare class TooltipComponent extends Subscriptable implements OnInit, AfterViewInit, Required<ITooltip> {
|
|
711
|
-
private cdr;
|
|
712
708
|
tooltipRef: ElementRef<HTMLDivElement>;
|
|
713
709
|
content: string;
|
|
714
710
|
elementRef: ElementRef<HTMLElement>;
|
|
715
711
|
direction: TooltipDirection;
|
|
716
712
|
private destroyFn;
|
|
717
713
|
private checkCount;
|
|
714
|
+
private cdr;
|
|
718
715
|
currentDirection$: BehaviorSubject<TooltipDirection>;
|
|
719
716
|
completed$: BehaviorSubject<boolean>;
|
|
720
717
|
readonly x$: BehaviorSubject<number>;
|
|
721
718
|
readonly y$: BehaviorSubject<number>;
|
|
722
|
-
constructor(cdr: ChangeDetectorRef);
|
|
723
719
|
ngOnInit(): void;
|
|
724
720
|
ngAfterViewInit(): void;
|
|
725
721
|
private calculatePosition;
|
|
@@ -736,8 +732,6 @@ declare class IconComponent {
|
|
|
736
732
|
|
|
737
733
|
declare const POPOVER_DESTROY_TOKEN: InjectionToken<() => void>;
|
|
738
734
|
declare class PopoverComponent extends Subscriptable implements OnInit, AfterViewInit, Required<IPopover> {
|
|
739
|
-
private cdr;
|
|
740
|
-
private sanitizer;
|
|
741
735
|
tooltipRef: ElementRef<HTMLDivElement>;
|
|
742
736
|
content: string | TemplateRef<any>;
|
|
743
737
|
elementRef: ElementRef<HTMLElement>;
|
|
@@ -745,11 +739,12 @@ declare class PopoverComponent extends Subscriptable implements OnInit, AfterVie
|
|
|
745
739
|
context: any;
|
|
746
740
|
private destroyFn;
|
|
747
741
|
private checkCount;
|
|
742
|
+
private cdr;
|
|
743
|
+
private sanitizer;
|
|
748
744
|
currentDirection$: BehaviorSubject<TooltipDirection>;
|
|
749
745
|
completed$: BehaviorSubject<boolean>;
|
|
750
746
|
readonly x$: BehaviorSubject<number>;
|
|
751
747
|
readonly y$: BehaviorSubject<number>;
|
|
752
|
-
constructor(cdr: ChangeDetectorRef, sanitizer: DomSanitizer);
|
|
753
748
|
ngOnInit(): void;
|
|
754
749
|
ngAfterViewInit(): void;
|
|
755
750
|
private calculatePosition;
|
|
@@ -774,9 +769,8 @@ declare class FormModule {
|
|
|
774
769
|
}
|
|
775
770
|
|
|
776
771
|
declare class DialogContentComponent implements OnInit {
|
|
777
|
-
private cdr;
|
|
778
772
|
template: TemplateRef<unknown>;
|
|
779
|
-
|
|
773
|
+
private cdr;
|
|
780
774
|
ngOnInit(): void;
|
|
781
775
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentComponent, never>;
|
|
782
776
|
static ɵcmp: i0.ɵɵComponentDeclaration<DialogContentComponent, "dolfo-dialog-content", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -796,13 +790,12 @@ declare class DialogFooterComponent implements OnInit, AfterViewChecked {
|
|
|
796
790
|
}
|
|
797
791
|
|
|
798
792
|
declare class DialogHeaderComponent implements OnInit {
|
|
799
|
-
private cdr;
|
|
800
|
-
private dialogService;
|
|
801
793
|
template: TemplateRef<unknown>;
|
|
802
794
|
title: string;
|
|
803
795
|
icon: DialogIcon;
|
|
804
796
|
showCloseX: boolean;
|
|
805
|
-
|
|
797
|
+
private cdr;
|
|
798
|
+
private dialogService;
|
|
806
799
|
ngOnInit(): void;
|
|
807
800
|
close: () => void;
|
|
808
801
|
getIcon: () => string;
|
|
@@ -834,7 +827,7 @@ declare class DialogComponent extends Formable implements Required<IDialogInput>
|
|
|
834
827
|
protected dialogService: DialogService;
|
|
835
828
|
private sanitizer;
|
|
836
829
|
ngOnInit(): void;
|
|
837
|
-
protected submit: (
|
|
830
|
+
protected submit: (formValue: any) => Observable<unknown>;
|
|
838
831
|
getIcon: () => DialogIcon;
|
|
839
832
|
protected close: (type: DialogActionType, data?: Record<string, any>) => void;
|
|
840
833
|
showCloseX: () => boolean;
|
|
@@ -851,10 +844,9 @@ declare class DialogLayoutModule {
|
|
|
851
844
|
}
|
|
852
845
|
|
|
853
846
|
declare class GridComponent<T> {
|
|
847
|
+
config: GridConfig<T>;
|
|
854
848
|
private translateService;
|
|
855
849
|
private sanitizer;
|
|
856
|
-
config: GridConfig<T>;
|
|
857
|
-
constructor(translateService: TranslateService, sanitizer: DomSanitizer);
|
|
858
850
|
resolveField: (item: T, { field, formatter, dataType, onLink }: GridColumn) => _angular_platform_browser.SafeHtml;
|
|
859
851
|
checkLink: (e: Event, col: GridColumn, item: T, cell: HTMLTableCellElement) => void;
|
|
860
852
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent<any>, never>;
|