число столбцов до 120

This commit is contained in:
2025-07-31 11:20:04 +03:00
parent d692689961
commit 5d1cbffc24
2 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ import { MergedCell } from '@/type/template'
import { CSSProperties } from 'react'
import { VariableSizeGrid } from 'react-window'
export const ROW_COUNT = 90
export const ROW_COUNT = 120
export const COL_COUNT = 26
export const ROW_HEIGHT = 28

View File

@@ -4,12 +4,12 @@ import {
VOLATILE_FUNCTIONS,
} from './functions'
// Ограничиваем поиск ячеек диапазоном A1-Z90
const QUALIFIED_REF_RE = /\b[A-Za-z0-9_]+![A-Z]([1-9]|[1-8][0-9]|90)\b/g
const LOCAL_REF_RE = /\b[A-Z]([1-9]|[1-8][0-9]|90)\b/g
const RANGE_RE = /\b[A-Z]([1-9]|[1-8][0-9]|90):[A-Z]([1-9]|[1-8][0-9]|90)\b/g
// Ограничиваем поиск ячеек диапазоном 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_RANGE_RE =
/\b[A-Za-z0-9_]+![A-Z]([1-9]|[1-8][0-9]|90):[A-Z]([1-9]|[1-8][0-9]|90)\b/g
/\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
// Типы для значений ячеек
export type CellValue = string | number | boolean | null | undefined