@nettyapps/ntybase 21.0.35-beta.2 → 21.0.35-beta.4
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
|
@@ -74,15 +74,6 @@ declare abstract class NettyAppsBase implements OnDestroy {
|
|
|
74
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAppsBase, "ntybase-netty-apps-base", never, {}, {}, never, never, true, never>;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
interface NettyEntityInterface<T> {
|
|
78
|
-
getPK(): any;
|
|
79
|
-
setPK(pk: any): void;
|
|
80
|
-
compare(other: T): T;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
interface NettyEntityLogInterface<T> extends NettyEntityInterface<T> {
|
|
84
|
-
}
|
|
85
|
-
|
|
86
77
|
declare class CurrentUserPreference {
|
|
87
78
|
coid: any | null;
|
|
88
79
|
nettyUserPreferenceGUID: any | null;
|
|
@@ -310,13 +301,22 @@ declare class SysfunctionProxy {
|
|
|
310
301
|
|
|
311
302
|
type AgGridSelectionModeType = 'singleRow' | 'multiRow';
|
|
312
303
|
|
|
313
|
-
|
|
304
|
+
interface NettyEntityBaseInterface<T> {
|
|
305
|
+
getPK(): any;
|
|
306
|
+
setPK(pk: any): void;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> extends NettyAppsBase {
|
|
314
310
|
protected FILTER_MODE_KEY: string;
|
|
315
311
|
protected myTheme: Theme<ag_grid_community.ThemeDefaultParams>;
|
|
316
312
|
readOnly: i0.WritableSignal<boolean>;
|
|
317
313
|
popupFilterValid: i0.InputSignal<boolean>;
|
|
318
314
|
popupValid: i0.InputSignal<boolean>;
|
|
319
315
|
isEmbedded: i0.InputSignal<boolean>;
|
|
316
|
+
componantParameterGUID: i0.InputSignal<any>;
|
|
317
|
+
componantParameterType: i0.InputSignal<string>;
|
|
318
|
+
onElementSelect: i0.OutputEmitterRef<T[]>;
|
|
319
|
+
selectedElement: i0.OutputEmitterRef<any>;
|
|
320
320
|
protected componentName: i0.WritableSignal<string>;
|
|
321
321
|
protected searchValueName: i0.WritableSignal<string>;
|
|
322
322
|
protected preferenceType: i0.WritableSignal<string>;
|
|
@@ -339,8 +339,14 @@ declare abstract class NettyAgGridBase<T extends NettyEntityLogInterface<T>> ext
|
|
|
339
339
|
/**
|
|
340
340
|
* Component initialization lifecycle hook Overide for custom initialization
|
|
341
341
|
*/
|
|
342
|
-
AfterOnInit(): Promise<void>;
|
|
343
342
|
protected abstract loadData(): void;
|
|
343
|
+
protected abstract initAgGrid(): void;
|
|
344
|
+
AfterOnInit(): Promise<void>;
|
|
345
|
+
protected onBtnClick?(e: T): void;
|
|
346
|
+
protected getEntityType?(): string;
|
|
347
|
+
protected selectedData?(): void;
|
|
348
|
+
protected setFilter(): void;
|
|
349
|
+
protected popupClose(): void;
|
|
344
350
|
/** Set data into the grid */
|
|
345
351
|
setData(data: T[]): void;
|
|
346
352
|
setAccessRights(): Promise<boolean>;
|
|
@@ -349,8 +355,6 @@ declare abstract class NettyAgGridBase<T extends NettyEntityLogInterface<T>> ext
|
|
|
349
355
|
* @returns boolean
|
|
350
356
|
*/
|
|
351
357
|
private getStoredFilterMode;
|
|
352
|
-
protected onBtnClick?(e: T): void;
|
|
353
|
-
protected abstract initAgGrid(): void;
|
|
354
358
|
agGridSelectionMode: i0.InputSignal<AgGridSelectionModeType>;
|
|
355
359
|
theme: Theme;
|
|
356
360
|
protected gridApi: GridApi;
|
|
@@ -393,14 +397,14 @@ declare abstract class NettyAgGridBase<T extends NettyEntityLogInterface<T>> ext
|
|
|
393
397
|
showHideEmbeddedColumnsAsync(): void;
|
|
394
398
|
showHideEmbeddedColumns(): void;
|
|
395
399
|
static ɵfac: i0.ɵɵFactoryDeclaration<NettyAgGridBase<any>, never>;
|
|
396
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAgGridBase<any>, "ntybase-ag-grid-base", never, { "popupFilterValid": { "alias": "popupFilterValid"; "required": false; "isSignal": true; }; "popupValid": { "alias": "popupValid"; "required": false; "isSignal": true; }; "isEmbedded": { "alias": "isEmbedded"; "required": false; "isSignal": true; }; "agGridSelectionMode": { "alias": "agGridSelectionMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
400
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAgGridBase<any>, "ntybase-ag-grid-base", never, { "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; }; "agGridSelectionMode": { "alias": "agGridSelectionMode"; "required": false; "isSignal": true; }; }, { "onElementSelect": "onElementSelect"; "selectedElement": "selectedElement"; }, never, never, true, never>;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
interface NettyEntityInterface<T> extends NettyEntityBaseInterface<T> {
|
|
404
|
+
compare(other: T): T;
|
|
397
405
|
}
|
|
398
406
|
|
|
399
407
|
declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> extends NettyAgGridBase<T> implements OnInit {
|
|
400
|
-
componantParameterGUID: i0.InputSignal<any>;
|
|
401
|
-
componantParameterType: i0.InputSignal<string>;
|
|
402
|
-
onElementSelect: i0.OutputEmitterRef<T[]>;
|
|
403
|
-
selectedElement: i0.OutputEmitterRef<any>;
|
|
404
408
|
hasFilter: i0.InputSignal<boolean>;
|
|
405
409
|
protected isFilterValid: i0.WritableSignal<boolean>;
|
|
406
410
|
protected isFilterExpanded: i0.Signal<boolean>;
|
|
@@ -442,16 +446,20 @@ declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> ex
|
|
|
442
446
|
*/
|
|
443
447
|
protected hasValidValue(value: any): boolean;
|
|
444
448
|
protected onFilterTextBoxVisibilityChange(isOpen: boolean): void;
|
|
445
|
-
protected getEntityType?(): string;
|
|
446
|
-
protected selectedData?(): void;
|
|
447
|
-
protected setFilter(): void;
|
|
448
|
-
protected popupClose(): void;
|
|
449
449
|
protected loadData(): void;
|
|
450
450
|
deleteSelected(): Promise<void>;
|
|
451
451
|
refreshData(): Promise<void>;
|
|
452
452
|
protected deleteRows(rows: T[]): void;
|
|
453
453
|
static ɵfac: i0.ɵɵFactoryDeclaration<NettyAgGridListBase<any>, never>;
|
|
454
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAgGridListBase<any>, "ntybase-ag-grid-list-base", never, { "
|
|
454
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAgGridListBase<any>, "ntybase-ag-grid-list-base", never, { "hasFilter": { "alias": "hasFilter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
interface NettyEntityLogInterface<T> extends NettyEntityBaseInterface<T> {
|
|
458
|
+
logGuid: any | null;
|
|
459
|
+
changingDate: Date | null;
|
|
460
|
+
changingUser: any | null;
|
|
461
|
+
ip: string | null;
|
|
462
|
+
chagingUserName: string | null;
|
|
455
463
|
}
|
|
456
464
|
|
|
457
465
|
declare abstract class NettyAgGridLogBase<T extends NettyEntityLogInterface<T>> extends NettyAgGridBase<T> implements OnInit {
|