@trudb/tru-common-lib 0.2.168 → 0.2.170
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.
|
@@ -5,9 +5,11 @@ import { TruUtil } from '../../../services/tru-util';
|
|
|
5
5
|
import { ITruDataGridConfig } from '../classes/tru-data-grid-config';
|
|
6
6
|
import { TruUiNotification } from '../../../services/tru-ui-notification';
|
|
7
7
|
import { Entity } from 'breeze-client';
|
|
8
|
+
import { TruFormatter } from '../../../services/tru-formatter';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class TruDataGridClipboard {
|
|
10
11
|
private util;
|
|
12
|
+
private formatter;
|
|
11
13
|
private uiNotification;
|
|
12
14
|
private tableName;
|
|
13
15
|
private columnName;
|
|
@@ -15,7 +17,7 @@ export declare class TruDataGridClipboard {
|
|
|
15
17
|
private copiedCellEntity;
|
|
16
18
|
private copiedCellParams;
|
|
17
19
|
private copiedRows;
|
|
18
|
-
constructor(util: TruUtil, uiNotification: TruUiNotification);
|
|
20
|
+
constructor(util: TruUtil, formatter: TruFormatter, uiNotification: TruUiNotification);
|
|
19
21
|
private formatCellValue;
|
|
20
22
|
copyCell: (params: ICellRendererParams, tableName: string, columnName: string, copiedCellData: any, copiedCellEntity: Entity) => Promise<void>;
|
|
21
23
|
pasteCell: (params: ICellRendererParams, pastedCellData: any, pastedCell: Entity) => void;
|