@nettyapps/ntybase 0.1.14 → 0.1.16
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/fesm2022/nettyapps-ntybase.mjs +108 -48
- package/fesm2022/nettyapps-ntybase.mjs.map +1 -1
- package/index.d.ts +17 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit,
|
|
2
|
+
import { OnInit, DoCheck, SimpleChanges, OnDestroy, AfterViewInit, InjectionToken, ElementRef } from '@angular/core';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { Theme as Theme$1, GridApi, GridOptions, StatusPanelDef, GridReadyEvent } from 'ag-grid-community';
|
|
@@ -266,13 +266,13 @@ declare class SysfunctionProxy {
|
|
|
266
266
|
|
|
267
267
|
declare abstract class NettyAgGridBase<T extends {
|
|
268
268
|
[key: string]: any;
|
|
269
|
-
}> implements OnInit
|
|
269
|
+
}> implements OnInit {
|
|
270
270
|
readOnly: _angular_core.InputSignal<boolean>;
|
|
271
271
|
popupFilterValid: _angular_core.InputSignal<boolean>;
|
|
272
272
|
popupValid: _angular_core.InputSignal<boolean>;
|
|
273
|
-
params: _angular_core.InputSignal<any>;
|
|
274
|
-
parameters: _angular_core.InputSignal<string>;
|
|
275
273
|
isEmbedded: _angular_core.InputSignal<boolean>;
|
|
274
|
+
componantParameterGUID: _angular_core.InputSignal<any>;
|
|
275
|
+
componantParameterType: _angular_core.InputSignal<string>;
|
|
276
276
|
protected authenticationList: Array<NettySecurity>;
|
|
277
277
|
protected accessRightsProcessed: _angular_core.WritableSignal<boolean>;
|
|
278
278
|
allowAdd: _angular_core.WritableSignal<boolean>;
|
|
@@ -310,6 +310,10 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
310
310
|
protected dialog: MatDialog;
|
|
311
311
|
protected sysFunctionProxy: SysfunctionProxy;
|
|
312
312
|
protected environment: EnvironmentProxy;
|
|
313
|
+
protected queryParameterGUID: _angular_core.Signal<any>;
|
|
314
|
+
protected queryParameterType: _angular_core.Signal<any>;
|
|
315
|
+
protected parameterGUID: any;
|
|
316
|
+
protected parameterType: any;
|
|
313
317
|
initAgGrid_extension(): void;
|
|
314
318
|
gridOptions: GridOptions<T>;
|
|
315
319
|
statusBar: {
|
|
@@ -319,10 +323,10 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
319
323
|
* Component initialization lifecycle hook
|
|
320
324
|
*/
|
|
321
325
|
ngOnInit(): Promise<void>;
|
|
326
|
+
private parseOrReturnValue;
|
|
322
327
|
/**
|
|
323
328
|
* Handle input changes for route parameters
|
|
324
329
|
*/
|
|
325
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
326
330
|
protected onGridReady(params: GridReadyEvent): void;
|
|
327
331
|
onFirstDataRendered(params: any): void;
|
|
328
332
|
saveGrid(params: any): void;
|
|
@@ -343,6 +347,12 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
343
347
|
* - The update type doesn't match
|
|
344
348
|
*/
|
|
345
349
|
constructor();
|
|
350
|
+
/**
|
|
351
|
+
* Validates if the given value is equal to null,undefined or ''
|
|
352
|
+
* @param value
|
|
353
|
+
* @returns true if has a valid value
|
|
354
|
+
*/
|
|
355
|
+
protected hasValidValue(value: any): boolean;
|
|
346
356
|
private setAgGridTranslations;
|
|
347
357
|
/**
|
|
348
358
|
* Update a single row in the grid
|
|
@@ -360,8 +370,9 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
360
370
|
protected deleteRows?(rows: T[]): void;
|
|
361
371
|
protected getEntityType?(): string;
|
|
362
372
|
protected selectedData?(): void;
|
|
373
|
+
protected setFilter(): void;
|
|
363
374
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NettyAgGridBase<any>, never>;
|
|
364
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyAgGridBase<any>, "ntybase-ag-grid-base", never, { "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "popupFilterValid": { "alias": "popupFilterValid"; "required": false; "isSignal": true; }; "popupValid": { "alias": "popupValid"; "required": false; "isSignal": true; }; "
|
|
375
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyAgGridBase<any>, "ntybase-ag-grid-base", never, { "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "popupFilterValid": { "alias": "popupFilterValid"; "required": false; "isSignal": true; }; "popupValid": { "alias": "popupValid"; "required": false; "isSignal": true; }; "isEmbedded": { "alias": "isEmbedded"; "required": false; "isSignal": true; }; "componantParameterGUID": { "alias": "componantParameterGUID"; "required": false; "isSignal": true; }; "componantParameterType": { "alias": "componantParameterType"; "required": false; "isSignal": true; }; }, { "selectedElement": "selectedElement"; }, never, never, true, never>;
|
|
365
376
|
}
|
|
366
377
|
|
|
367
378
|
type UserViewMode = 'fullscreen' | 'sidenav' | 'dialog';
|