dolfo-angular 1.231.0 → 1.233.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.231.0",
3
+ "version": "1.233.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.1.1",
6
6
  "@angular/core": "^22.1.1",
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges, SimpleChanges, PipeTransform, ViewContainerRef, Injector, AfterViewChecked, QueryList, ChangeDetectorRef, ProviderToken } from '@angular/core';
2
+ import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges, SimpleChanges, PipeTransform, ViewContainerRef, Injector, AfterViewChecked, ChangeDetectorRef, ProviderToken, QueryList } 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';
@@ -113,9 +113,10 @@ interface GridAction {
113
113
  readonly color?: ButtonColor;
114
114
  readonly onClick: () => void;
115
115
  }
116
+ type BooleanFn = () => boolean;
116
117
  interface GridToolbarButton {
117
118
  readonly label: string;
118
- readonly disabled?: boolean | (() => boolean);
119
+ readonly disabled?: boolean | BooleanFn;
119
120
  readonly icon?: string;
120
121
  readonly onClick: () => void;
121
122
  }
@@ -540,9 +541,9 @@ declare abstract class BaseAppComponent extends Subscriptable implements OnInit,
540
541
  }
541
542
 
542
543
  declare abstract class Formable<T = object> extends Subscriptable implements OnDestroy, AfterViewInit, AfterViewChecked {
543
- formRef: FormGroupDirective;
544
- inputs: QueryList<BaseFormInput<unknown>>;
545
- loading$: BehaviorSubject<boolean>;
544
+ protected formRef: FormGroupDirective;
545
+ private inputs;
546
+ protected loading$: BehaviorSubject<boolean>;
546
547
  protected notificationService: NotificationService;
547
548
  protected translateService: TranslateService;
548
549
  protected cdr: ChangeDetectorRef;
@@ -551,8 +552,9 @@ declare abstract class Formable<T = object> extends Subscriptable implements OnD
551
552
  ngAfterViewInit(): void;
552
553
  ngAfterViewChecked(): void;
553
554
  private findInForm;
554
- protected manualSubmit: () => void;
555
+ manualSubmit: () => void;
555
556
  protected registerPasswordChanges: (passwordControlName: string, confirmPasswordControlName: string) => void;
557
+ isLoading$: () => Observable<boolean>;
556
558
  static ɵfac: i0.ɵɵFactoryDeclaration<Formable<any>, never>;
557
559
  static ɵdir: i0.ɵɵDirectiveDeclaration<Formable<any>, never, never, {}, {}, never, never, true, never>;
558
560
  }
@@ -868,7 +870,7 @@ declare class GridComponent<T> {
868
870
  private sanitizer;
869
871
  resolveField: (item: T, { field, formatter, dataType, onLink }: GridColumn) => _angular_platform_browser.SafeHtml;
870
872
  checkLink: (e: Event, col: GridColumn, item: T, cell: HTMLTableCellElement) => void;
871
- isToolbarBtnDisabled: (disabled: boolean | (() => boolean)) => boolean;
873
+ isToolbarBtnDisabled: (disabled: boolean | BooleanFn) => boolean;
872
874
  static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent<any>, never>;
873
875
  static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent<any>, "dolfo-grid", never, { "config": { "alias": "config"; "required": true; }; }, {}, never, never, false, never>;
874
876
  }
@@ -884,4 +886,4 @@ declare const authInterceptor: (req: HttpRequest<unknown>, next: HttpHandlerFn)
884
886
  declare const errorInterceptor: (req: HttpRequest<unknown>, next: HttpHandlerFn) => rxjs.Observable<_angular_common_http.HttpEvent<unknown>>;
885
887
 
886
888
  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, StoreService, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, authInterceptor, errorInterceptor, isDeepEqual, passwordValidator, provideDolfoLanguages, samePasswordValidator };
887
- export type { AutocompleteConfig, ButtonColor, ButtonSize, CheckRoute, ComboInput, ComboOption, ContextMenuItem, DialogComponentInput, DialogFooterButton, DialogForm, DialogIcon, DialogOutput, DialogType, GridAction, GridColumn, GridToolbarButton, IContextMenu, IDialogInput, IGridConfig, ILanguage, ILanguageToken, INotificationInput, IPopover, IStore, ITooltip, IconName, InputType, NotificationAction, NotificationType, OnBlur, OnClick, OnFocus, TooltipDirection };
889
+ export type { AutocompleteConfig, BooleanFn, ButtonColor, ButtonSize, CheckRoute, ComboInput, ComboOption, ContextMenuItem, DialogComponentInput, DialogFooterButton, DialogForm, DialogIcon, DialogOutput, DialogType, GridAction, GridColumn, GridToolbarButton, IContextMenu, IDialogInput, IGridConfig, ILanguage, ILanguageToken, INotificationInput, IPopover, IStore, ITooltip, IconName, InputType, NotificationAction, NotificationType, OnBlur, OnClick, OnFocus, TooltipDirection };