@nettyapps/ntybase 21.1.13 → 21.1.15
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
|
@@ -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 {
|
|
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;
|
|
@@ -436,17 +447,13 @@ interface NettyEntityInterface<T> extends NettyEntityBaseInterface<T> {
|
|
|
436
447
|
|
|
437
448
|
declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> extends NettyAgGridBase<T> implements OnInit {
|
|
438
449
|
protected router: Router;
|
|
439
|
-
protected routerActive: ActivatedRoute;
|
|
440
450
|
protected dialog: MatDialog;
|
|
441
|
-
protected queryParameterGUID: i0.Signal<any>;
|
|
442
|
-
protected queryParameterType: i0.Signal<any>;
|
|
443
451
|
protected openInPopup: i0.WritableSignal<boolean>;
|
|
444
452
|
protected nettyAppsProxy: NettyStandardProxy<T>;
|
|
445
453
|
/**
|
|
446
454
|
* Component initialization lifecycle hook
|
|
447
455
|
*/
|
|
448
456
|
ngOnInit(): Promise<void>;
|
|
449
|
-
private parseOrReturnValue;
|
|
450
457
|
gotoURL(routePrefix: string[], rightSidenav: string[] | undefined, parameters: string, type?: string, dialogComponent?: any, isNewTab?: boolean, isPopup?: boolean): void;
|
|
451
458
|
popupGotoURL(urlSegments: string[]): void;
|
|
452
459
|
toggleOpenMode(): void;
|
|
@@ -459,12 +466,6 @@ declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> ex
|
|
|
459
466
|
* - The update type doesn't match
|
|
460
467
|
*/
|
|
461
468
|
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
469
|
protected loadData(): void;
|
|
469
470
|
refreshData(): Promise<void>;
|
|
470
471
|
deleteSelected(): Promise<void>;
|