@trudb/tru-common-lib 0.2.540 → 0.2.543

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.
@@ -19,19 +19,24 @@ export declare class TruDataGridClipboard {
19
19
  private copiedCellValue;
20
20
  private copiedCellEntity;
21
21
  private copiedCellParams;
22
+ private copiedCellText;
22
23
  private copiedRows;
24
+ private copiedRowsText;
23
25
  private gridElement;
24
26
  constructor(util: TruUtil, formatter: TruFormatter, uiNotification: TruUiNotification, modelPropertyLookup: TruModelPropertyLookup);
25
27
  private formatCellValue;
28
+ private normalizeClipboardText;
29
+ private readClipboardText;
30
+ private parseExternalCellValue;
26
31
  private removeBorderAnimation;
27
32
  private addCellBorderAnimation;
28
33
  private addRowBorderAnimation;
29
34
  setGridElement(el: HTMLElement): void;
30
35
  clearAnimations(): void;
31
36
  copyCell: (params: ICellRendererParams, tableName: string, columnName: string, copiedCellData: any, copiedCellEntity: Entity) => Promise<void>;
32
- pasteCell: (params: ICellRendererParams, pastedCellData: any, pastedCell: Entity) => void;
37
+ pasteCell: (params: ICellRendererParams, pastedCellData: any, pastedCell: Entity) => Promise<void>;
33
38
  copyRow: (tableName: string, columnDefs: Array<ColDef>, copiedRows: Array<any>, includeHeaders?: boolean) => Promise<void>;
34
- pasteRow: (gridApi: GridApi, config: ITruDataGridConfig, selectedRows: any) => void;
39
+ pasteRow: (gridApi: GridApi, config: ITruDataGridConfig, selectedRows: any) => Promise<void>;
35
40
  insertRowsAtTop: (dataContext: TruDataContext, config: ITruDataGridConfig, addEntity: (newEntity: any, dataNotification: boolean) => {}) => void;
36
41
  getCopiedRows: () => TruEntityBase[];
37
42
  getCopiedCell: () => Entity | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.2.540",
3
+ "version": "0.2.543",
4
4
  "type": "module",
5
5
  "module": "fesm2022/trudb-tru-common-lib.mjs",
6
6
  "typings": "index.d.ts",