From bc7f9d25ac4c0f6a67c35c346cc448ad401d6b9d Mon Sep 17 00:00:00 2001 From: tlartem Date: Wed, 6 Aug 2025 22:20:44 +0300 Subject: [PATCH] =?UTF-8?q?150=20=D0=BA=D0=BB=D0=B5=D1=82=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/DualSpreadsheet/types.ts | 2 +- src/feature/excelEngine/excelEngine.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/component/DualSpreadsheet/types.ts b/src/component/DualSpreadsheet/types.ts index c881775..57b6146 100644 --- a/src/component/DualSpreadsheet/types.ts +++ b/src/component/DualSpreadsheet/types.ts @@ -2,7 +2,7 @@ import { MergedCell } from '@/type/template' import { CSSProperties } from 'react' import { VariableSizeGrid } from 'react-window' -export const ROW_COUNT = 120 +export const ROW_COUNT = 150 export const COL_COUNT = 26 export const ROW_HEIGHT = 28 diff --git a/src/feature/excelEngine/excelEngine.ts b/src/feature/excelEngine/excelEngine.ts index 68a7080..73255cd 100644 --- a/src/feature/excelEngine/excelEngine.ts +++ b/src/feature/excelEngine/excelEngine.ts @@ -5,11 +5,11 @@ import { } from './functions' // Ограничиваем поиск ячеек диапазоном A1-Z120 -const QUALIFIED_REF_RE = /\b[A-Za-z0-9_]+![A-Z]([1-9]|[1-8][0-9]|120)\b/g -const LOCAL_REF_RE = /\b[A-Z]([1-9]|[1-8][0-9]|120)\b/g -const RANGE_RE = /\b[A-Z]([1-9]|[1-8][0-9]|120):[A-Z]([1-9]|[1-8][0-9]|120)\b/g +const QUALIFIED_REF_RE = /\b[A-Za-z0-9_]+![A-Z]([1-9]|[1-8][0-9]|150)\b/g +const LOCAL_REF_RE = /\b[A-Z]([1-9]|[1-8][0-9]|150)\b/g +const RANGE_RE = /\b[A-Z]([1-9]|[1-8][0-9]|150):[A-Z]([1-9]|[1-8][0-9]|150)\b/g const QUALIFIED_RANGE_RE = - /\b[A-Za-z0-9_]+![A-Z]([1-9]|[1-8][0-9]|120):[A-Z]([1-9]|[1-8][0-9]|120)\b/g + /\b[A-Za-z0-9_]+![A-Z]([1-9]|[1-8][0-9]|150):[A-Z]([1-9]|[1-8][0-9]|150)\b/g // Типы для значений ячеек export type CellValue = string | number | boolean | null | undefined