@nettyapps/ntybase 21.1.7 → 21.1.10

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.1.7",
3
+ "version": "21.1.10",
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, InjectionToken, Signal } from '@angular/core';
2
+ import { OnDestroy, OnInit, DoCheck, InjectionToken, Signal, WritableSignal } from '@angular/core';
3
3
  import * as ag_grid_community from 'ag-grid-community';
4
4
  import { IFilterParams, IDoesFilterPassParams } from 'ag-grid-community';
5
5
  import { EnvironmentProxy, NettyStandardProxy, NettyStandardLogProxy, NettyStandardFilterProxy } from '@nettyapps/ntycontract';
@@ -362,8 +362,12 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
362
362
  * Handle back button click
363
363
  */
364
364
  backClicked(): void;
365
- /** Set data into the grid */
366
- setData(data: T[], initialize?: boolean): void;
365
+ /**
366
+ * Set data into the grid
367
+ * @param data Array of records to set
368
+ * @param hideWarning hide the warning message if no records found
369
+ */
370
+ setData(data: T[], hideWarning?: boolean): void;
367
371
  setAccessRights(forLog?: boolean): Promise<boolean>;
368
372
  /**
369
373
  * Get stored filter mode from local storage
@@ -408,10 +412,7 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
408
412
  setAgGridTranslations(): void;
409
413
  initAgGrid_extension(): void;
410
414
  onShowHideColumns(): void;
411
- showHideColumnsAsync(): void;
412
- showHideColumns(): void;
413
- showHideEmbeddedColumnsAsync(): void;
414
- showHideEmbeddedColumns(): void;
415
+ isHidden(isEmbeddedHide: boolean, isVisibleHide: boolean): boolean;
415
416
  logInputs(message: string): void;
416
417
  logAuthentication(message: string): void;
417
418
  static ɵfac: i0.ɵɵFactoryDeclaration<NettyAgGridBase<any>, never>;
@@ -1049,6 +1050,15 @@ declare class NtyLoadingComponent {
1049
1050
  static ɵcmp: i0.ɵɵComponentDeclaration<NtyLoadingComponent, "app-nty-loading", never, {}, {}, never, never, true, never>;
1050
1051
  }
1051
1052
 
1053
+ declare class NtyLoadingService {
1054
+ private requestCount;
1055
+ isLoading: WritableSignal<boolean>;
1056
+ show(): void;
1057
+ hide(): void;
1058
+ static ɵfac: i0.ɵɵFactoryDeclaration<NtyLoadingService, never>;
1059
+ static ɵprov: i0.ɵɵInjectableDeclaration<NtyLoadingService>;
1060
+ }
1061
+
1052
1062
  declare class NettyMenuService {
1053
1063
  private http;
1054
1064
  private environmentProxy;
@@ -1082,5 +1092,5 @@ declare abstract class NettyAppsFilterBase<Trecord, Tfilter> extends NettyAppsBa
1082
1092
  static ɵcmp: i0.ɵɵComponentDeclaration<NettyAppsFilterBase<any, any>, "ntybase-netty-apps-base", never, { "isFilterExpanded": { "alias": "isFilterExpanded"; "required": false; "isSignal": true; }; "refresh": { "alias": "refresh"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; }, { "isFilterExpanded": "isFilterExpandedChange"; "filteredRecords": "filteredRecords"; "filterSelectionChanged": "filterSelectionChanged"; }, never, never, true, never>;
1083
1093
  }
1084
1094
 
1085
- export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridListBase, NettyAgGridListFilterBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyAppsFilterBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, Ntybase, NtybaseModule, PageTitle, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
1095
+ export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridListBase, NettyAgGridListFilterBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyAppsFilterBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, NtyLoadingService, Ntybase, NtybaseModule, PageTitle, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
1086
1096
  export type { AgGridSelectionModeType, CanComponentDeactivate, Credentials, EnvironmentConfig, LoginContext, MFACodeContext, NettyEntityInterface, NettyEntityLogInterface, UserViewMode };