dolfo-angular 1.210.0 → 1.212.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dolfo-angular",
3
- "version": "1.210.0",
3
+ "version": "1.212.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.9",
6
6
  "@angular/core": "^21.2.9",
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges, ChangeDetectorRef, SimpleChanges, PipeTransform, AfterViewChecked, QueryList, Injector, ViewContainerRef } from '@angular/core';
2
+ import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges, ChangeDetectorRef, SimpleChanges, PipeTransform, ViewContainerRef, Injector, AfterViewChecked, QueryList, 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
8
  import { DecimalPipe } from '@angular/common';
9
- import { CanActivate, ActivatedRouteSnapshot, Router } from '@angular/router';
9
+ import { CanActivate, ActivatedRouteSnapshot, Router, CanActivateFn, Route } from '@angular/router';
10
10
  import * as _angular_platform_browser from '@angular/platform-browser';
11
11
  import { DomSanitizer } from '@angular/platform-browser';
12
12
  import * as _angular_common_http from '@angular/common/http';
@@ -516,6 +516,21 @@ declare class TranslatePipe implements PipeTransform {
516
516
  static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate", true>;
517
517
  }
518
518
 
519
+ declare abstract class BaseAppComponent extends Subscriptable implements OnInit, AfterViewInit {
520
+ protected abstract container: ViewContainerRef;
521
+ protected abstract readonly streams: Observable<string>[];
522
+ protected injector: Injector;
523
+ protected router: Router;
524
+ protected storeService: StoreService;
525
+ private loading;
526
+ loadingMessage: i0.WritableSignal<string>;
527
+ ngOnInit(): void;
528
+ ngAfterViewInit(): void;
529
+ get percentage(): number;
530
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseAppComponent, never>;
531
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseAppComponent, never, never, {}, {}, never, never, true, never>;
532
+ }
533
+
519
534
  declare abstract class Formable<T = object> extends Subscriptable implements OnDestroy, AfterViewInit, AfterViewChecked {
520
535
  formRef: FormGroupDirective;
521
536
  inputs: QueryList<BaseFormInput<unknown>>;
@@ -544,6 +559,24 @@ declare class OverlayManager {
544
559
  init: () => rxjs.Subscription[];
545
560
  }
546
561
 
562
+ interface Module {
563
+ [x: string]: Type<unknown>;
564
+ }
565
+ declare class RouteConfig {
566
+ private path;
567
+ private loadComponent;
568
+ private redirectTo;
569
+ private pathMatch;
570
+ private title;
571
+ private canActivate;
572
+ constructor(path: string, withRouteCheck?: boolean);
573
+ withTitle: (title: typeof this.title) => this;
574
+ loadUrl: (imp: Promise<Module>) => this;
575
+ withRedirect: (url: string) => this;
576
+ addGuard: (guard: CanActivateFn | ProviderToken<any> | string | Array<CanActivateFn | ProviderToken<any> | string>) => this;
577
+ toRoute: () => Route;
578
+ }
579
+
547
580
  declare class ContextMenuDirective extends Subscriptable implements OnInit {
548
581
  private contextMenuService;
549
582
  private elRef;
@@ -837,5 +870,5 @@ declare const authInterceptor: (req: HttpRequest<unknown>, next: HttpHandlerFn)
837
870
 
838
871
  declare const errorInterceptor: (req: HttpRequest<unknown>, next: HttpHandlerFn) => rxjs.Observable<_angular_common_http.HttpEvent<unknown>>;
839
872
 
840
- export { AutocompleteComponent, BaseFormInput, ButtonComponent, CONTEXT_MENU_DESTROY_TOKEN, ColumnAlign, ColumnDataType, ComboboxComponent, ContextMenuComponent, ContextMenuDirective, ContextMenuService, DatepickerComponent, DialogActionType, DialogComponent, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogLayoutComponent, DialogLayoutModule, DialogService, DialogUtilsService, DirectivesModule, FormComponent, FormModule, Formable, GridComponent, GridConfig, GridModule, ICON_COMPONENT, IconComponent, IconWrapperComponent, InputCheckboxComponent, InputContainerComponent, InputRadioComponent, InputTextComponent, LANGUAGE_TOKEN, LayoutModule, LoaderComponent, MAX_DEVICE_SIZE, MAX_SMALL_DEVICE, NavigateDirective, NotificationComponent, NotificationService, OverlayManager, POPOVER_DESTROY_TOKEN, PopoverComponent, PopoverDirective, PopoverService, ROUTE_CHECK_SERVICE, RouteCheckService, ScrollDragDirective, StorageValues, StoreLists, StoreService, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, authInterceptor, errorInterceptor, isDeepEqual, passwordValidator, provideDolfoLanguages };
873
+ export { AutocompleteComponent, BaseAppComponent, BaseFormInput, ButtonComponent, CONTEXT_MENU_DESTROY_TOKEN, ColumnAlign, ColumnDataType, ComboboxComponent, ContextMenuComponent, ContextMenuDirective, ContextMenuService, DatepickerComponent, DialogActionType, DialogComponent, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogLayoutComponent, DialogLayoutModule, DialogService, DialogUtilsService, DirectivesModule, FormComponent, FormModule, Formable, GridComponent, GridConfig, GridModule, ICON_COMPONENT, IconComponent, IconWrapperComponent, InputCheckboxComponent, InputContainerComponent, InputRadioComponent, InputTextComponent, LANGUAGE_TOKEN, LayoutModule, LoaderComponent, MAX_DEVICE_SIZE, MAX_SMALL_DEVICE, NavigateDirective, NotificationComponent, NotificationService, OverlayManager, POPOVER_DESTROY_TOKEN, PopoverComponent, PopoverDirective, PopoverService, ROUTE_CHECK_SERVICE, RouteCheckService, RouteConfig, ScrollDragDirective, StorageValues, StoreLists, StoreService, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, authInterceptor, errorInterceptor, isDeepEqual, passwordValidator, provideDolfoLanguages };
841
874
  export type { AutocompleteConfig, ButtonColor, ButtonSize, CheckRoute, ComboInput, ComboOption, ContextMenuItem, DialogComponentInput, DialogFooterButton, DialogForm, DialogIcon, DialogOutput, DialogType, GridAction, GridColumn, IContextMenu, IDialogInput, IGridConfig, ILanguage, ILanguageToken, INotificationInput, IPopover, IStore, ITooltip, IconName, InputType, NotificationAction, NotificationType, OnBlur, OnClick, OnFocus, StorageListType, TooltipDirection };