число столбцов до 120
This commit is contained in:
@@ -2,7 +2,7 @@ import { MergedCell } from '@/type/template'
|
|||||||
import { CSSProperties } from 'react'
|
import { CSSProperties } from 'react'
|
||||||
import { VariableSizeGrid } from 'react-window'
|
import { VariableSizeGrid } from 'react-window'
|
||||||
|
|
||||||
export const ROW_COUNT = 90
|
export const ROW_COUNT = 120
|
||||||
export const COL_COUNT = 26
|
export const COL_COUNT = 26
|
||||||
export const ROW_HEIGHT = 28
|
export const ROW_HEIGHT = 28
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ import {
|
|||||||
VOLATILE_FUNCTIONS,
|
VOLATILE_FUNCTIONS,
|
||||||
} from './functions'
|
} from './functions'
|
||||||
|
|
||||||
// Ограничиваем поиск ячеек диапазоном A1-Z90
|
// Ограничиваем поиск ячеек диапазоном A1-Z120
|
||||||
const QUALIFIED_REF_RE = /\b[A-Za-z0-9_]+\b/g
|
const QUALIFIED_REF_RE = /\b[A-Za-z0-9_]+\b/g
|
||||||
const LOCAL_REF_RE = /\b[A-Z]([1-9]|[1-8][0-9]|90)\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]|90):[A-Z]([1-9]|[1-8][0-9]|90)\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 =
|
const QUALIFIED_RANGE_RE =
|
||||||
/\b[A-Za-z0-9_]+:[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)\b/g
|
||||||
|
|
||||||
// Типы для значений ячеек
|
// Типы для значений ячеек
|
||||||
export type CellValue = string | number | boolean | null | undefined
|
export type CellValue = string | number | boolean | null | undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user