From cab40c8da1b1fffd7a5363be913a0c396f934bd6 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 30 Dec 2024 22:21:23 +0100 Subject: [PATCH] Update clipboard values to any --- .../frontend-core/src/components/grid/stores/clipboard.ts | 4 ++-- packages/frontend-core/src/components/grid/stores/ui.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/frontend-core/src/components/grid/stores/clipboard.ts b/packages/frontend-core/src/components/grid/stores/clipboard.ts index 57688e18a3..3489e5c847 100644 --- a/packages/frontend-core/src/components/grid/stores/clipboard.ts +++ b/packages/frontend-core/src/components/grid/stores/clipboard.ts @@ -6,11 +6,11 @@ import { Store as StoreContext } from "." type ClipboardStoreData = | { - value: string[][] + value: any[][] multiCellCopy: true } | { - value: string | null | undefined + value: any | null | undefined multiCellCopy: false } diff --git a/packages/frontend-core/src/components/grid/stores/ui.ts b/packages/frontend-core/src/components/grid/stores/ui.ts index 8988137e0b..7d6c6dcac9 100644 --- a/packages/frontend-core/src/components/grid/stores/ui.ts +++ b/packages/frontend-core/src/components/grid/stores/ui.ts @@ -13,8 +13,8 @@ export interface UIStore { focusedCellId: Writable focusedCellAPI: Writable<{ isReadonly: () => boolean - getValue: () => string - setValue: (val: string | null) => void + getValue: () => any + setValue: (val: any) => void } | null> selectedRows: Writable> hoveredRowId: Writable