@nettyapps/ntybase 21.1.13 → 21.1.14

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.13",
3
+ "version": "21.1.14",
4
4
  "description": "This library provides foundational services and components for NettyApps Angular applications.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,7 +11,7 @@ import { ComponentType } from '@angular/cdk/portal';
11
11
  import { Title } from '@angular/platform-browser';
12
12
  import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
13
13
  import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent } from 'ag-grid-enterprise';
14
- import { Router, ActivatedRoute, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
14
+ import { ActivatedRoute, Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
15
15
  import { NgForm, FormGroup } from '@angular/forms';
16
16
  import * as XLSX from 'xlsx';
17
17
  import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
@@ -344,6 +344,7 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
344
344
  protected commonService: CommonService;
345
345
  protected sysFunctionProxy: SysfunctionProxy;
346
346
  protected environment: EnvironmentProxy;
347
+ protected routerActive: ActivatedRoute;
347
348
  menuValid: i0.WritableSignal<boolean>;
348
349
  refreshButtonValid: i0.WritableSignal<boolean>;
349
350
  protected authenticationList: Array<NettySecurity>;
@@ -354,8 +355,11 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
354
355
  allowDelete: i0.WritableSignal<boolean>;
355
356
  allowLog: i0.WritableSignal<boolean>;
356
357
  allowRead: i0.WritableSignal<boolean>;
358
+ protected queryParameterGUID: i0.Signal<any>;
359
+ protected queryParameterType: i0.Signal<any>;
357
360
  protected recordList: i0.WritableSignal<T[]>;
358
361
  protected record: T | null;
362
+ constructor();
359
363
  /**
360
364
  * Component initialization lifecycle hook Overide for custom initialization
361
365
  */
@@ -385,6 +389,13 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
385
389
  * @returns boolean
386
390
  */
387
391
  private getStoredFilterMode;
392
+ /**
393
+ * Validates if the given value is equal to null,undefined or ''
394
+ * @param value
395
+ * @returns true if has a valid value
396
+ */
397
+ protected hasValidValue(value: any): boolean;
398
+ protected parseOrReturnValue(value: string | null): any;
388
399
  agGridSelectionMode: i0.InputSignal<AgGridSelectionModeType>;
389
400
  protected _agGridSelectionMode: i0.Signal<"singleRow" | "multiRow">;
390
401
  theme: Theme;
@@ -422,7 +433,6 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
422
433
  toggleFilterMode(): void;
423
434
  setAgGridTranslations(): void;
424
435
  initAgGrid_extension(): void;
425
- onShowHideColumns(): void;
426
436
  isHidden(isEmbeddedHide: boolean, isVisibleHide: boolean): boolean;
427
437
  logInputs(message: string): void;
428
438
  logAuthentication(message: string): void;
@@ -436,17 +446,13 @@ interface NettyEntityInterface<T> extends NettyEntityBaseInterface<T> {
436
446
 
437
447
  declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> extends NettyAgGridBase<T> implements OnInit {
438
448
  protected router: Router;
439
- protected routerActive: ActivatedRoute;
440
449
  protected dialog: MatDialog;
441
- protected queryParameterGUID: i0.Signal<any>;
442
- protected queryParameterType: i0.Signal<any>;
443
450
  protected openInPopup: i0.WritableSignal<boolean>;
444
451
  protected nettyAppsProxy: NettyStandardProxy<T>;
445
452
  /**
446
453
  * Component initialization lifecycle hook
447
454
  */
448
455
  ngOnInit(): Promise<void>;
449
- private parseOrReturnValue;
450
456
  gotoURL(routePrefix: string[], rightSidenav: string[] | undefined, parameters: string, type?: string, dialogComponent?: any, isNewTab?: boolean, isPopup?: boolean): void;
451
457
  popupGotoURL(urlSegments: string[]): void;
452
458
  toggleOpenMode(): void;
@@ -459,12 +465,6 @@ declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> ex
459
465
  * - The update type doesn't match
460
466
  */
461
467
  constructor();
462
- /**
463
- * Validates if the given value is equal to null,undefined or ''
464
- * @param value
465
- * @returns true if has a valid value
466
- */
467
- protected hasValidValue(value: any): boolean;
468
468
  protected loadData(): void;
469
469
  refreshData(): Promise<void>;
470
470
  deleteSelected(): Promise<void>;