@nettyapps/ntybase 21.0.35-beta.1 → 21.0.35-beta.2

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.35-beta.1",
3
+ "version": "21.0.35-beta.2",
4
4
  "description": "This library provides foundational services and components for NettyApps Angular applications.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnDestroy, OnInit, DoCheck, InjectionToken, Signal } from '@angular/core';
3
- import { Router, ActivatedRoute, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
4
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
5
- import { EnvironmentProxy, NettyStandardProxy, NettyStandardLogProxy } from '@nettyapps/ntycontract';
6
3
  import * as ag_grid_community from 'ag-grid-community';
7
4
  import { IFilterParams, IDoesFilterPassParams } from 'ag-grid-community';
5
+ import { EnvironmentProxy, NettyStandardProxy, NettyStandardLogProxy } from '@nettyapps/ntycontract';
8
6
  import { Subject, Observable } from 'rxjs';
9
7
  import { MatSnackBar } from '@angular/material/snack-bar';
8
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
10
9
  import { TranslateService } from '@ngx-translate/core';
11
10
  import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
12
11
  import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent } from 'ag-grid-enterprise';
12
+ import { Router, ActivatedRoute, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
13
13
  import { NgForm, FormGroup } from '@angular/forms';
14
14
  import * as XLSX from 'xlsx';
15
15
  import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
@@ -466,7 +466,7 @@ declare abstract class NettyAgGridLogBase<T extends NettyEntityLogInterface<T>>
466
466
  }
467
467
 
468
468
  type UserViewMode = 'fullscreen' | 'sidenav' | 'dialog';
469
- declare abstract class NettyAgGridSaveBase<T extends NettyEntityInterface<T>> extends NettyAppsBase implements DoCheck {
469
+ declare abstract class NettyAgGridSaveBase<T extends NettyEntityInterface<T>> extends NettyAppsBase implements OnInit, DoCheck {
470
470
  protected router: Router;
471
471
  protected route: ActivatedRoute;
472
472
  protected commonService: CommonService;
@@ -485,6 +485,7 @@ declare abstract class NettyAgGridSaveBase<T extends NettyEntityInterface<T>> ex
485
485
  protected dialogRef: MatDialogRef<any, any> | null;
486
486
  protected dialogData: any;
487
487
  constructor();
488
+ ngOnInit(): Promise<void>;
488
489
  updateValid: i0.WritableSignal<boolean>;
489
490
  setUpdateValid(value: boolean): void;
490
491
  /**
@@ -523,7 +524,7 @@ declare abstract class NettyAgGridSaveBase<T extends NettyEntityInterface<T>> ex
523
524
  */
524
525
  backClicked(): Promise<void>;
525
526
  protected validateSaveRecord(recordGUID: any): boolean;
526
- abstract createNewRecord(): T;
527
+ protected abstract createNewRecord(): T;
527
528
  /**
528
529
  * Save data to API
529
530
  * Handles both create and update operations based on record existence
@@ -1016,5 +1017,5 @@ declare class NettyMenuService {
1016
1017
  static ɵprov: i0.ɵɵInjectableDeclaration<NettyMenuService>;
1017
1018
  }
1018
1019
 
1019
- export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridListBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
1020
+ export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridListBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
1020
1021
  export type { AgGridSelectionModeType, CanComponentDeactivate, Credentials, EnvironmentConfig, LoginContext, MFACodeContext, NettyEntityInterface, NettyEntityLogInterface, UserViewMode };