@nettyapps/ntybase 21.0.27 → 21.0.29

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": "@nettyapps/ntybase",
3
- "version": "21.0.27",
3
+ "version": "21.0.29",
4
4
  "description": "This library provides foundational services and components for NettyApps Angular applications.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnDestroy, OnInit, DoCheck, SimpleChanges, InjectionToken, EnvironmentProviders } from '@angular/core';
2
+ import { OnDestroy, OnInit, DoCheck, SimpleChanges, InjectionToken, EnvironmentProviders, Signal } from '@angular/core';
3
3
  import { Observable, Subject } from 'rxjs';
4
4
  import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent, IFilterParams, IDoesFilterPassParams } from 'ag-grid-community';
5
5
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
@@ -256,7 +256,7 @@ declare class AlertService {
256
256
  showWarning(message: string, action?: string, duration?: number): void;
257
257
  showConfirm(message: string): Promise<boolean>;
258
258
  showSuccess(message: string, duration?: number): void;
259
- showError(error: any, duration?: number): void;
259
+ showError(error: any, duration?: number): Promise<void>;
260
260
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
261
261
  static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
262
262
  }
@@ -614,9 +614,8 @@ declare class RangeStringFilter implements IFilterAngularComp {
614
614
  }
615
615
 
616
616
  declare class ConfirmDialog {
617
- dialogRef: MatDialogRef<ConfirmDialog>;
617
+ dialogRef: MatDialogRef<any, any>;
618
618
  data: any;
619
- constructor(dialogRef: MatDialogRef<ConfirmDialog>, data: any);
620
619
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialog, never>;
621
620
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialog, "ntybase-confirm-dialog", never, {}, {}, never, never, true, never>;
622
621
  }
@@ -965,6 +964,13 @@ declare function provideNtyEnvironment(): EnvironmentProviders;
965
964
 
966
965
  declare const NtyLoadingInterceptor: HttpInterceptorFn;
967
966
 
967
+ declare class NtyLoadingComponent {
968
+ private loadingService;
969
+ isLoading: Signal<boolean>;
970
+ static ɵfac: i0.ɵɵFactoryDeclaration<NtyLoadingComponent, never>;
971
+ static ɵcmp: i0.ɵɵComponentDeclaration<NtyLoadingComponent, "app-nty-loading", never, {}, {}, never, never, true, never>;
972
+ }
973
+
968
974
  declare class NettyMenuService {
969
975
  private http;
970
976
  private environmentProxy;
@@ -977,5 +983,5 @@ declare class NettyMenuService {
977
983
  static ɵprov: i0.ɵɵInjectableDeclaration<NettyMenuService>;
978
984
  }
979
985
 
980
- export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NETTY_APP_ENVIRONMENT, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyEnvironmentService, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor, ntyEnvironmentConfigFactory, ntyInitializeEnvironment, provideNtyEnvironment };
986
+ export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NETTY_APP_ENVIRONMENT, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyEnvironmentService, NtyLoadingComponent, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor, ntyEnvironmentConfigFactory, ntyInitializeEnvironment, provideNtyEnvironment };
981
987
  export type { CanComponentDeactivate, Credentials, EnvironmentConfig, IEnvironmentLoader, LoginContext, MFACodeContext, UserViewMode };