@trudb/tru-common-lib 0.2.154 → 0.2.157
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.
|
@@ -10,15 +10,17 @@ export declare class TruDataGridCellRenderer {
|
|
|
10
10
|
private eGui;
|
|
11
11
|
private validationContainer;
|
|
12
12
|
private windowClickSubscription;
|
|
13
|
+
private menuSubscription;
|
|
13
14
|
params: ICellRendererParams;
|
|
14
15
|
contextMenuPosition: {
|
|
15
|
-
x:
|
|
16
|
-
y:
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
17
18
|
};
|
|
18
19
|
displayValue: string;
|
|
19
20
|
copyIsDisabled: boolean;
|
|
20
21
|
pasteIsDisabled: boolean;
|
|
21
22
|
constructor(dataContext: TruDataContext, dataGridClipboard: TruDataGridClipboard);
|
|
23
|
+
private delay;
|
|
22
24
|
onMouseOver: (e: any) => void;
|
|
23
25
|
onRightClick: (event: MouseEvent) => void;
|
|
24
26
|
onCopy: (event: MouseEvent) => void;
|
|
@@ -13,9 +13,10 @@ export declare class TruDataGridClipboard {
|
|
|
13
13
|
private columnName;
|
|
14
14
|
private copiedCellData;
|
|
15
15
|
private copiedCellEntity;
|
|
16
|
+
private copiedCellParams;
|
|
16
17
|
private copiedRows;
|
|
17
18
|
constructor(util: TruUtil, uiNotification: TruUiNotification);
|
|
18
|
-
copyCell: (tableName: string, columnName: string, copiedCellData: any, copiedCellEntity: Entity) => void;
|
|
19
|
+
copyCell: (params: ICellRendererParams, tableName: string, columnName: string, copiedCellData: any, copiedCellEntity: Entity) => void;
|
|
19
20
|
pasteCell: (params: ICellRendererParams, pastedCellData: any, pastedCell: Entity) => void;
|
|
20
21
|
copyRow: (tableName: string, copiedRows: Array<TruEntityBase>) => void;
|
|
21
22
|
pasteRow: (gridApi: GridApi, config: ITruDataGridConfig, selectedRows: any) => void;
|