@trudb/tru-common-lib 0.0.955 → 0.0.956
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, OnChanges, AfterViewInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { OnInit, OnChanges, AfterViewInit, SimpleChanges, TemplateRef, ApplicationRef } from '@angular/core';
|
|
2
2
|
import { TruAppEnvironment } from '../../services/tru-app-environment';
|
|
3
3
|
import { TruSearchViewEventHandler } from '../../base-views/search/services/tru-search-view-event-handler';
|
|
4
4
|
import { TruDataContext } from '../../services/tru-data-context';
|
|
@@ -17,6 +17,7 @@ export declare class TruDataGrid implements OnInit, OnChanges, AfterViewInit {
|
|
|
17
17
|
private searchViewEventHandler;
|
|
18
18
|
private uiNotification;
|
|
19
19
|
private connectionHub;
|
|
20
|
+
private app;
|
|
20
21
|
config: ITruDataGridConfig;
|
|
21
22
|
entity: any;
|
|
22
23
|
name: any;
|
|
@@ -36,7 +37,7 @@ export declare class TruDataGrid implements OnInit, OnChanges, AfterViewInit {
|
|
|
36
37
|
parentToolbarTemplate: TemplateRef<any> | null;
|
|
37
38
|
private api;
|
|
38
39
|
private subs;
|
|
39
|
-
constructor(dataContext: TruDataContext, searchResultViewManager: TruSearchResultViewManager, appEnvironment: TruAppEnvironment, searchViewEventHandler: TruSearchViewEventHandler, uiNotification: TruUiNotification, connectionHub: TruConnectionHub);
|
|
40
|
+
constructor(dataContext: TruDataContext, searchResultViewManager: TruSearchResultViewManager, appEnvironment: TruAppEnvironment, searchViewEventHandler: TruSearchViewEventHandler, uiNotification: TruUiNotification, connectionHub: TruConnectionHub, app: ApplicationRef);
|
|
40
41
|
private enhanceRowDataForEntity;
|
|
41
42
|
private setNoRowsTemplate;
|
|
42
43
|
private subscribeTo;
|
|
@@ -53,6 +54,7 @@ export declare class TruDataGrid implements OnInit, OnChanges, AfterViewInit {
|
|
|
53
54
|
onCellDoubleClicked: (gridConfig: any) => void;
|
|
54
55
|
onCellKeyDown: (event: any) => void;
|
|
55
56
|
onCellFocused(event: any): void;
|
|
57
|
+
private addValidationDialog;
|
|
56
58
|
onCellMouseOver(e: any): void;
|
|
57
59
|
onSearch: (setupQuery: any) => void;
|
|
58
60
|
onUnassociatedChoiceChanged: (option: ITruToolbarDropdownOption | null) => void;
|