@birchui/spreadsheet
Spreadsheet: createSpreadsheet, the workbook JSON model, the headless formula engine and xlsx conversion.
Key exports: createSpreadsheet, SpreadsheetOptions, createFormulaEngine, WorkbookJSON, listFunctions, xlsxToJSON, jsonToXlsx
Guides: Accessibility, Spreadsheet API, Formula auditing, Charts, Collaboration, Data tools
@birchui/spreadsheet#
canvasImageRasterizerfunction#
function canvasImageRasterizer(...args: Args<typeof XlsxEntry.canvasImageRasterizer>): ReturnType<typeof XlsxEntry.canvasImageRasterizer>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof XlsxEntry.canvasImageRasterizer> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:45
columnNamefunction#
function columnName(col: number): string| Parameter | Type | Description |
|---|---|---|
col | number | — |
Defined in packages/spreadsheet/src/engine/address.ts:16
connectCollaborationfunction#
function connectCollaboration(target: CollaborationTarget, provider: CollaborationProvider, options: CollaborationOptions): CollaborationSession| Parameter | Type | Description |
|---|---|---|
target | CollaborationTarget | — |
provider | CollaborationProvider | — |
options | CollaborationOptions | — |
Defined in packages/spreadsheet/src/collab/session.ts:89
createCollaborationAuthorityfunction#
function createCollaborationAuthority(options: CollaborationAuthorityOptions = {}): CollaborationAuthority| Parameter | Type | Description |
|---|---|---|
optionsoptional | CollaborationAuthorityOptions | — |
Defined in packages/spreadsheet/src/collab/authority.ts:27
createFormulaEnginefunction#
function createFormulaEngine(options: FormulaEngineOptions = {}): FormulaEngine| Parameter | Type | Description |
|---|---|---|
optionsoptional | FormulaEngineOptions | — |
Defined in packages/spreadsheet/src/engine/engine.ts:224
createLoopbackProviderfunction#
function createLoopbackProvider(options: LoopbackProviderOptions = {}): LoopbackProvider| Parameter | Type | Description |
|---|---|---|
optionsoptional | LoopbackProviderOptions | — |
Defined in packages/spreadsheet/src/collab/provider.ts:80
createSpreadsheetfunction#
function createSpreadsheet(container: HTMLElement, options: SpreadsheetOptions = {}): SpreadsheetApi| Parameter | Type | Description |
|---|---|---|
container | HTMLElement | — |
optionsoptional | SpreadsheetOptions | — |
Defined in packages/spreadsheet/src/view/spreadsheet.ts:80
createWorkerEnginefunction#
function createWorkerEngine(init: WorkerEngineInit = {}): WorkerEngine| Parameter | Type | Description |
|---|---|---|
initoptional | WorkerEngineInit | — |
Defined in packages/spreadsheet/src/engine/worker/client.ts:98
csvToJSONfunction#
function csvToJSON(data: string | Uint8Array | ArrayBuffer, given: CsvImportOptions = {}): WorkbookJSON| Parameter | Type | Description |
|---|---|---|
data | string | Uint8Array | ArrayBuffer | — |
givenoptional | CsvImportOptions | — |
Defined in packages/spreadsheet/src/formats/csv.ts:330
dateToSerialfunction#
function dateToSerial(date: Date): number| Parameter | Type | Description |
|---|---|---|
date | Date | — |
Defined in packages/spreadsheet/src/engine/dates.ts:92
decodeCellfunction#
function decodeCell(range: EncodedRange, row: number, col: number): CellValue| Parameter | Type | Description |
|---|---|---|
range | EncodedRange | — |
row | number | — |
col | number | — |
Defined in packages/spreadsheet/src/engine/worker/protocol.ts:135
decodeRangefunction#
function decodeRange(range: EncodedRange): CellValue[][]| Parameter | Type | Description |
|---|---|---|
range | EncodedRange | — |
Defined in packages/spreadsheet/src/engine/worker/protocol.ts:155
detectCsvDialectfunction#
function detectCsvDialect(text: string): CsvDialect| Parameter | Type | Description |
|---|---|---|
text | string | — |
Defined in packages/spreadsheet/src/formats/csv.ts:144
detectEmbeddedFileTypefunction#
function detectEmbeddedFileType(bytes: Uint8Array | ArrayBuffer | null | undefined, hints: EmbeddedFileHints = {}): EmbeddedFileType| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | ArrayBuffer | null | undefined | — |
hintsoptional | EmbeddedFileHints | — |
Defined in packages/spreadsheet/src/formats/file-type.ts:467
encodeRangefunction#
function encodeRange(values: readonly (readonly CellValue[])[]): EncodedRange| Parameter | Type | Description |
|---|---|---|
values | readonly (readonly CellValue[])[] | — |
Defined in packages/spreadsheet/src/engine/worker/protocol.ts:98
exposeFormulaEnginefunction#
function exposeFormulaEngine(options?: ExposeOptions): () => void
function exposeFormulaEngine(endpoint: MessageEndpoint, options?: ExposeOptions): () => void| Parameter | Type | Description |
|---|---|---|
optionsoptional | ExposeOptions | — |
Defined in packages/spreadsheet/src/engine/worker/host.ts:175
formatKindfunction#
function formatKind(code: string | undefined): FormatKind| Parameter | Type | Description |
|---|---|---|
code | string | undefined | — |
Defined in packages/spreadsheet/src/engine/format/number-format.ts:215
formatValuefunction#
function formatValue(value: Scalar, code: string | undefined, options: FormatOptions = {}): FormattedValue| Parameter | Type | Description |
|---|---|---|
value | Scalar | — |
code | string | undefined | — |
optionsoptional | FormatOptions | — |
Defined in packages/spreadsheet/src/engine/format/number-format.ts:176
formulaFromLocalefunction#
function formulaFromLocale(formula: string, locale: string | FormatLocale): string| Parameter | Type | Description |
|---|---|---|
formula | string | — |
locale | string | FormatLocale | — |
Defined in packages/spreadsheet/src/engine/formula-locale.ts:116
formulaFromR1C1function#
function formulaFromR1C1(formula: string, cell: string): string| Parameter | Type | Description |
|---|---|---|
formula | string | — |
cell | string | — |
Defined in packages/spreadsheet/src/engine/r1c1.ts:120
formulaToLocalefunction#
function formulaToLocale(formula: string, locale: string | FormatLocale): string| Parameter | Type | Description |
|---|---|---|
formula | string | — |
locale | string | FormatLocale | — |
Defined in packages/spreadsheet/src/engine/formula-locale.ts:112
formulaToR1C1function#
function formulaToR1C1(formula: string, cell: string): string| Parameter | Type | Description |
|---|---|---|
formula | string | — |
cell | string | — |
Defined in packages/spreadsheet/src/engine/r1c1.ts:38
fromA1function#
function fromA1(text: string): CellAddress | undefined| Parameter | Type | Description |
|---|---|---|
text | string | — |
Defined in packages/spreadsheet/src/engine/address.ts:49
inputFromLocalefunction#
function inputFromLocale(text: string, locale: string | FormatLocale): string| Parameter | Type | Description |
|---|---|---|
text | string | — |
locale | string | FormatLocale | — |
Defined in packages/spreadsheet/src/engine/formula-locale.ts:124
inspectXlsxfunction#
function inspectXlsx(...args: Args<typeof XlsxEntry.inspectXlsx>): ReturnType<typeof XlsxEntry.inspectXlsx>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof XlsxEntry.inspectXlsx> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:33
isCellErrorfunction#
function isCellError(value: unknown): value is CellError| Parameter | Type | Description |
|---|---|---|
value | unknown | — |
Defined in packages/spreadsheet/src/index.ts:339
isDateFormatfunction#
function isDateFormat(code: string): boolean| Parameter | Type | Description |
|---|---|---|
code | string | — |
Defined in packages/spreadsheet/src/engine/format/number-format.ts:204
isXlsWorkbookfunction#
function isXlsWorkbook(bytes: Uint8Array): boolean| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | — |
Defined in packages/spreadsheet/src/formats/xls.ts:701
jsonToCsvfunction#
function jsonToCsv(json: WorkbookJSON, options: CsvExportOptions = {}): string| Parameter | Type | Description |
|---|---|---|
json | WorkbookJSON | — |
optionsoptional | CsvExportOptions | — |
Defined in packages/spreadsheet/src/formats/csv.ts:383
jsonToOdsfunction#
function jsonToOds(...args: Args<typeof OdsEntry.jsonToOds>): ReturnType<typeof OdsEntry.jsonToOds>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof OdsEntry.jsonToOds> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:55
jsonToPdffunction#
function jsonToPdf(...args: Args<typeof PdfEntry.jsonToPdf>): ReturnType<typeof PdfEntry.jsonToPdf>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof PdfEntry.jsonToPdf> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:59
jsonToXlsxfunction#
function jsonToXlsx(...args: Args<typeof XlsxEntry.exportXlsxBytes>): ReturnType<typeof XlsxEntry.exportXlsxBytes>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof XlsxEntry.exportXlsxBytes> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:15
jsonToXlsxWithReportfunction#
function jsonToXlsxWithReport(...args: Args<typeof XlsxEntry.exportXlsxWithReport>): ReturnType<typeof XlsxEntry.exportXlsxWithReport>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof XlsxEntry.exportXlsxWithReport> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:27
listFunctionsfunction#
function listFunctions(): FunctionInfo[]Defined in packages/spreadsheet/src/index.ts:335
odsToJSONfunction#
function odsToJSON(...args: Args<typeof OdsEntry.odsToJSON>): ReturnType<typeof OdsEntry.odsToJSON>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof OdsEntry.odsToJSON> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:51
parseCsvfunction#
function parseCsv(input: string, options: CsvImportOptions = {}): CsvParseResult| Parameter | Type | Description |
|---|---|---|
input | string | — |
optionsoptional | CsvImportOptions | — |
Defined in packages/spreadsheet/src/formats/csv.ts:158
parseOperationfunction#
function parseOperation(input: unknown): SheetOperation| Parameter | Type | Description |
|---|---|---|
input | unknown | — |
Defined in packages/spreadsheet/src/collab/operations.ts:240
readCsvDialectfunction#
function readCsvDialect(data: string | Uint8Array | ArrayBuffer, encoding?: string): CsvDialect| Parameter | Type | Description |
|---|---|---|
data | string | Uint8Array | ArrayBuffer | — |
encodingoptional | string | — |
Defined in packages/spreadsheet/src/formats/csv.ts:355
renderMetafilefunction#
function renderMetafile(bytes: Uint8Array): MetafilePicture | undefined| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | — |
Defined in packages/spreadsheet/src/formats/metafile/index.ts:12
resolveFormatLocalefunction#
function resolveFormatLocale(locale: string | FormatLocale | undefined): FormatLocale| Parameter | Type | Description |
|---|---|---|
locale | string | FormatLocale | undefined | — |
Defined in packages/spreadsheet/src/engine/format/locale.ts:144
safeColorfunction#
function safeColor(value: unknown): string | undefined| Parameter | Type | Description |
|---|---|---|
value | unknown | — |
Defined in packages/spreadsheet/src/engine/sanitize.ts:47
safeFontFamilyfunction#
function safeFontFamily(value: unknown): string | undefined| Parameter | Type | Description |
|---|---|---|
value | unknown | — |
Defined in packages/spreadsheet/src/engine/sanitize.ts:54
safeImageSourcefunction#
function safeImageSource(value: unknown): string | undefined| Parameter | Type | Description |
|---|---|---|
value | unknown | — |
Defined in packages/spreadsheet/src/engine/sanitize.ts:104
safeLinkUrlfunction#
function safeLinkUrl(value: unknown): string | undefined| Parameter | Type | Description |
|---|---|---|
value | unknown | — |
Defined in packages/spreadsheet/src/engine/sanitize.ts:93
sanitizeWorkbookfunction#
function sanitizeWorkbook<T extends WorkbookJSON>(json: T): T| Parameter | Type | Description |
|---|---|---|
json | T | — |
Defined in packages/spreadsheet/src/engine/sanitize.ts:263
serialToDatefunction#
function serialToDate(serial: number): Date| Parameter | Type | Description |
|---|---|---|
serial | number | — |
Defined in packages/spreadsheet/src/engine/dates.ts:98
toA1function#
function toA1(row: number, col: number): string| Parameter | Type | Description |
|---|---|---|
row | number | — |
col | number | — |
Defined in packages/spreadsheet/src/engine/address.ts:41
transformfunction#
function transform(operation: SheetOperation, against: SheetOperation, order: TransformOrder = 'after'): SheetOperation[]| Parameter | Type | Description |
|---|---|---|
operation | SheetOperation | — |
against | SheetOperation | — |
orderoptional | TransformOrder | — |
Defined in packages/spreadsheet/src/collab/transform.ts:430
transformAllfunction#
function transformAll(operations: readonly SheetOperation[], against: readonly SheetOperation[], order: TransformOrder = 'after'): [SheetOperation[], SheetOperation[]]| Parameter | Type | Description |
|---|---|---|
operations | readonly SheetOperation[] | — |
against | readonly SheetOperation[] | — |
orderoptional | TransformOrder | — |
Defined in packages/spreadsheet/src/collab/transform.ts:466
validateXlsxPackagefunction#
function validateXlsxPackage(...args: Args<typeof XlsxEntry.validateXlsxPackage>): ReturnType<typeof XlsxEntry.validateXlsxPackage>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof XlsxEntry.validateXlsxPackage> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:39
xlsToJSONfunction#
function xlsToJSON(data: Uint8Array | ArrayBuffer, options: XlsImportOptions = {}): WorkbookJSON| Parameter | Type | Description |
|---|---|---|
data | Uint8Array | ArrayBuffer | — |
optionsoptional | XlsImportOptions | — |
Defined in packages/spreadsheet/src/formats/xls.ts:770
xlsToJSONWithReportfunction#
function xlsToJSONWithReport(data: Uint8Array | ArrayBuffer, options: XlsImportOptions = {}): XlsImportResult| Parameter | Type | Description |
|---|---|---|
data | Uint8Array | ArrayBuffer | — |
optionsoptional | XlsImportOptions | — |
Defined in packages/spreadsheet/src/formats/xls.ts:711
xlsxToJSONfunction#
function xlsxToJSON(...args: Args<typeof XlsxEntry.importXlsx>): ReturnType<typeof XlsxEntry.importXlsx>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof XlsxEntry.importXlsx> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:11
xlsxToJSONWithReportfunction#
function xlsxToJSONWithReport(...args: Args<typeof XlsxEntry.importXlsxWithReport>): ReturnType<typeof XlsxEntry.importXlsxWithReport>| Parameter | Type | Description |
|---|---|---|
...args | Args<typeof XlsxEntry.importXlsxWithReport> | — |
Defined in packages/spreadsheet/src/lazy-formats.ts:21
DataTableErrorclass#
class DataTableError extends Error
new DataTableError(message: string)Defined in packages/spreadsheet/src/engine/data-tables.ts:19
ProtectionErrorclass#
class ProtectionError extends Error
new ProtectionError(message: string, readonly sheet?: string)Defined in packages/spreadsheet/src/view/errors.ts:15
ValidationErrorclass#
class ValidationError extends Error
new ValidationError(message: string, readonly sheet: string, readonly address: string, readonly rejected: number)| Member | Type | Description |
|---|---|---|
codereadonly | "validation" | — |
sheetreadonly | string | — |
addressreadonly | string | — |
rejectedreadonly | number | — |
Defined in packages/spreadsheet/src/view/errors.ts:1
XlsErrorclass#
class XlsError extends Error
new XlsError(detail: string)Defined in packages/spreadsheet/src/formats/xls/records.ts:2
ZipLimitErrorclass#
class ZipLimitError extends Error
new ZipLimitError(code: ZipLimitCode, message: string, detail: { limit: number; actual: number; entryName?: string })| Member | Type | Description |
|---|---|---|
codereadonly | ZipLimitCode | — |
limitreadonly | number | — |
actualreadonly | number | — |
entryNamereadonly | string | undefined | — |
Defined in packages/excel/src/zip.ts:39
DE_DEconst#
const DE_DE: FormatLocaleDefined in packages/spreadsheet/src/engine/format/locale.ts:89
DEFAULT_XLS_LIMITSconst#
const DEFAULT_XLS_LIMITS: Readonly<XlsLimits>Defined in packages/spreadsheet/src/formats/xls/records.ts:17
DEFAULT_ZIP_LIMITSconst#
const DEFAULT_ZIP_LIMITS: Readonly<ZipLimits>Defined in packages/excel/src/zip.ts:32
EN_USconst#
const EN_US: FormatLocaleDefined in packages/spreadsheet/src/engine/format/locale.ts:37
ES_ESconst#
const ES_ES: FormatLocaleDefined in packages/spreadsheet/src/engine/format/locale.ts:121
FR_FRconst#
const FR_FR: FormatLocaleDefined in packages/spreadsheet/src/engine/format/locale.ts:105
SPREADSHEET_EVENT_NAMESconst#
const SPREADSHEET_EVENT_NAMES: readonly (keyof SpreadsheetEvents)[]Defined in packages/spreadsheet/src/view/options.ts:745
spreadsheetDefinitionconst#
const spreadsheetDefinition: WidgetDefinition<SpreadsheetOptions, SpreadsheetEvents, SpreadsheetApi>Defined in packages/spreadsheet/src/view/spreadsheet.ts:1175
spreadsheetStylesconst#
const spreadsheetStyles: "\n.lq-sheet {\n --lq-sheet-font-family: var(--lq-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif);\n --lq-sheet-font-size: var(--lq-font-size, 13px);\n --lq-sheet-fg: var(--lq-fg, #1f2328);\n --lq-sheet-bg: var(--lq-bg, #ffffff);\n --lq-sheet-muted: var(--lq-muted-fg, #59636e);\n --lq-sheet-border: var(--lq-border, #d1d9e0);\n --lq-sheet-gridline: var(--lq-border-subtle, #e6eaef);\n --lq-sheet-header-bg: var(--lq-header-bg, #f6f8fa);\n --lq-sheet-header-fg: var(--lq-header-fg, #1f2328);\n --lq-sheet-header-active-bg: #dde7f6;\n --lq-sheet-header-selected-bg: var(--lq-accent, #1f6feb);\n --lq-sheet-header-selected-fg: var(--lq-accent-fg, #ffffff);\n --lq-sheet-accent: var(--lq-accent, #1f6feb);\n --lq-sheet-range-bg: var(--lq-range-bg, rgba(31, 111, 235, 0.14));\n --lq-sheet-focus: var(--lq-focus-ring, #1f6feb);\n --lq-sheet-menu-bg: var(--lq-menu-bg, #ffffff);\n --lq-sheet-menu-shadow: var(--lq-menu-shadow, 0 8px 24px rgba(15, 23, 42, 0.16));\n --lq-sheet-input-bg: var(--lq-input-bg, #ffffff);\n --lq-sheet-input-border: var(--lq-input-border, #818b98);\n --lq-sheet-radius: var(--lq-radius, 6px);\n --lq-sheet-danger: var(--lq-danger, #cf222e);\n --lq-sheet-hover: var(--lq-row-hover, #eef2f6);\n --lq-sheet-active: color-mix(in srgb, var(--lq-sheet-fg) 12%, transparent);\n --lq-sheet-selected: color-mix(in srgb, var(--lq-sheet-accent) 16%, var(--lq-sheet-bg));\n --lq-sheet-selected-edge: color-mix(in srgb, var(--lq-sheet-accent) 55%, transparent);\n --lq-sheet-control-height: var(--lq-control-height, 32px);\n --lq-sheet-control-compact: var(--lq-control-height-compact, 28px);\n --lq-sheet-radius-control: var(--lq-radius-control, 4px);\n --lq-sheet-radius-dialog: var(--lq-radius-dialog, 8px);\n --lq-sheet-text-xs: var(--lq-text-xs, 11px);\n --lq-sheet-text-sm: var(--lq-text-sm, 12px);\n --lq-sheet-text-lg: var(--lq-text-lg, 15px);\n --lq-sheet-head-bg: var(--lq-sheet-header-bg);\n --lq-sheet-head-fg: var(--lq-sheet-muted);\n --lq-sheet-head-strong-fg: var(--lq-sheet-header-fg);\n --lq-sheet-head-active-bg: var(--lq-sheet-header-active-bg);\n --lq-sheet-head-selected-bg: var(--lq-sheet-header-selected-bg);\n --lq-sheet-head-selected-fg: var(--lq-sheet-header-selected-fg);\n --lq-sheet-head-border: var(--lq-sheet-border);\n --lq-sheet-head-gridline: var(--lq-sheet-gridline);\n --lq-sheet-head-surface: var(--lq-sheet-bg);\n position: relative;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n width: 100%;\n height: var(--lq-sheet-height, 480px);\n min-height: 200px;\n overflow: hidden;\n font-family: var(--lq-sheet-font-family);\n font-size: var(--lq-sheet-font-size);\n line-height: 1.3;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: var(--lq-sheet-radius);\n font-variant-numeric: tabular-nums;\n}\n.lq-sheet *, .lq-sheet *::before, .lq-sheet *::after { box-sizing: border-box; }\n.lq-sheet.lq-theme-light {\n --lq-fg: #1f2328;\n --lq-bg: #ffffff;\n --lq-muted-fg: #59636e;\n --lq-border: #d1d9e0;\n --lq-border-subtle: #e6eaef;\n --lq-header-bg: #f6f8fa;\n --lq-header-fg: #1f2328;\n --lq-accent: #1f6feb;\n --lq-accent-fg: #ffffff;\n --lq-range-bg: rgba(31, 111, 235, 0.14);\n --lq-focus-ring: #1f6feb;\n --lq-menu-bg: #ffffff;\n --lq-input-bg: #ffffff;\n --lq-input-border: #818b98;\n --lq-row-hover: #eef2f6;\n --lq-danger: #cf222e;\n color-scheme: light;\n}\n.lq-sheet.lq-theme-dark,\n.lq-theme-dark .lq-sheet:not(.lq-theme-light) {\n --lq-fg: #e6edf3;\n --lq-bg: #0d1117;\n --lq-muted-fg: #9198a1;\n --lq-border: #3d444d;\n --lq-border-subtle: #262c36;\n --lq-header-bg: #161b22;\n --lq-header-fg: #e6edf3;\n --lq-accent: #4493f8;\n --lq-accent-fg: #0d1117;\n --lq-range-bg: rgba(68, 147, 248, 0.2);\n --lq-focus-ring: #4493f8;\n --lq-menu-bg: #161b22;\n --lq-menu-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);\n --lq-input-bg: #0d1117;\n --lq-input-border: #6e7681;\n --lq-row-hover: #1f2630;\n --lq-danger: #ff7b72;\n --lq-sheet-header-active-bg: #1f2d44;\n --lq-sheet-danger: #ff7b72;\n --lq-sheet-link: #4493f8;\n --lq-sheet-picture-plate: #ffffff;\n color-scheme: dark;\n}\n@media (prefers-color-scheme: dark) {\n .lq-sheet.lq-theme-auto {\n --lq-fg: #e6edf3;\n --lq-bg: #0d1117;\n --lq-muted-fg: #9198a1;\n --lq-border: #3d444d;\n --lq-border-subtle: #262c36;\n --lq-header-bg: #161b22;\n --lq-header-fg: #e6edf3;\n --lq-accent: #4493f8;\n --lq-accent-fg: #0d1117;\n --lq-range-bg: rgba(68, 147, 248, 0.2);\n --lq-focus-ring: #4493f8;\n --lq-menu-bg: #161b22;\n --lq-menu-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);\n --lq-input-bg: #0d1117;\n --lq-input-border: #6e7681;\n --lq-row-hover: #1f2630;\n --lq-danger: #ff7b72;\n --lq-sheet-header-active-bg: #1f2d44;\n --lq-sheet-danger: #ff7b72;\n --lq-sheet-link: #4493f8;\n --lq-sheet-picture-plate: #ffffff;\n color-scheme: dark;\n }\n}\n.lq-sheet--light-sheet.lq-theme-dark .lq-sheet-layer,\n.lq-theme-dark .lq-sheet--light-sheet:not(.lq-theme-light) .lq-sheet-layer {\n --lq-sheet-fg: #1f2328;\n --lq-sheet-bg: #ffffff;\n --lq-sheet-muted: #59636e;\n --lq-sheet-border: #d1d9e0;\n --lq-sheet-gridline: #e6eaef;\n --lq-sheet-header-bg: #f6f8fa;\n --lq-sheet-header-fg: #1f2328;\n --lq-sheet-header-active-bg: #dde7f6;\n --lq-sheet-header-selected-bg: #1f6feb;\n --lq-sheet-header-selected-fg: #ffffff;\n --lq-sheet-accent: #1f6feb;\n --lq-sheet-range-bg: rgba(31, 111, 235, 0.14);\n --lq-sheet-focus: #1f6feb;\n --lq-sheet-menu-bg: #ffffff;\n --lq-sheet-menu-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);\n --lq-sheet-input-bg: #ffffff;\n --lq-sheet-input-border: #818b98;\n --lq-sheet-hover: #eef2f6;\n --lq-sheet-danger: #cf222e;\n --lq-sheet-link: initial;\n --lq-sheet-picture-plate: transparent;\n color: var(--lq-sheet-fg);\n color-scheme: light;\n}\n@media (prefers-color-scheme: dark) {\n .lq-sheet--light-sheet.lq-theme-auto .lq-sheet-layer {\n --lq-sheet-fg: #1f2328;\n --lq-sheet-bg: #ffffff;\n --lq-sheet-muted: #59636e;\n --lq-sheet-border: #d1d9e0;\n --lq-sheet-gridline: #e6eaef;\n --lq-sheet-header-bg: #f6f8fa;\n --lq-sheet-header-fg: #1f2328;\n --lq-sheet-header-active-bg: #dde7f6;\n --lq-sheet-header-selected-bg: #1f6feb;\n --lq-sheet-header-selected-fg: #ffffff;\n --lq-sheet-accent: #1f6feb;\n --lq-sheet-range-bg: rgba(31, 111, 235, 0.14);\n --lq-sheet-focus: #1f6feb;\n --lq-sheet-menu-bg: #ffffff;\n --lq-sheet-menu-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);\n --lq-sheet-input-bg: #ffffff;\n --lq-sheet-input-border: #818b98;\n --lq-sheet-hover: #eef2f6;\n --lq-sheet-danger: #cf222e;\n --lq-sheet-link: initial;\n --lq-sheet-picture-plate: transparent;\n color: var(--lq-sheet-fg);\n color-scheme: light;\n }\n}\n\n.lq-sheet-formula-bar {\n display: flex;\n align-items: stretch;\n gap: 0;\n flex: none;\n min-height: 30px;\n border-bottom: 1px solid var(--lq-sheet-border);\n background: var(--lq-sheet-header-bg);\n}\n.lq-sheet-formula-bar[hidden] { display: none; }\n.lq-sheet-namebox {\n flex: none;\n width: 104px;\n margin: 3px;\n padding: 0 6px;\n font: inherit;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-input-bg);\n border: 1px solid var(--lq-sheet-input-border);\n border-radius: 4px;\n}\n.lq-sheet-namebox:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: -1px; }\n.lq-sheet-fx {\n flex: none;\n display: flex;\n align-items: center;\n padding: 0 8px;\n font-style: italic;\n font-weight: 600;\n color: var(--lq-sheet-muted);\n border-inline-end: 1px solid var(--lq-sheet-border);\n}\n.lq-sheet-input-wrap { position: relative; flex: 1 1 auto; min-width: 0; }\n.lq-sheet-formula-input,\n.lq-sheet-input-wrap > .lq-sheet-mirror {\n position: absolute;\n inset: 0;\n margin: 0;\n padding: 6px 8px;\n font: inherit;\n line-height: 18px;\n white-space: pre-wrap;\n word-break: break-all;\n overflow: hidden;\n border: 0;\n}\n.lq-sheet-formula-input {\n z-index: 1;\n resize: none;\n color: var(--lq-sheet-fg);\n background: transparent;\n outline: none;\n}\n.lq-sheet-formula-input:focus-visible { box-shadow: inset 0 0 0 2px var(--lq-sheet-focus); }\n.lq-sheet-input-wrap > .lq-sheet-mirror { color: var(--lq-sheet-fg); pointer-events: none; }\n.lq-sheet-formula-mode { color: transparent !important; caret-color: var(--lq-sheet-fg); }\n.lq-sheet-mirror[hidden] { display: none; }\n.lq-sheet-ref-token { font-weight: 600; }\n\n.lq-sheet-frame {\n position: relative;\n flex: 1 1 auto;\n min-height: 0;\n}\n.lq-sheet-frame:has(.lq-sheet-grid:focus-visible) { box-shadow: inset 0 0 0 2px var(--lq-sheet-focus); }\n.lq-sheet-viewport {\n position: absolute;\n inset: 0;\n overflow: auto;\n}\n.lq-sheet-grid {\n position: absolute;\n inset: 0;\n outline: none;\n}\n.lq-sheet-spacer { position: relative; }\n.lq-sheet-layer {\n position: sticky;\n top: 0;\n inset-inline-start: 0;\n overflow: hidden;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-bg);\n user-select: none;\n -webkit-user-select: none;\n}\n.lq-sheet-colheads {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 24px;\n z-index: 6;\n background: var(--lq-sheet-head-bg);\n border-bottom: 1px solid var(--lq-sheet-head-border);\n}\n.lq-sheet-corner {\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n height: 24px;\n z-index: 3;\n background: var(--lq-sheet-head-bg);\n border-inline-end: 1px solid var(--lq-sheet-head-border);\n cursor: cell;\n}\n.lq-sheet-corner::after {\n content: \"\";\n position: absolute;\n inset-inline-end: 3px;\n bottom: 3px;\n border-inline-start: 9px solid transparent;\n border-bottom: 9px solid var(--lq-sheet-head-border);\n}\n.lq-sheet-colhead,\n.lq-sheet-rowhead {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n font-size: 12px;\n color: var(--lq-sheet-head-fg);\n background: var(--lq-sheet-head-bg);\n white-space: nowrap;\n cursor: default;\n}\n.lq-sheet-colhead { top: 0; height: 24px; border-inline-end: 1px solid var(--lq-sheet-head-gridline); }\n.lq-sheet-colhead.lq-sheet-frozen { z-index: 2; }\n.lq-sheet-rowhead {\n inset-inline-start: 0;\n top: 0;\n z-index: 5;\n border-inline-end: 1px solid var(--lq-sheet-head-border);\n border-bottom: 1px solid var(--lq-sheet-head-gridline);\n}\n.lq-sheet-head-active { color: var(--lq-sheet-head-strong-fg); background: var(--lq-sheet-head-active-bg); font-weight: 600; }\n.lq-sheet-head-selected { color: var(--lq-sheet-head-selected-fg); background: var(--lq-sheet-head-selected-bg); }\n\n.lq-sheet-band { position: absolute; left: 0; right: 0; overflow: hidden; }\n.lq-sheet-band-main { z-index: 1; }\n.lq-sheet-band-frozen { z-index: 3; box-shadow: 0 1px 0 var(--lq-sheet-border); }\n.lq-sheet-row { position: absolute; inset-inline-start: 0; }\n.lq-sheet-cell {\n position: absolute;\n top: 0;\n z-index: 0;\n display: flex;\n align-items: flex-end;\n padding: 0 4px 2px;\n overflow: hidden;\n white-space: nowrap;\n color: var(--lq-sheet-fg);\n background-color: var(--lq-sheet-bg);\n border-inline-end: 1px solid var(--lq-sheet-gridline);\n border-bottom: 1px solid var(--lq-sheet-gridline);\n cursor: cell;\n}\n.lq-sheet-cell.lq-sheet-has-checkbox { align-items: center; padding-bottom: 0; }\n.lq-sheet-checkbox {\n position: relative;\n flex: none;\n box-sizing: border-box;\n width: calc(14px * var(--lq-sheet-zoom, 1));\n height: calc(14px * var(--lq-sheet-zoom, 1));\n color: var(--lq-sheet-accent);\n background: var(--lq-sheet-bg);\n border: 1.5px solid var(--lq-sheet-muted);\n border-radius: 3px;\n cursor: pointer;\n}\n.lq-sheet-checkbox[data-checked=\"true\"] { background: currentColor; border-color: currentColor; }\n.lq-sheet-checkbox[data-checked=\"true\"]::after {\n content: \"\";\n position: absolute;\n left: 28%;\n top: 6%;\n width: 30%;\n height: 60%;\n border: solid var(--lq-sheet-header-selected-fg);\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n}\n.lq-sheet-cell-arrow {\n position: absolute;\n inset-inline-end: 3px;\n top: 50%;\n width: 0;\n height: 0;\n margin-top: -2px;\n color: var(--lq-sheet-muted);\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-top: 5px solid currentColor;\n cursor: pointer;\n}\n.lq-sheet-cell.lq-sheet-overflow { z-index: 1; }\n.lq-sheet-cell.lq-sheet-merged { z-index: 2; }\n.lq-sheet-cell.lq-sheet-frozen { z-index: 3; }\n.lq-sheet-cell.lq-sheet-frozen.lq-sheet-merged { z-index: 4; }\n.lq-sheet-cell.lq-sheet-wrap { white-space: pre-wrap; word-break: break-word; align-items: flex-start; padding-top: 2px; }\n.lq-sheet--no-gridlines .lq-sheet-cell { border-color: transparent; }\n.lq-sheet-cell-justify,\n.lq-sheet-cell-distributed { flex: 1 1 auto; min-width: 0; white-space: pre-wrap; word-break: break-word; text-align: justify; }\n.lq-sheet-cell-distributed { text-align-last: justify; }\n\n.lq-sheet-overlay { position: absolute; overflow: hidden; pointer-events: none; }\n.lq-sheet-overlay-bl, .lq-sheet-overlay-br { z-index: 2; }\n.lq-sheet-overlay-tl, .lq-sheet-overlay-tr { z-index: 4; }\n.lq-sheet-selection,\n.lq-sheet-active-cell,\n.lq-sheet-fill-preview,\n.lq-sheet-copy-marquee,\n.lq-sheet-ref-highlight { position: absolute; }\n.lq-sheet-selection { background: var(--lq-sheet-range-bg); border: 1px solid var(--lq-sheet-accent); }\n.lq-sheet-active-cell { border: 2px solid var(--lq-sheet-accent); }\n.lq-sheet-fill-preview { border: 1px dashed var(--lq-sheet-muted); }\n.lq-sheet-copy-marquee {\n border: 2px dashed var(--lq-sheet-accent);\n animation: lq-sheet-marquee 1s steps(2) infinite;\n}\n@keyframes lq-sheet-marquee { 50% { border-color: transparent; } }\n.lq-sheet-ref-highlight {\n border: 2px solid var(--lq-sheet-ref-color, var(--lq-sheet-accent));\n background: color-mix(in srgb, var(--lq-sheet-ref-color, var(--lq-sheet-accent)) 10%, transparent);\n}\n.lq-sheet-presence,\n.lq-sheet-presence-range { position: absolute; box-sizing: border-box; }\n.lq-sheet-presence { border: 2px solid var(--lq-sheet-presence-color, var(--lq-sheet-accent)); }\n.lq-sheet-presence-range {\n border: 1px solid var(--lq-sheet-presence-color, var(--lq-sheet-accent));\n background: color-mix(in srgb, var(--lq-sheet-presence-color, var(--lq-sheet-accent)) 10%, transparent);\n}\n.lq-sheet-presence-label {\n position: absolute;\n bottom: 100%;\n inset-inline-start: -2px;\n max-width: 160px;\n padding: 0 4px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 10px;\n line-height: 14px;\n font-weight: 600;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-bg);\n border: 1px solid var(--lq-sheet-presence-color, var(--lq-sheet-accent));\n border-inline-start-width: 4px;\n}\n.lq-sheet-presence--below > .lq-sheet-presence-label { bottom: auto; top: 100%; }\n.lq-sheet-fill-handle {\n position: absolute;\n width: 8px;\n height: 8px;\n background: var(--lq-sheet-accent);\n border: 1px solid var(--lq-sheet-bg);\n pointer-events: auto;\n cursor: crosshair;\n}\n\n.lq-sheet-editor {\n position: absolute;\n z-index: 8;\n background: var(--lq-sheet-bg);\n border: 2px solid var(--lq-sheet-accent);\n box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);\n}\n.lq-sheet-editor[hidden] { display: none; }\n.lq-sheet-editor-input,\n.lq-sheet-editor > .lq-sheet-mirror {\n position: absolute;\n inset: 0;\n margin: 0;\n padding: 1px 3px;\n font: inherit;\n line-height: 18px;\n white-space: pre-wrap;\n word-break: break-all;\n overflow: hidden;\n border: 0;\n}\n.lq-sheet-editor-input { z-index: 1; resize: none; color: var(--lq-sheet-fg); background: transparent; outline: none; }\n.lq-sheet-editor > .lq-sheet-mirror { color: var(--lq-sheet-fg); pointer-events: none; }\n.lq-sheet-editor-bold .lq-sheet-editor-input, .lq-sheet-editor-bold .lq-sheet-mirror { font-weight: 700; }\n\n.lq-sheet-autocomplete,\n.lq-sheet-hint,\n.lq-sheet-popup {\n position: absolute;\n z-index: 20;\n margin: 0;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-menu-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: var(--lq-sheet-radius);\n box-shadow: var(--lq-sheet-menu-shadow);\n}\n.lq-sheet-autocomplete[hidden], .lq-sheet-hint[hidden] { display: none; }\n.lq-sheet-autocomplete { min-width: 260px; max-width: 420px; padding: 4px 0; list-style: none; }\n.lq-sheet-ac-item { display: flex; gap: 10px; align-items: baseline; padding: 4px 10px; cursor: pointer; }\n.lq-sheet-ac-item strong { flex: none; font-weight: 600; }\n.lq-sheet-ac-item span { overflow: hidden; color: var(--lq-sheet-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }\n.lq-sheet-ac-item[aria-selected=\"true\"] { background: var(--lq-sheet-range-bg); }\n.lq-sheet-hint { padding: 4px 8px; font-size: 12px; white-space: nowrap; pointer-events: none; }\n.lq-sheet-hint b { color: var(--lq-sheet-accent); }\n\n.lq-sheet-menu { min-width: 220px; padding: 4px 0; }\n.lq-sheet-menu-item {\n display: flex;\n width: 100%;\n justify-content: space-between;\n gap: 24px;\n padding: 6px 14px;\n font: inherit;\n text-align: start;\n color: inherit;\n background: transparent;\n border: 0;\n cursor: pointer;\n}\n.lq-sheet-menu-item:hover { background: var(--lq-sheet-range-bg); outline: none; }\n.lq-sheet-menu-item:focus-visible { background: var(--lq-sheet-range-bg); outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; }\n.lq-sheet-menu-item[aria-disabled=\"true\"] { color: var(--lq-sheet-muted); cursor: default; }\n.lq-sheet-menu-label-icon { display: inline-flex; align-items: center; gap: 8px; }\n.lq-sheet-menu-icons .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon) { padding-inline-start: 24px; }\n.lq-sheet-menu-icons .lq-sheet-menu-item[aria-checked] .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon) { padding-inline-start: 24px; }\n.lq-sheet-menu-icons .lq-sheet-menu-item[aria-checked=\"true\"] .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon) { padding-inline-start: 0; }\n.lq-sheet-menu-icons .lq-sheet-menu-item[aria-checked=\"true\"] .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon)::before { content: \"✓\"; display: inline-block; width: 24px; }\n.lq-sheet-menu-shortcut { color: var(--lq-sheet-muted); font-size: 12px; }\n.lq-sheet-menu-item:hover .lq-sheet-menu-shortcut, .lq-sheet-menu-item:focus-visible .lq-sheet-menu-shortcut { color: inherit; }\n.lq-sheet-menu-separator { height: 1px; margin: 4px 0; background: var(--lq-sheet-border); }\n.lq-sheet-find, .lq-sheet-filter { display: flex; flex-direction: column; gap: 8px; width: 300px; padding: 12px; }\n.lq-sheet-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-field input {\n padding: 5px 8px;\n font: inherit;\n font-size: var(--lq-sheet-font-size);\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-input-bg);\n border: 1px solid var(--lq-sheet-input-border);\n border-radius: 4px;\n}\n.lq-sheet-field input::placeholder { color: var(--lq-sheet-muted); opacity: 1; }\n.lq-sheet-check { display: flex; gap: 6px; align-items: center; min-height: 24px; }\n.lq-sheet-actions { display: flex; flex-wrap: wrap; gap: 6px; }\n.lq-sheet-button {\n padding: max(5px, 0.3em) max(10px, 0.5em);\n font: inherit;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-header-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: 4px;\n cursor: pointer;\n}\n.lq-sheet-button-primary { color: var(--lq-sheet-header-selected-fg); background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); }\n.lq-sheet-button:focus-visible, .lq-sheet-tab:focus-visible, .lq-sheet-tab-add:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-find-status { min-height: 1.2em; font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-filter-list { display: flex; flex-direction: column; gap: 4px; max-height: 220px; overflow: auto; padding: 4px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-dropdown { min-width: 140px; max-height: 240px; overflow: auto; padding: 4px 0; }\n.lq-sheet-option { padding: 4px 10px; cursor: pointer; }\n.lq-sheet-option:hover, .lq-sheet-option:focus { background: var(--lq-sheet-range-bg); outline: none; }\n.lq-sheet-option[aria-selected=\"true\"] { font-weight: 600; }\n\n.lq-sheet-decorations { position: absolute; inset: 0; z-index: 7; pointer-events: none; }\n.lq-sheet-filter-button,\n.lq-sheet-dropdown-button {\n position: absolute;\n width: 17px;\n height: 17px;\n padding: 0;\n pointer-events: auto;\n color: var(--lq-sheet-muted);\n background: var(--lq-sheet-header-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: 3px;\n cursor: pointer;\n}\n.lq-sheet-filter-button::after,\n.lq-sheet-dropdown-button::after {\n content: \"\";\n position: absolute;\n left: 50%;\n top: 50%;\n margin: -2px 0 0 -4px;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-top: 5px solid currentColor;\n}\n.lq-sheet-filter-active { color: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); }\n.lq-sheet-filter-button[data-sorted]::after { margin: -1px 0 0 0; border-left-width: 3px; border-right-width: 3px; border-top-width: 4px; }\n.lq-sheet-filter-button[data-sorted]::before { content: \"\\2191\"; position: absolute; left: 1px; top: 0; font-size: 10px; font-weight: 700; line-height: 15px; }\n.lq-sheet-filter-button[data-sorted=\"descending\"]::before { content: \"\\2193\"; }\n.lq-sheet-filter-sort[aria-pressed=\"true\"] { border-color: var(--lq-sheet-accent); box-shadow: inset 0 0 0 1px var(--lq-sheet-accent); }\n.lq-sheet-dropdown-button { width: 18px; }\n.lq-sheet-prompt {\n position: absolute;\n max-width: 260px;\n padding: 6px 8px;\n font-size: 12px;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-menu-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: 4px;\n box-shadow: var(--lq-sheet-menu-shadow);\n}\n\n.lq-sheet-bottom {\n display: flex;\n align-items: stretch;\n flex: none;\n min-height: 30px;\n border-top: 1px solid var(--lq-sheet-border);\n background: var(--lq-sheet-header-bg);\n}\n.lq-sheet-tabbar { display: flex; align-items: stretch; flex: 1 1 auto; min-width: min(45%, 240px); }\n.lq-sheet-tabbar[hidden], .lq-sheet-statusbar[hidden] { display: none; }\n.lq-sheet-tab-add {\n flex: none;\n width: 32px;\n font: inherit;\n font-size: 16px;\n color: var(--lq-sheet-muted);\n background: transparent;\n border: 0;\n border-inline-end: 1px solid var(--lq-sheet-border);\n cursor: pointer;\n}\n.lq-sheet-tab-add[hidden] { display: none; }\n.lq-sheet-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; }\n.lq-sheet-tab {\n flex: none;\n max-width: 200px;\n padding: 0 14px;\n overflow: hidden;\n font: inherit;\n color: var(--lq-sheet-muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n background: transparent;\n border: 0;\n border-inline-end: 1px solid var(--lq-sheet-border);\n border-bottom: 3px solid transparent;\n cursor: pointer;\n}\n.lq-sheet-tab-colored { border-bottom-color: var(--lq-sheet-tab-color); }\n.lq-sheet-tab-colored.lq-sheet-tab-active { border-bottom-color: var(--lq-sheet-tab-color); }\n.lq-sheet-tab-active { color: var(--lq-sheet-fg); font-weight: 600; background: var(--lq-sheet-bg); border-bottom-color: var(--lq-sheet-accent); }\n.lq-sheet-tab-input { width: 120px; font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-accent); }\n.lq-sheet-statusbar {\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 0 1 auto;\n min-width: 0;\n padding: 0 12px;\n font-size: 12px;\n color: var(--lq-sheet-muted);\n white-space: pre;\n}\n.lq-sheet-statusbar > * { flex: none; }\n.lq-sheet-statusbar > .lq-sheet-stats { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }\n.lq-sheet--narrow .lq-sheet-bottom { flex-wrap: wrap; }\n.lq-sheet--narrow .lq-sheet-tabbar { flex: 1 1 100%; min-height: 28px; border-bottom: 1px solid var(--lq-sheet-border); }\n.lq-sheet--narrow .lq-sheet-statusbar { flex: 1 1 100%; min-height: 28px; box-sizing: border-box; }\n.lq-sheet-circular-status { color: var(--lq-sheet-danger); }\n.lq-sheet-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n border: 0;\n}\n.lq-sheet--readonly .lq-sheet-cell { cursor: default; }\n.lq-sheet--file-drag { outline: 2px dashed var(--lq-sheet-focus); outline-offset: -2px; }\n@media (prefers-reduced-motion: reduce) {\n .lq-sheet-copy-marquee { animation: none; }\n .lq-sheet *, .lq-sheet *::before, .lq-sheet *::after { transition: none !important; }\n}\n@media (forced-colors: active) {\n .lq-sheet :focus-visible, .lq-sheet-menu :focus-visible, .lq-sheet-option:focus {\n outline: 2px solid Highlight !important;\n outline-offset: -2px;\n }\n}\n.lq-sheet-cell.lq-sheet-link { color: var(--lq-sheet-link, #0b62c4); cursor: pointer; }\n.lq-sheet-cell.lq-sheet-has-note::after {\n content: \"\";\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n border-top: 6px solid var(--lq-sheet-note-marker, #d1242f);\n border-inline-start: 6px solid transparent;\n}\n.lq-sheet-cf-icon { flex: none; margin-inline-end: auto; padding-inline-end: 4px; font-weight: 700; line-height: 1; }\n.lq-sheet-cell.lq-sheet-has-icon { gap: 2px; }\n.lq-sheet-notes, .lq-sheet-outline, .lq-sheet-drawings, .lq-sheet-table-filters {\n position: absolute;\n inset: 0;\n pointer-events: none;\n}\n.lq-sheet-notes { z-index: 9; }\n.lq-sheet-note {\n position: absolute;\n padding: 6px 8px;\n font-size: 12px;\n line-height: 1.4;\n white-space: pre-wrap;\n word-break: break-word;\n color: #1f2328;\n background: var(--lq-sheet-note-bg, #fff8c5);\n border: 1px solid var(--lq-sheet-note-border, #d4a72c);\n border-radius: 3px;\n box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);\n pointer-events: auto;\n}\n.lq-sheet-note-author { display: block; margin-bottom: 2px; }\n.lq-sheet-outline { z-index: 7; }\n.lq-sheet-outline-strip { position: absolute; background: var(--lq-sheet-head-bg); }\n.lq-sheet-outline-bracket {\n position: absolute;\n border-inline-start: 1px solid var(--lq-sheet-head-fg);\n border-top: 1px solid var(--lq-sheet-head-fg);\n border-bottom: 1px solid var(--lq-sheet-head-fg);\n width: 4px;\n box-sizing: border-box;\n}\n.lq-sheet-outline-strip + .lq-sheet-outline-bracket { width: 4px; }\n.lq-sheet-outline-toggle,\n.lq-sheet-outline-level {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 12px;\n height: 12px;\n padding: 0;\n font: 600 10px/1 var(--lq-sheet-font-family);\n color: var(--lq-sheet-head-strong-fg);\n background: var(--lq-sheet-head-surface);\n border: 1px solid var(--lq-sheet-head-fg);\n border-radius: 2px;\n cursor: pointer;\n pointer-events: auto;\n}\n.lq-sheet-outline-level { width: 13px; height: 14px; }\n.lq-sheet-outline-toggle:focus-visible,\n.lq-sheet-outline-level:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-outline-toggle:disabled,\n.lq-sheet-outline-level:disabled { cursor: default; opacity: 0.6; }\n.lq-sheet-objects { position: absolute; inset: 0; z-index: 5; pointer-events: none; }\n.lq-sheet-drawing-pane { position: absolute; overflow: hidden; }\n.lq-sheet-drawing {\n position: absolute;\n box-sizing: border-box;\n pointer-events: auto;\n cursor: move;\n background: var(--lq-sheet-bg);\n outline: none;\n}\n.lq-sheet-chart { border: 1px solid var(--lq-sheet-border); }\n.lq-sheet-image, .lq-sheet-object { background: transparent; }\n.lq-sheet-image-unsupported { border: 1px dashed var(--lq-sheet-border); background: var(--lq-sheet-bg); }\n.lq-sheet-drawing-body { position: relative; }\n.lq-sheet-object-figure {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n.lq-sheet-object-stored { background: var(--lq-sheet-picture-plate, transparent); }\n.lq-sheet-object-icon { flex: 1 1 auto; min-height: 0; max-width: 100%; object-fit: contain; }\n.lq-sheet-object-preview { width: 100%; height: 100%; object-fit: contain; }\n.lq-sheet-object-name {\n flex: none;\n box-sizing: border-box;\n max-width: 100%;\n padding: 0 4px 3px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: calc(12px * var(--lq-sheet-zoom, 1));\n line-height: 1.35;\n text-align: center;\n color: var(--lq-sheet-fg);\n}\n.lq-sheet-object-badge {\n position: absolute;\n top: 2px;\n inset-inline-end: 2px;\n padding: 0 4px;\n font: 700 9px/14px var(--lq-sheet-font-family);\n color: #ffffff;\n background: #6b7280;\n border-radius: 3px;\n pointer-events: none;\n}\n.lq-sheet-object-actions {\n position: absolute;\n inset-inline-start: 0;\n top: 100%;\n z-index: 1;\n display: none;\n box-sizing: border-box;\n height: 30px;\n gap: 4px;\n padding: 4px 0 0;\n white-space: nowrap;\n}\n.lq-sheet-object-actions[data-placement=\"above\"],\n.lq-sheet-object-actions[data-placement=\"inside\"] { padding: 0 0 4px; }\n.lq-sheet-object-summary { display: flex; gap: 14px; align-items: center; }\n.lq-sheet-object-summary-icon { flex: none; width: 48px; height: 60px; }\n.lq-sheet-object-facts { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; }\n.lq-sheet-menu-heading-file {\n display: flex;\n gap: 10px;\n align-items: center;\n max-width: 320px;\n padding: 6px 14px;\n text-transform: none;\n letter-spacing: 0;\n}\n.lq-sheet-menu-image { flex: none; width: 24px; height: 30px; }\n.lq-sheet-menu-heading-file .lq-sheet-menu-heading-text { display: flex; flex-direction: column; min-width: 0; }\n.lq-sheet-menu-heading-file .lq-sheet-menu-heading-title {\n overflow: hidden;\n font-size: 13px;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--lq-sheet-fg);\n}\n.lq-sheet-menu-heading-file .lq-sheet-menu-heading-detail { font-weight: 400; }\n.lq-sheet-drawing-selected .lq-sheet-object-actions,\n.lq-sheet-object:focus-within .lq-sheet-object-actions { display: flex; }\n.lq-sheet-object-action {\n font: inherit;\n font-size: 12px;\n padding: 2px 8px;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: 4px;\n cursor: pointer;\n}\n.lq-sheet-object-action:hover { border-color: var(--lq-sheet-accent); }\n.lq-sheet-object-action:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-drawing-body, .lq-sheet-drawing-body > img, .lq-sheet-drawing-body > svg {\n display: block;\n width: 100%;\n height: 100%;\n}\n.lq-sheet-drawing-body > img { object-fit: fill; }\n.lq-sheet-drawing-selected, .lq-sheet-drawing:focus-visible { box-shadow: 0 0 0 2px var(--lq-sheet-accent); }\n.lq-sheet-drawing-handle, .lq-sheet-drawing-rotate {\n position: absolute;\n display: none;\n box-sizing: border-box;\n width: 10px;\n height: 10px;\n margin: -5px;\n background: var(--lq-sheet-bg);\n border: 1px solid var(--lq-sheet-accent);\n touch-action: none;\n}\n.lq-sheet-drawing-handle::after, .lq-sheet-drawing-rotate::after { content: ''; position: absolute; inset: -7px; }\n.lq-sheet-drawing-handle[data-handle='nw'] { inset-inline-start: 0; top: 0; }\n.lq-sheet-drawing-handle[data-handle='n'] { inset-inline-start: 50%; top: 0; }\n.lq-sheet-drawing-handle[data-handle='ne'] { inset-inline-start: 100%; top: 0; }\n.lq-sheet-drawing-handle[data-handle='e'] { inset-inline-start: 100%; top: 50%; }\n.lq-sheet-drawing-handle[data-handle='se'] { inset-inline-start: 100%; top: 100%; }\n.lq-sheet-drawing-handle[data-handle='s'] { inset-inline-start: 50%; top: 100%; }\n.lq-sheet-drawing-handle[data-handle='sw'] { inset-inline-start: 0; top: 100%; }\n.lq-sheet-drawing-handle[data-handle='w'] { inset-inline-start: 0; top: 50%; }\n.lq-sheet-drawing-rotate { inset-inline-start: 50%; top: -24px; border-radius: 50%; cursor: grab; }\n.lq-sheet-drawing-rotate:hover { background: var(--lq-sheet-accent); }\n.lq-sheet-drawing-selected > .lq-sheet-drawing-handle,\n.lq-sheet-drawing-selected > .lq-sheet-drawing-rotate { display: block; }\n.lq-sheet-drawing-locked { cursor: default; }\n.lq-sheet-drawing-locked > .lq-sheet-drawing-handle,\n.lq-sheet-drawing-locked > .lq-sheet-drawing-rotate { display: none; }\n.lq-sheet-drawing-cropped { overflow: hidden; }\n.lq-sheet-drawing-cropped > img { position: absolute; max-width: none; }\n.lq-sheet-image-loading { background: color-mix(in srgb, var(--lq-sheet-border) 35%, transparent); }\n.lq-sheet-image .lq-sheet-drawing-body > img:not([src]) { visibility: hidden; }\n.lq-sheet-table-filters { z-index: 6; }\n.lq-sheet-table-filters > .lq-sheet-filter-button { pointer-events: auto; }\n@media (forced-colors: active) {\n .lq-sheet-cell.lq-sheet-has-note::after { border-top-color: Mark; }\n .lq-sheet-drawing-selected { outline: 2px solid Highlight; }\n}\n.lq-sheet-modal-backdrop {\n position: absolute;\n inset: 0;\n z-index: 40;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n padding: 32px 16px;\n background: rgba(15, 23, 42, 0.28);\n overflow: auto;\n}\n.lq-sheet-modal {\n display: flex;\n flex-direction: column;\n gap: 10px;\n width: min(520px, 100%);\n max-height: calc(100% - 16px);\n padding: 14px 16px;\n overflow: auto;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-menu-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: var(--lq-sheet-radius);\n box-shadow: var(--lq-sheet-menu-shadow);\n}\n.lq-sheet-modal-title { margin: 0; font-size: 15px; font-weight: 600; }\n.lq-sheet-modal-body { display: flex; flex-direction: column; gap: 8px; }\n.lq-sheet-modal-body [hidden] { display: none; }\n.lq-sheet-modal-status { min-height: 1.2em; font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-modal-note { margin: 0; font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-modal :focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-select, .lq-sheet-modal input[type=\"text\"], .lq-sheet-modal input[type=\"number\"], .lq-sheet-modal textarea {\n font: inherit;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-input-bg);\n border: 1px solid var(--lq-sheet-input-border);\n border-radius: 4px;\n padding: 3px 6px;\n}\n.lq-sheet-tablist { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--lq-sheet-border); }\n.lq-sheet-tab-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font: inherit; color: var(--lq-sheet-fg); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }\n.lq-sheet-tab-button[aria-selected=\"true\"] { border-bottom-color: var(--lq-sheet-accent); font-weight: 600; }\n.lq-sheet-report-dialog .lq-sheet-report-heading { margin: 10px 0 4px; font-size: 13px; }\n.lq-sheet-report-count { display: inline-block; min-width: 18px; padding: 0 6px; font-size: 11px; font-weight: 600; text-align: center; color: var(--lq-sheet-fg); background: var(--lq-sheet-header-bg); border: 1px solid var(--lq-sheet-border); border-radius: 9px; }\n.lq-sheet-report-list { margin: 0; padding-inline-start: 18px; max-height: 140px; overflow: auto; }\n.lq-sheet-report-detail { display: block; font-size: 11px; color: var(--lq-sheet-muted); overflow-wrap: anywhere; }\n.lq-sheet-properties-facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 10px 0 0; font-size: 12px; }\n.lq-sheet-properties-facts dt { color: var(--lq-sheet-muted); }\n.lq-sheet-properties-facts dd { margin: 0; overflow-wrap: anywhere; }\n.lq-sheet-format-fill-sample { height: 40px; margin-top: 8px; border: 1px solid var(--lq-sheet-border); border-radius: 3px; }\n.lq-sheet-line-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }\n.lq-sheet-line-option { display: flex; align-items: center; height: 22px; padding: 0 8px; color: #1f2328; background: #ffffff; border: 1px solid var(--lq-sheet-border); border-radius: 3px; cursor: pointer; }\n.lq-sheet-line-option[aria-checked=\"true\"] { border-color: var(--lq-sheet-accent); box-shadow: 0 0 0 1px var(--lq-sheet-accent); }\n.lq-sheet-line-option:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-line-sample { flex: 1 1 auto; height: 4px; box-sizing: border-box; }\n.lq-sheet-tabpanel { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }\n.lq-sheet-tabpanel[hidden] { display: none; }\n.lq-sheet-format-preview { display: block; padding: 6px 8px; font-variant-numeric: tabular-nums; background: var(--lq-sheet-header-bg); border-radius: 4px; }\n.lq-sheet-fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 6px 8px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-names-form { display: flex; flex-direction: column; gap: 8px; }\n.lq-sheet-names-list { max-height: 220px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-names-table { width: 100%; border-collapse: collapse; font-size: 12px; }\n.lq-sheet-names-table th, .lq-sheet-names-table td { padding: 4px 6px; text-align: start; border-bottom: 1px solid var(--lq-sheet-gridline); }\n.lq-sheet-names-row { cursor: pointer; }\n.lq-sheet-names-row[aria-selected=\"true\"] { background: var(--lq-sheet-range-bg); }\n.lq-sheet-names-empty { color: var(--lq-sheet-muted); }\n.lq-sheet-styles-heading { margin: 4px 0; font-size: 12px; font-weight: 600; color: var(--lq-sheet-muted); }\n.lq-sheet-styles-list { display: flex; flex-wrap: wrap; gap: 6px; }\n.lq-sheet-style-swatch { min-width: 92px; padding: 6px 8px; font: inherit; font-size: 12px; text-align: start; color: var(--lq-sheet-fg); background: var(--lq-sheet-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; cursor: pointer; }\n.lq-sheet-evaluate-ref { font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-evaluate-expression { padding: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; background: var(--lq-sheet-header-bg); border-radius: 4px; }\n.lq-sheet-evaluate-next { text-decoration-thickness: 2px; text-decoration-color: var(--lq-sheet-accent); }\n.lq-sheet-audit { position: absolute; inset: 0 auto auto 0; z-index: 6; overflow: hidden; pointer-events: none; }\n.lq-sheet--rtl .lq-sheet-audit { inset: 0 0 auto auto; }\n.lq-sheet-audit-line { stroke: #1f5fbf; stroke-width: 1.5; }\n.lq-sheet-audit-external { stroke-dasharray: 4 3; }\n.lq-sheet-audit-head, .lq-sheet-audit-dot { fill: #1f5fbf; }\n.lq-sheet-audit-range { fill: none; stroke: #1f5fbf; stroke-width: 1.5; }\n.lq-sheet-audit-sheet-icon { fill: var(--lq-sheet-bg); stroke: #1f5fbf; stroke-width: 1.2; }\n@media (forced-colors: active) {\n .lq-sheet-audit-line, .lq-sheet-audit-range, .lq-sheet-audit-sheet-icon { stroke: CanvasText; }\n .lq-sheet-audit-head, .lq-sheet-audit-dot { fill: CanvasText; }\n}\n\n.lq-sheet-main { display: flex; flex: 1 1 auto; min-width: 0; min-height: 0; }\n.lq-sheet-main > .lq-sheet-frame { min-width: 0; }\n.lq-sheet-icon { flex: none; display: block; }\n\n.lq-sheet-ribbon {\n flex: none;\n border-bottom: 1px solid var(--lq-sheet-border);\n background: var(--lq-sheet-header-bg);\n color: var(--lq-sheet-header-fg);\n}\n.lq-sheet-ribbon[hidden], .lq-sheet-ribbon-tabs[hidden], .lq-sheet-ribbon-more[hidden] { display: none; }\n.lq-sheet-ribbon-tabs {\n display: flex;\n gap: 2px;\n padding: 2px 8px 0;\n overflow-x: auto;\n scrollbar-width: none;\n}\n.lq-sheet-ribbon--tabs-scroll .lq-sheet-ribbon-tabs {\n background:\n linear-gradient(to right, var(--lq-sheet-header-bg) 40%, transparent) left center / 28px 100% no-repeat local,\n linear-gradient(to left, var(--lq-sheet-header-bg) 40%, transparent) right center / 28px 100% no-repeat local,\n linear-gradient(to right, color-mix(in srgb, var(--lq-sheet-fg) 40%, transparent), transparent) left center / 12px 100% no-repeat scroll,\n linear-gradient(to left, color-mix(in srgb, var(--lq-sheet-fg) 40%, transparent), transparent) right center / 12px 100% no-repeat scroll;\n}\n.lq-sheet--narrow .lq-sheet-ribbon-tabs { gap: 0; padding-inline: 4px; }\n.lq-sheet--narrow .lq-sheet-ribbon-tab { padding-inline: 6px; }\n.lq-sheet-ribbon-tab {\n position: relative;\n flex: none;\n padding: 5px 12px;\n font: inherit;\n color: var(--lq-sheet-muted);\n background: transparent;\n border: 0;\n border-bottom: 2px solid transparent;\n cursor: pointer;\n}\n.lq-sheet-ribbon-tab:hover { color: var(--lq-sheet-fg); }\n.lq-sheet-ribbon-tab[aria-selected=\"true\"] { color: var(--lq-sheet-fg); font-weight: 600; border-bottom-color: var(--lq-sheet-accent); }\n.lq-sheet-ribbon-tab:focus-visible, .lq-sheet-ribbon-control:focus-visible {\n outline: 2px solid var(--lq-sheet-focus);\n outline-offset: -2px;\n}\n.lq-sheet-ribbon--keytips .lq-sheet-ribbon-tab::after {\n content: attr(data-keytip);\n position: absolute;\n inset-inline-start: 50%;\n bottom: -6px;\n z-index: 2;\n padding: 0 4px;\n font-size: 11px;\n font-weight: 600;\n line-height: 15px;\n color: var(--lq-sheet-bg);\n background: var(--lq-sheet-fg);\n border-radius: 3px;\n}\n.lq-sheet-ribbon-panel { display: flex; align-items: stretch; min-width: 0; background: var(--lq-sheet-bg); border-top: 1px solid var(--lq-sheet-border); }\n.lq-sheet-ribbon-bar { display: flex; flex: 1 1 auto; min-width: 0; overflow: hidden; }\n.lq-sheet-ribbon-group {\n display: flex;\n flex: none;\n flex-direction: column;\n justify-content: space-between;\n padding: 4px 8px 2px;\n border-inline-end: 1px solid var(--lq-sheet-gridline);\n}\n.lq-sheet-ribbon-group-body { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; max-width: 340px; }\n.lq-sheet-ribbon-group[data-group=\"library\"] .lq-sheet-ribbon-group-body { max-width: 620px; }\n.lq-sheet-ribbon-group-label { margin-top: 2px; font-size: 11px; line-height: 1.2; text-align: center; color: var(--lq-sheet-muted); white-space: nowrap; }\n.lq-sheet-ribbon--compact .lq-sheet-ribbon-group-label { display: none; }\n.lq-sheet-ribbon--compact .lq-sheet-ribbon-group { padding: 3px 6px; }\n.lq-sheet-ribbon--compact .lq-sheet-ribbon-panel { border-top: 0; }\n.lq-sheet-ribbon-control {\n display: inline-flex;\n gap: 4px;\n align-items: center;\n justify-content: center;\n min-width: 26px;\n height: 26px;\n padding: 0 5px;\n font: inherit;\n font-size: 12px;\n color: var(--lq-sheet-fg);\n background: transparent;\n border: 1px solid transparent;\n border-radius: 4px;\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n}\n.lq-sheet-ribbon-control::after { content: ''; position: absolute; inset: -3px 0; }\n@media (pointer: coarse) { .lq-sheet-ribbon-control::after { inset: -9px -4px; } }\n.lq-sheet-ribbon-control:hover { background: var(--lq-sheet-range-bg); }\n.lq-sheet-ribbon-control[aria-pressed=\"true\"], .lq-sheet-ribbon-control[aria-expanded=\"true\"] {\n background: var(--lq-sheet-range-bg);\n border-color: var(--lq-sheet-accent);\n}\n.lq-sheet-ribbon-control[aria-disabled=\"true\"], .lq-sheet-ribbon-select:disabled { color: var(--lq-sheet-muted); cursor: default; opacity: 0.6; }\n.lq-sheet-ribbon-control[aria-disabled=\"true\"]:hover { background: transparent; }\n.lq-sheet-ribbon-glyph { min-width: 14px; font-weight: 700; text-align: center; }\n.lq-sheet-ribbon-chevron { width: 10px; height: 10px; opacity: 0.7; }\n.lq-sheet-ribbon-color { position: relative; padding-bottom: 4px; }\n.lq-sheet-ribbon-swatch {\n position: absolute;\n inset-inline: 5px 17px;\n bottom: 2px;\n height: 3px;\n border: 1px solid var(--lq-sheet-border);\n border-radius: 1px;\n}\n.lq-sheet-ribbon-select {\n max-width: 132px;\n padding: 0 4px;\n background: var(--lq-sheet-input-bg);\n border-color: var(--lq-sheet-input-border);\n}\n.lq-sheet-ribbon-select[data-control=\"fitWidth\"], .lq-sheet-ribbon-select[data-control=\"fitHeight\"] { max-width: 176px; }\n.lq-sheet-ribbon-more { flex: none; align-self: center; margin: 0 6px; }\n.lq-sheet-ribbon-overflow { display: flex; flex-wrap: wrap; max-width: min(520px, 90vw); padding: 4px; }\n.lq-sheet-ribbon-overflow .lq-sheet-ribbon-group { box-sizing: border-box; max-width: 100%; border-inline-end: 0; }\n.lq-sheet-ribbon-overflow .lq-sheet-ribbon-group-body { max-width: 100%; }\n.lq-sheet-menu { max-height: min(420px, 70vh); overflow-y: auto; }\n.lq-sheet-menu-heading { padding: 8px 14px 4px; font-size: var(--lq-sheet-text-sm); font-weight: 600; color: var(--lq-sheet-muted); }\n.lq-sheet-menu-item[aria-checked=\"true\"] .lq-sheet-menu-label::before { content: \"✓ \"; }\n.lq-sheet-menu-item[aria-checked=\"false\"] .lq-sheet-menu-label { padding-inline-start: 1.1em; }\n.lq-sheet-palette { display: flex; flex-direction: column; gap: 8px; padding: 10px; }\n.lq-sheet-palette-grid { display: grid; grid-template-columns: repeat(10, 20px); gap: 3px; }\n.lq-sheet-palette-swatch { width: 20px; height: 20px; padding: 0; border: 1px solid var(--lq-sheet-border); border-radius: 3px; cursor: pointer; }\n.lq-sheet-palette-swatch[aria-pressed=\"true\"] { box-shadow: 0 0 0 2px var(--lq-sheet-accent); }\n.lq-sheet-palette-swatch:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-palette-custom { flex-direction: row; align-items: center; justify-content: space-between; }\n.lq-sheet-palette-custom input { width: 44px; height: 24px; padding: 0; }\n\n.lq-sheet-zoom { display: inline-flex; gap: 4px; align-items: center; margin-inline-start: auto; }\n.lq-sheet-zoom-slider { width: 96px; accent-color: var(--lq-sheet-accent); }\n.lq-sheet-zoom-button {\n min-width: 22px;\n height: 22px;\n padding: 0 4px;\n font: inherit;\n color: var(--lq-sheet-fg);\n background: transparent;\n border: 1px solid transparent;\n border-radius: 4px;\n cursor: pointer;\n}\n.lq-sheet-zoom-button:hover { background: var(--lq-sheet-range-bg); }\n.lq-sheet-zoom-button:focus-visible, .lq-sheet-zoom-slider:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-zoom-value { min-width: 44px; font-variant-numeric: tabular-nums; }\n\n.lq-sheet-sidepanel {\n display: flex;\n flex: none;\n flex-direction: column;\n width: 280px;\n max-width: 60%;\n min-height: 0;\n background: var(--lq-sheet-bg);\n border-inline-start: 1px solid var(--lq-sheet-border);\n}\n.lq-sheet-sidepanel[hidden] { display: none; }\n.lq-sheet-sidepanel-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid var(--lq-sheet-border); background: var(--lq-sheet-header-bg); }\n.lq-sheet-sidepanel-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; font-weight: 600; }\n.lq-sheet-sidepanel-icon { display: inline-flex; flex: none; margin-inline-end: 8px; color: var(--lq-sheet-muted); }\n.lq-sheet-sidepanel-icon[hidden] { display: none; }\n.lq-sheet-sidepanel-close { display: inline-flex; padding: 4px; color: var(--lq-sheet-fg); background: transparent; border: 0; border-radius: 4px; cursor: pointer; }\n.lq-sheet-sidepanel-close:hover { background: var(--lq-sheet-range-bg); }\n.lq-sheet-sidepanel-close:focus-visible { outline: 2px solid var(--lq-sheet-focus); }\n.lq-sheet-sidepanel-body { flex: 1 1 auto; min-height: 0; padding: 10px; overflow: auto; }\n.lq-sheet-spelling { display: flex; flex-direction: column; gap: 10px; }\n.lq-sheet-modal.lq-sheet-spelling-dialog { width: min(600px, calc(100% - 32px)); max-width: none; box-sizing: border-box; }\n.lq-sheet-spelling-word { display: block; min-height: 20px; font-size: var(--lq-font-size, 13px); font-weight: 600; color: var(--lq-sheet-fg); }\n.lq-sheet-spelling-context { margin: 0; font-size: var(--lq-sheet-text-sm, 12px); color: var(--lq-sheet-muted); overflow-wrap: anywhere; }\n.lq-sheet-spelling-mark { padding: 0 1px; color: inherit; background: transparent; text-decoration: underline wavy var(--lq-danger, #cf222e); text-underline-offset: 3px; }\n.lq-sheet-spelling-list { width: 100%; height: auto; min-height: 96px; padding: 2px; }\n.lq-sheet-thread-composer { position: relative; }\n.lq-sheet-mention { color: var(--lq-sheet-link, #0b62c4); font-weight: 600; }\n.lq-sheet-mention-list { position: absolute; z-index: 3; inset-inline: 0; top: 100%; display: flex; flex-direction: column; max-height: 200px; margin-top: 2px; padding: 4px; overflow: auto; color: var(--lq-sheet-fg); background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius, 6px); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18); }\n.lq-sheet-mention-list[hidden] { display: none; }\n.lq-sheet-mention-option { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; min-height: var(--lq-control-height, 32px); padding: 0 8px; line-height: var(--lq-control-height, 32px); border-radius: var(--lq-radius-control, 4px); cursor: pointer; }\n.lq-sheet-mention-option[aria-selected=\"true\"] { background: var(--lq-sheet-range-bg); outline: 1px solid var(--lq-sheet-focus); }\n.lq-sheet-mention-detail { font-size: var(--lq-sheet-text-sm, 12px); color: var(--lq-sheet-muted); }\n.lq-sheet-mention-option[aria-selected=\"true\"] .lq-sheet-mention-detail { color: inherit; }\n.lq-sheet-datepicker { padding: 8px; min-width: 252px; }\n.lq-sheet-datepicker-header { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 4px; }\n.lq-sheet-datepicker-title { flex: 1 1 auto; font-size: var(--lq-font-size, 13px); font-weight: 600; text-align: center; }\n.lq-sheet-datepicker-step { display: inline-flex; align-items: center; justify-content: center; width: var(--lq-control-height, 32px); height: var(--lq-control-height, 32px); padding: 0; color: var(--lq-sheet-fg); background: transparent; border: 0; border-radius: var(--lq-radius-control, 4px); cursor: pointer; }\n.lq-sheet-datepicker-grid { width: 100%; border-collapse: collapse; }\n.lq-sheet-datepicker-grid th { height: 24px; padding: 0; font-size: var(--lq-sheet-text-xs, 11px); font-weight: 600; color: var(--lq-sheet-muted); text-align: center; }\n.lq-sheet-datepicker-grid td { padding: 1px; text-align: center; }\n.lq-sheet-datepicker-day { width: 32px; height: 32px; padding: 0; font: inherit; font-variant-numeric: tabular-nums; color: var(--lq-sheet-fg); background: transparent; border: 1px solid transparent; border-radius: var(--lq-radius-control, 4px); cursor: pointer; }\n.lq-sheet-datepicker-day[data-outside=\"true\"] { color: var(--lq-sheet-muted); }\n.lq-sheet-datepicker-day[aria-current=\"date\"] { border-color: var(--lq-input-border, #818b98); font-weight: 600; }\n.lq-sheet-datepicker-day[data-selected=\"true\"] { background: color-mix(in srgb, var(--lq-accent, #1f6feb) 16%, transparent); border-color: color-mix(in srgb, var(--lq-accent, #1f6feb) 55%, transparent); }\n.lq-sheet-datepicker-day:hover, .lq-sheet-datepicker-step:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-datepicker-day:focus-visible, .lq-sheet-datepicker-step:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-datepicker-footer { display: flex; justify-content: flex-end; margin-top: 6px; }\n.lq-sheet-modal.lq-sheet-csv-dialog { width: min(560px, calc(100% - 32px)); max-width: none; box-sizing: border-box; }\n.lq-sheet-csv-dialog .lq-sheet-modal-body { min-width: 0; }\n.lq-sheet-spelling { min-width: 0; }\n.lq-sheet-csv-preview-wrap { max-width: 100%; max-height: 190px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius-control, 4px); }\n.lq-sheet-csv-preview-wrap:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-csv-preview { width: 100%; border-collapse: collapse; font-size: var(--lq-sheet-text-sm, 12px); color: var(--lq-sheet-fg); }\n.lq-sheet-csv-preview caption { padding: 4px 8px; color: var(--lq-sheet-muted); text-align: start; caption-side: top; }\n.lq-sheet-csv-preview td { max-width: 160px; padding: 3px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-top: 1px solid var(--lq-sheet-border); }\n.lq-sheet-csv-preview td[data-kind=\"number\"], .lq-sheet-csv-preview td[data-kind=\"date\"] { text-align: end; font-variant-numeric: tabular-nums; }\n.lq-sheet-chart-format { display: flex; flex-direction: column; gap: 10px; }\n.lq-sheet-chart-format-section { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 8px 10px 10px; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius-control, 4px); }\n.lq-sheet-chart-format-legend { padding: 0 4px; font-size: var(--lq-sheet-text-sm, 12px); font-weight: 600; color: var(--lq-sheet-fg); }\n.lq-sheet-chart-format-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: end; }\n.lq-sheet-chart-format-color { display: flex; gap: 10px; align-items: end; justify-content: space-between; }\n.lq-sheet-chart-format-swatch { width: 44px; height: var(--lq-control-height, 32px); padding: 2px; background: var(--lq-sheet-bg); border: 1px solid var(--lq-input-border, #818b98); border-radius: var(--lq-radius-control, 4px); cursor: pointer; }\n.lq-sheet-chart-format-swatch:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-chart-format .lq-sheet-select, .lq-sheet-chart-format input[type=\"text\"], .lq-sheet-chart-format input[type=\"number\"] { width: 100%; min-width: 0; box-sizing: border-box; }\n.lq-sheet-panel-heading { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--lq-sheet-muted); }\n.lq-sheet-panel-hint { margin: 8px 0; font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-pivot-panel { display: flex; flex-direction: column; gap: 6px; }\n.lq-sheet-pivot-fields { display: flex; flex-direction: column; gap: 0; max-height: 180px; padding: 6px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-pivot-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }\n.lq-sheet-pivot-list { display: flex; flex-direction: column; gap: 3px; min-height: 64px; padding: 4px; border: 1px dashed var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-pivot-list-over { border-color: var(--lq-sheet-accent); background: var(--lq-sheet-range-bg); }\n.lq-sheet-pivot-chip { padding: 3px 6px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; background: var(--lq-sheet-header-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; cursor: grab; }\n.lq-sheet-pivot-chip:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-pivot-empty { padding: 6px; font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-pivot-layout { display: flex; flex-direction: column; gap: 4px; }\n.lq-sheet-pivot-items { display: flex; flex-direction: column; gap: 2px; max-height: 240px; min-width: 220px; padding: 6px 8px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius-control, 4px); }\n.lq-sheet-comments-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }\n.lq-sheet-comment { display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-comment-cell { align-self: flex-start; padding: 0; font: inherit; font-weight: 600; color: var(--lq-sheet-accent); background: transparent; border: 0; cursor: pointer; text-decoration: underline; }\n.lq-sheet-comment-cell:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 2px; }\n.lq-sheet-comment-author { font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-comment-text { font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: 4px; resize: vertical; }\n.lq-sheet-comment-delete { align-self: flex-end; }\n\n.lq-sheet-slicers { position: absolute; right: 0; bottom: 0; z-index: 6; overflow: hidden; pointer-events: none; }\n.lq-sheet--rtl .lq-sheet-slicers { right: auto; left: 0; }\n.lq-sheet-slicer {\n position: absolute;\n display: flex;\n flex-direction: column;\n min-width: 96px;\n min-height: 64px;\n pointer-events: auto;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-menu-bg);\n border: 1px solid var(--lq-sheet-border);\n border-radius: 4px;\n box-shadow: var(--lq-sheet-menu-shadow);\n}\n.lq-sheet-slicer-header { display: flex; flex: none; align-items: center; min-height: 28px; padding: 4px 8px; padding-inline-end: 34px; font-weight: 600; background: var(--lq-sheet-header-bg); border-bottom: 1px solid var(--lq-sheet-border); cursor: move; touch-action: none; }\n.lq-sheet-slicer-header:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; }\n.lq-sheet-slicer-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.lq-sheet-slicer-clear { position: absolute; top: 2px; inset-inline-end: 4px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; color: inherit; background: transparent; border: 0; border-radius: 3px; cursor: pointer; }\n.lq-sheet-slicer-clear:disabled { opacity: 0.4; cursor: default; }\n.lq-sheet-slicer-clear:focus-visible { outline: 2px solid var(--lq-sheet-focus); }\n.lq-sheet-slicer-list { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-height: 0; padding: 6px; overflow: auto; }\n.lq-sheet-slicer-list:not([data-columns=\"1\"]) { display: grid; grid-template-columns: repeat(var(--lq-sheet-slicer-columns, 1), minmax(0, 1fr)); align-content: start; }\n.lq-sheet-slicer-item { flex: none; padding: 4px 8px; overflow: hidden; font: inherit; text-align: start; text-overflow: ellipsis; white-space: nowrap; color: var(--lq-sheet-muted); background: transparent; border: 1px solid var(--lq-sheet-border); border-radius: 3px; cursor: pointer; }\n.lq-sheet-slicer-item[aria-selected=\"true\"] { color: var(--lq-sheet-header-selected-fg); background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); }\n.lq-sheet-slicer-item[aria-disabled=\"true\"] { cursor: default; }\n.lq-sheet-slicer-item:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n\n.lq-sheet-filter { max-height: min(520px, 80vh); overflow: auto; }\n.lq-sheet-filter-advanced { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }\n.lq-sheet-filter-advanced > summary { cursor: pointer; color: var(--lq-sheet-muted); }\n.lq-sheet-filter-advanced .lq-sheet-field { margin-top: 6px; }\n.lq-sheet-filter-advanced .lq-sheet-field[hidden], .lq-sheet-filter-list [hidden], .lq-sheet-field[hidden], .lq-sheet-check[hidden] { display: none; }\n.lq-sheet-filter-year > summary { display: flex; gap: 6px; align-items: center; cursor: pointer; }\n.lq-sheet-filter-month { padding-inline-start: 22px; }\n.lq-sheet-dialog-note { margin: 0; font-size: 12px; color: var(--lq-sheet-muted); }\n.lq-sheet-sort-levels { display: flex; flex-direction: column; gap: 6px; }\n.lq-sheet-sort-level { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) repeat(3, 32px); gap: 4px; align-items: center; }\n.lq-sheet-sort-level > .lq-sheet-select { width: 100%; min-width: 0; }\n.lq-sheet-sort-level > .lq-sheet-button { min-height: 28px; padding: 4px 0; text-align: center; }\n.lq-sheet-function-list { height: 180px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-function-list .lq-sheet-option[aria-selected=\"true\"] { background: var(--lq-sheet-range-bg); }\n.lq-sheet-function-detail { min-height: 3.6em; font-size: 12px; }\n.lq-sheet-function-detail p { margin: 2px 0 0; color: var(--lq-sheet-muted); }\n.lq-sheet-split-preview { min-height: 1.3em; font-size: 12px; color: var(--lq-sheet-muted); }\n@media (forced-colors: active) {\n .lq-sheet-ribbon-control[aria-pressed=\"true\"], .lq-sheet-ribbon-tab[aria-selected=\"true\"], .lq-sheet-slicer-item[aria-selected=\"true\"] {\n outline: 2px solid Highlight;\n outline-offset: -2px;\n }\n .lq-sheet-palette-swatch { forced-color-adjust: none; }\n}\n\n.lq-sheet-shapes {\n position: absolute;\n inset: 0;\n pointer-events: none;\n}\n.lq-sheet-shape-pane { position: absolute; overflow: hidden; }\n.lq-sheet-shape {\n position: absolute;\n box-sizing: border-box;\n pointer-events: auto;\n cursor: move;\n outline: none;\n touch-action: none;\n transform-origin: 50% 50%;\n}\n.lq-sheet-shape-body { position: absolute; inset: 0; }\n.lq-sheet-shape-svg { display: block; overflow: visible; }\n.lq-sheet-shape-outline:not([fill]) { fill: color-mix(in srgb, var(--lq-sheet-accent) 16%, var(--lq-sheet-bg)); }\n.lq-sheet-shape-outline:not([stroke]), .lq-sheet-shape-stroke:not([stroke]) { stroke: var(--lq-sheet-accent); }\n.lq-sheet-shape-arrowhead:not([fill]) { fill: var(--lq-sheet-accent); }\n.lq-sheet-shape-textBox .lq-sheet-shape-outline:not([fill]) { fill: var(--lq-sheet-bg); }\n.lq-sheet-shape-textBox .lq-sheet-shape-outline:not([stroke]) { stroke: var(--lq-sheet-border); }\n.lq-sheet-shape-text, .lq-sheet-shape-editor {\n position: absolute;\n inset: 0;\n box-sizing: border-box;\n margin: 0;\n padding: 6px;\n overflow: hidden;\n color: var(--lq-sheet-fg);\n font: inherit;\n line-height: 1.3;\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n.lq-sheet-shape-text {\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n pointer-events: none;\n}\n.lq-sheet-shape-textBox > .lq-sheet-shape-text { display: block; text-align: start; }\n.lq-sheet-shape-flat > .lq-sheet-shape-text,\n.lq-sheet-shape-editing > .lq-sheet-shape-text { display: none; }\n.lq-sheet-shape-editor {\n width: 100%;\n height: 100%;\n border: 0;\n background: var(--lq-sheet-bg);\n resize: none;\n cursor: text;\n outline: 2px solid var(--lq-sheet-focus);\n outline-offset: -2px;\n}\n.lq-sheet-shape-selected, .lq-sheet-shape:focus-visible {\n outline: 2px solid var(--lq-sheet-focus);\n outline-offset: 3px;\n}\n.lq-sheet-shape-handle, .lq-sheet-shape-rotate {\n position: absolute;\n display: none;\n box-sizing: border-box;\n width: 10px;\n height: 10px;\n margin: -5px 0 0 -5px;\n border: 1px solid var(--lq-sheet-accent);\n background: var(--lq-sheet-bg);\n}\n.lq-sheet-shape-handle::after, .lq-sheet-shape-rotate::after { content: ''; position: absolute; inset: -7px; }\n.lq-sheet-shape-selected > .lq-sheet-shape-handle, .lq-sheet-shape-selected > .lq-sheet-shape-rotate { display: block; }\n.lq-sheet-shape-locked > .lq-sheet-shape-handle, .lq-sheet-shape-locked > .lq-sheet-shape-rotate,\n.lq-sheet-shape-editing > .lq-sheet-shape-handle, .lq-sheet-shape-editing > .lq-sheet-shape-rotate { display: none; }\n.lq-sheet-shape-flat > .lq-sheet-shape-handle:not([data-handle='nw']):not([data-handle='se']) { display: none; }\n.lq-sheet-shape-handle, .lq-sheet-shape-rotate { transform: scale(calc(1 / var(--lq-sheet-shape-zoom, 1))); }\n.lq-sheet-shape-handle[data-handle='nw'] { left: 0; top: 0; cursor: nwse-resize; }\n.lq-sheet-shape-handle[data-handle='n'] { left: 50%; top: 0; cursor: ns-resize; }\n.lq-sheet-shape-handle[data-handle='ne'] { left: 100%; top: 0; cursor: nesw-resize; }\n.lq-sheet-shape-handle[data-handle='e'] { left: 100%; top: 50%; cursor: ew-resize; }\n.lq-sheet-shape-handle[data-handle='se'] { left: 100%; top: 100%; cursor: nwse-resize; }\n.lq-sheet-shape-handle[data-handle='s'] { left: 50%; top: 100%; cursor: ns-resize; }\n.lq-sheet-shape-handle[data-handle='sw'] { left: 0; top: 100%; cursor: nesw-resize; }\n.lq-sheet-shape-handle[data-handle='w'] { left: 0; top: 50%; cursor: ew-resize; }\n.lq-sheet-shape-rotate {\n left: 50%;\n top: -24px;\n border-radius: 50%;\n cursor: grab;\n transition: background-color 0.12s;\n}\n.lq-sheet-shape-rotate:hover { background: var(--lq-sheet-accent); }\n.lq-sheet-shape-locked { cursor: default; }\n@media (prefers-reduced-motion: reduce) {\n .lq-sheet-shape-rotate { transition: none; }\n}\n@media (forced-colors: active) {\n .lq-sheet-shape-outline, .lq-sheet-shape-outline:not([fill]) { fill: Canvas; }\n .lq-sheet-shape-outline, .lq-sheet-shape-stroke,\n .lq-sheet-shape-outline:not([stroke]), .lq-sheet-shape-stroke:not([stroke]) { stroke: CanvasText; }\n .lq-sheet-shape-arrowhead, .lq-sheet-shape-arrowhead:not([fill]) { fill: CanvasText; }\n .lq-sheet-shape-text { color: CanvasText !important; }\n .lq-sheet-shape-selected, .lq-sheet-shape:focus-visible { outline-color: Highlight; }\n .lq-sheet-shape-handle, .lq-sheet-shape-rotate { border-color: Highlight; background: Canvas; }\n}\n\n.lq-sheet-outline[hidden] { display: none; }\n.lq-sheet-dialog-hint {\n margin: 2px 0 8px;\n font-size: 12px;\n line-height: 1.4;\n color: var(--lq-sheet-muted);\n}\n\n.lq-sheet-cell { font-size: calc(var(--lq-sheet-font-size) * var(--lq-sheet-zoom, 1)); }\n.lq-sheet-colhead,\n.lq-sheet-rowhead { font-size: calc(12px * var(--lq-sheet-zoom, 1)); }\n.lq-sheet-editor-input,\n.lq-sheet-editor > .lq-sheet-mirror { font-size: calc(var(--lq-sheet-font-size) * var(--lq-sheet-zoom, 1)); }\n.lq-sheet--no-headings .lq-sheet-colheads,\n.lq-sheet--no-headings .lq-sheet-rowhead,\n.lq-sheet-colheads[hidden],\n.lq-sheet-rowhead[hidden] { display: none; }\n\n.lq-sheet-move-preview {\n position: absolute;\n border: 2px solid var(--lq-sheet-accent);\n background: var(--lq-sheet-range-bg);\n opacity: 0.7;\n}\n.lq-sheet-move-handle {\n position: absolute;\n pointer-events: auto;\n cursor: move;\n}\n.lq-sheet--painting .lq-sheet-move-handle { pointer-events: none; }\n.lq-sheet--painting .lq-sheet-cell,\n.lq-sheet--painting .lq-sheet-colhead,\n.lq-sheet--painting .lq-sheet-rowhead { cursor: copy; }\n\n.lq-sheet-controls {\n position: absolute;\n inset: 0;\n z-index: 7;\n overflow: hidden;\n pointer-events: none;\n}\n.lq-sheet-freeze-bar,\n.lq-sheet-unhide { position: absolute; pointer-events: auto; }\n.lq-sheet-paste-options {\n position: absolute;\n display: inline-flex;\n align-items: center;\n gap: 1px;\n box-sizing: border-box;\n height: 28px;\n padding: 0 4px;\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-menu-bg);\n border: 1px solid var(--lq-sheet-input-border, var(--lq-sheet-border));\n border-radius: 4px;\n box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);\n cursor: pointer;\n pointer-events: auto;\n}\n.lq-sheet-paste-options[hidden] { display: none; }\n.lq-sheet-cell.lq-sheet-has-check::before {\n content: \"\";\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n border-top: 6px solid var(--lq-sheet-check-marker, #1a7f37);\n border-inline-end: 6px solid transparent;\n}\n.lq-sheet-error-check {\n position: absolute;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n padding: 0;\n color: #9a6700;\n background: var(--lq-sheet-menu-bg);\n border: 1px solid var(--lq-sheet-input-border, var(--lq-sheet-border));\n border-radius: 4px;\n box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);\n cursor: pointer;\n pointer-events: auto;\n}\n.lq-sheet-error-check[hidden] { display: none; }\n.lq-sheet-error-check:hover { background: var(--lq-sheet-header-bg); }\n.lq-sheet-error-check:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-touch-handle {\n position: absolute;\n z-index: 2;\n width: 30px;\n height: 30px;\n border-radius: 50%;\n pointer-events: auto;\n touch-action: none;\n cursor: grab;\n}\n.lq-sheet-touch-handle-start { margin: -22px; }\n.lq-sheet-touch-handle-end { margin: -8px; }\n.lq-sheet-touch-handle[hidden] { display: none; }\n.lq-sheet-touch-handle::before {\n content: \"\";\n position: absolute;\n inset: 7px;\n background: var(--lq-sheet-bg);\n border: 2px solid var(--lq-sheet-accent);\n border-radius: 50%;\n box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);\n}\n.lq-sheet-touch-handle-active::before { background: var(--lq-sheet-accent); }\n.lq-sheet--touch .lq-sheet-fill-handle { border-radius: 2px; touch-action: none; }\n.lq-sheet--touch .lq-sheet-fill-handle::after { content: \"\"; position: absolute; inset: -1px -9px -16px; }\n.lq-sheet-paste-options:hover { background: var(--lq-sheet-header-bg); }\n.lq-sheet-paste-options:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-paste-options[aria-expanded=\"true\"] { border-color: var(--lq-sheet-accent); }\n.lq-sheet-freeze-bar {\n box-sizing: border-box;\n background: var(--lq-sheet-border);\n outline: none;\n touch-action: none;\n}\n.lq-sheet-freeze-bar[hidden] { display: none; }\n.lq-sheet-freeze-bar-row { height: 5px; cursor: row-resize; }\n.lq-sheet-freeze-bar-col { width: 5px; cursor: col-resize; }\n.lq-sheet-freeze-bar:hover,\n.lq-sheet-freeze-bar:focus-visible { background: var(--lq-sheet-accent); }\n.lq-sheet-freeze-bar:focus-visible { box-shadow: 0 0 0 2px var(--lq-sheet-bg), 0 0 0 4px var(--lq-sheet-focus); }\n.lq-sheet-split-bar {\n position: absolute;\n box-sizing: border-box;\n background: var(--lq-sheet-border);\n outline: none;\n pointer-events: auto;\n touch-action: none;\n}\n.lq-sheet-split-bar[hidden] { display: none; }\n.lq-sheet-split-bar-row { cursor: row-resize; }\n.lq-sheet-split-bar-col { cursor: col-resize; }\n.lq-sheet-split-bar[aria-disabled=\"true\"] { cursor: default; }\n.lq-sheet-split-bar:not([aria-disabled=\"true\"]):hover,\n.lq-sheet-split-bar:focus-visible { background: var(--lq-sheet-accent); }\n.lq-sheet-split-bar:focus-visible { box-shadow: 0 0 0 2px var(--lq-sheet-bg), 0 0 0 4px var(--lq-sheet-focus); }\n.lq-sheet-freeze-guide {\n position: absolute;\n background: var(--lq-sheet-accent);\n pointer-events: none;\n}\n.lq-sheet-freeze-guide[hidden] { display: none; }\n.lq-sheet-unhide {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12px;\n height: 12px;\n padding: 0;\n overflow: hidden;\n font: inherit;\n font-size: 9px;\n line-height: 1;\n color: var(--lq-sheet-head-strong-fg);\n background: var(--lq-sheet-head-surface);\n border: 1px solid var(--lq-sheet-head-border);\n border-radius: 2px;\n cursor: pointer;\n}\n.lq-sheet-unhide::before { content: \"↔\"; }\n.lq-sheet-unhide-row::before { content: \"↕\"; }\n.lq-sheet-unhide:hover,\n.lq-sheet-unhide:focus-visible { color: var(--lq-sheet-header-selected-fg); background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); }\n.lq-sheet-unhide:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-paste-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n.lq-sheet-shift-choices { grid-template-columns: minmax(0, 1fr); min-width: 240px; }\n.lq-sheet-cf-style-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }\n.lq-sheet-cf-style-row[hidden] { display: none; }\n.lq-sheet-cf-preview {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n min-width: 96px;\n height: 28px;\n padding: 0 8px;\n font-size: 12px;\n color: #1f2328;\n background: #ffffff;\n border: 1px solid var(--lq-sheet-border);\n border-radius: 2px;\n white-space: nowrap;\n}\n.lq-sheet-cf-scale-swatch { display: inline-block; flex: none; width: 16px; height: 16px; margin-inline-start: 6px; border: 1px solid var(--lq-sheet-input-border); border-radius: 3px; }\n.lq-sheet-cf-scale-preview { display: block; height: 16px; margin-top: 8px; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-sheet-radius-control); }\n.lq-sheet-cf-preview-bar { background: linear-gradient(90deg, var(--lq-sheet-cf-bar, #638ec6) 62%, #ffffff 62%); }\n.lq-sheet-cf-manager { width: min(760px, 100%); }\n.lq-sheet-cf-manager-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }\n.lq-sheet-cf-scope-field { flex: 0 1 240px; }\n.lq-sheet-cf-rules { display: flex; flex-direction: column; gap: 0; max-height: min(340px, 50vh); margin: 0; padding: 0; overflow: auto; list-style: none; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-cf-rules:empty { display: none; }\n.lq-sheet-cf-rule { display: grid; grid-template-columns: 20px minmax(120px, 1.4fr) auto minmax(90px, 1fr) auto auto; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid var(--lq-sheet-border); }\n.lq-sheet-cf-rule:last-child { border-bottom: 0; }\n.lq-sheet-cf-rule-order { font-size: 12px; color: var(--lq-sheet-muted); text-align: center; font-variant-numeric: tabular-nums; }\n.lq-sheet-cf-rule-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.lq-sheet-cf-rule-range { min-width: 0; width: 100%; }\n.lq-sheet-cf-rule-actions { display: inline-flex; gap: 2px; }\n.lq-sheet-icon-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 28px; height: 28px; padding: 0; color: var(--lq-sheet-fg); background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; }\n.lq-sheet-icon-button:hover { background: var(--lq-sheet-range-bg); }\n.lq-sheet-icon-button:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-icon-button:disabled { opacity: 0.55; cursor: not-allowed; }\n@media (max-width: 620px) {\n .lq-sheet-cf-rule { grid-template-columns: 20px minmax(0, 1fr) auto; }\n .lq-sheet-cf-rule-range { grid-column: 2 / -1; }\n}\n.lq-sheet-goto-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 340px; }\n.lq-sheet-goto .lq-sheet-modal-body { min-width: 300px; }\n.lq-sheet-goto-list { height: auto; min-height: 132px; padding: 2px; }\n\n@media (prefers-reduced-motion: reduce) {\n .lq-sheet-freeze-bar, .lq-sheet-split-bar, .lq-sheet-unhide { transition: none; }\n}\n@media (forced-colors: active) {\n .lq-sheet-move-preview { border-color: Highlight; background: transparent; opacity: 1; }\n .lq-sheet-freeze-bar,\n .lq-sheet-split-bar { background: ButtonText; }\n .lq-sheet-freeze-bar:hover,\n .lq-sheet-freeze-bar:focus-visible,\n .lq-sheet-split-bar:not([aria-disabled=\"true\"]):hover,\n .lq-sheet-split-bar:focus-visible,\n .lq-sheet-freeze-guide { background: Highlight; }\n .lq-sheet-unhide { color: ButtonText; background: ButtonFace; border-color: ButtonText; }\n .lq-sheet-unhide:hover,\n .lq-sheet-unhide:focus-visible { color: HighlightText; background: Highlight; border-color: Highlight; }\n}\n\n.lq-sheet-comment-marks { position: absolute; inset: 0; z-index: 4; pointer-events: none; }\n.lq-sheet-comment-mark {\n position: absolute;\n width: 8px;\n height: 8px;\n pointer-events: auto;\n cursor: pointer;\n background: linear-gradient(to bottom left, #8250df 50%, transparent 50%);\n}\n.lq-sheet--rtl .lq-sheet-comment-mark { background: linear-gradient(to bottom right, #8250df 50%, transparent 50%); }\n.lq-sheet-comment-mark-resolved { opacity: 0.45; }\n.lq-sheet-threads { display: flex; flex-direction: column; gap: 10px; }\n.lq-sheet-thread { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; }\n.lq-sheet-thread-resolved { background: var(--lq-sheet-header-bg); }\n.lq-sheet-thread-badge { align-self: flex-start; padding: 0 6px; font-size: 11px; color: var(--lq-sheet-muted); border: 1px solid var(--lq-sheet-border); border-radius: 8px; }\n.lq-sheet-thread-meta { display: flex; gap: 8px; align-items: baseline; font-size: 12px; }\n.lq-sheet-thread-meta time { color: var(--lq-sheet-muted); }\n.lq-sheet-thread-text { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }\n.lq-sheet-thread-replies { display: flex; flex-direction: column; gap: 6px; padding-inline-start: 10px; border-inline-start: 2px solid var(--lq-sheet-border); }\n.lq-sheet-thread-composer { display: flex; flex-direction: column; gap: 4px; }\n.lq-sheet-thread-input { font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: 4px; resize: vertical; }\n.lq-sheet-thread-send { align-self: flex-end; }\n@media (forced-colors: active) {\n .lq-sheet-comment-mark { forced-color-adjust: none; background: Highlight; }\n}\n.lq-sheet-rich-mode { color: transparent !important; caret-color: var(--lq-sheet-fg); }\n.lq-sheet-rich-mode::selection { color: transparent; background: var(--lq-sheet-range-bg); }\n.lq-sheet-run-bold { -webkit-text-stroke: 0.045em currentColor; }\n.lq-sheet-run-regular { font-weight: 400; }\n.lq-sheet-run-italic { font-style: italic; }\n.lq-sheet-run-upright { font-style: normal; }\n.lq-sheet-run-underline { text-decoration: underline; }\n.lq-sheet-run-strike { text-decoration: line-through; }\n.lq-sheet-run-underline.lq-sheet-run-strike { text-decoration: underline line-through; }\n.lq-sheet-ribbon-tab { min-height: var(--lq-sheet-control-height); padding: 0 12px; border-radius: var(--lq-sheet-radius-control) var(--lq-sheet-radius-control) 0 0; }\n.lq-sheet-ribbon-tab:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-ribbon-tab:focus-visible, .lq-sheet-ribbon-control:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; }\n.lq-sheet-ribbon-group { padding: 6px 10px 4px; border-inline-end-color: var(--lq-sheet-border); }\n.lq-sheet-ribbon-group-body {\n gap: 4px 2px;\n align-content: flex-start;\n max-width: 252px;\n min-height: calc(var(--lq-sheet-control-compact) * 3 + 8px);\n}\n.lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group=\"library\"] .lq-sheet-ribbon-group-body { max-width: 430px; }\n.lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group=\"fileDownload\"] .lq-sheet-ribbon-group-body { max-width: 380px; }\n.lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group=\"show\"] .lq-sheet-ribbon-group-body { max-width: 340px; }\n.lq-sheet-ribbon--compact .lq-sheet-ribbon-bar .lq-sheet-ribbon-group .lq-sheet-ribbon-group-body, .lq-sheet-ribbon-overflow .lq-sheet-ribbon-group-body { max-width: none; min-height: 0; }\n.lq-sheet-ribbon-group-label { margin-top: 4px; font-size: var(--lq-sheet-text-xs); }\n.lq-sheet-ribbon-control {\n min-width: var(--lq-sheet-control-compact);\n height: var(--lq-sheet-control-compact);\n padding: 0 6px;\n font-size: var(--lq-sheet-font-size);\n border-radius: var(--lq-sheet-radius-control);\n}\n.lq-sheet-ribbon-control::after { inset: -2px 0; }\n.lq-sheet-ribbon-control:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-ribbon-control:active { background: var(--lq-sheet-active); }\n.lq-sheet-ribbon-control[aria-pressed=\"true\"], .lq-sheet-ribbon-control[aria-expanded=\"true\"] {\n background: var(--lq-sheet-selected);\n border-color: var(--lq-sheet-selected-edge);\n}\n.lq-sheet-ribbon-control[aria-disabled=\"true\"], .lq-sheet-ribbon-select:disabled { color: inherit; cursor: not-allowed; opacity: 0.55; }\n.lq-sheet-ribbon-control[aria-disabled=\"true\"]:hover, .lq-sheet-ribbon-control[aria-disabled=\"true\"]:active { background: transparent; }\n.lq-sheet-ribbon-select { height: var(--lq-sheet-control-compact); padding: 0 6px; }\n.lq-sheet-ribbon--compact .lq-sheet-ribbon-group { padding: 4px 8px; }\n.lq-sheet-ribbon--compact .lq-sheet-ribbon-control > svg ~ .lq-sheet-ribbon-text { display: none; }\n.lq-sheet-ribbon { position: relative; }\n.lq-sheet-ribbon-head { display: flex; align-items: flex-end; min-width: 0; }\n.lq-sheet-ribbon-head[hidden], .lq-sheet-ribbon-panel[hidden] { display: none; }\n.lq-sheet-ribbon-head > .lq-sheet-ribbon-tabs { flex: 1 1 auto; min-width: 0; }\n.lq-sheet-ribbon-display { flex: none; align-self: center; margin-inline: 4px 8px; }\n.lq-sheet-ribbon-search {\n position: relative;\n display: flex;\n flex: 0 1 220px;\n gap: 6px;\n align-items: center;\n align-self: center;\n box-sizing: border-box;\n min-width: 120px;\n height: var(--lq-sheet-control-compact);\n margin-inline-start: 8px;\n padding: 0 8px;\n color: var(--lq-sheet-muted);\n background: var(--lq-sheet-input-bg);\n border: 1px solid var(--lq-sheet-input-border);\n border-radius: var(--lq-sheet-radius-control);\n}\n.lq-sheet-ribbon-search[hidden] { display: none; }\n.lq-sheet-ribbon-search:focus-within { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-ribbon-search-input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; padding: 0; font: inherit; color: var(--lq-sheet-fg); background: transparent; border: 0; outline: none; }\n.lq-sheet-ribbon-search-input::placeholder { color: var(--lq-sheet-muted); opacity: 1; }\n.lq-sheet-ribbon-search-input::-webkit-search-cancel-button { display: none; }\n.lq-sheet-command-list { top: calc(100% + 4px); inset-inline-end: 0; min-width: 320px; max-width: min(460px, 90vw); max-height: min(420px, 70vh); padding: 4px 0; overflow-y: auto; }\n.lq-sheet-command-list[hidden] { display: none; }\n.lq-sheet-command-option { display: grid; grid-template-columns: 16px minmax(0, auto) minmax(0, 1fr); gap: 8px; align-items: center; min-height: var(--lq-sheet-control-height); padding: 0 12px; color: var(--lq-sheet-fg); cursor: pointer; }\n.lq-sheet-command-option:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-command-option[aria-selected=\"true\"] { background: var(--lq-sheet-selected); outline: 1px solid var(--lq-sheet-selected-edge); outline-offset: -1px; }\n.lq-sheet-command-option[aria-disabled=\"true\"] { cursor: not-allowed; opacity: 0.55; }\n.lq-sheet-command-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.lq-sheet-command-path { overflow: hidden; font-size: var(--lq-sheet-text-sm); color: var(--lq-sheet-muted); text-align: end; text-overflow: ellipsis; white-space: nowrap; }\n.lq-sheet-command-empty { padding: 8px 12px; color: var(--lq-sheet-muted); }\n.lq-sheet--narrow .lq-sheet-ribbon-search { flex: none; width: 32px; min-width: 32px; padding: 0 7px; }\n.lq-sheet--narrow .lq-sheet-ribbon-search:focus-within { position: absolute; inset-inline: 8px; z-index: 16; width: auto; }\n@media (forced-colors: active) {\n .lq-sheet-command-option[aria-selected=\"true\"] { color: HighlightText; background: Highlight; forced-color-adjust: none; }\n}\n.lq-sheet-ribbon-sep { flex: none; align-self: center; width: 1px; height: 18px; margin-inline: 3px; background: var(--lq-sheet-border); }\n.lq-sheet-ribbon-sep:first-child, .lq-sheet-ribbon-sep:last-child { display: none; }\n.lq-sheet-ribbon-group-body--rows { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 4px; max-width: none; }\n.lq-sheet-ribbon-row { display: flex; gap: 2px; align-items: center; }\n.lq-sheet-ribbon-row:empty { display: none; }\n.lq-sheet-ribbon--tight .lq-sheet-ribbon-text--wide, .lq-sheet-ribbon--icons .lq-sheet-ribbon-control > svg ~ .lq-sheet-ribbon-text { display: none; }\n.lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group { flex-direction: row; align-items: center; padding: 5px 4px; }\n.lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar :is([data-control=\"fontFamily\"], [data-control=\"numberFormat\"]) { max-width: 112px; }\n.lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group=\"history\"] .lq-sheet-ribbon-row::before { display: none; }\n.lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group-label { display: none; }\n.lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group .lq-sheet-ribbon-group-body { flex-wrap: nowrap; max-width: none; min-height: 0; }\n.lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group-body--rows { flex-direction: row; align-items: center; gap: 2px; }\n.lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-row + .lq-sheet-ribbon-row::before { content: ''; flex: none; width: 1px; height: 18px; margin-inline: 2px; background: var(--lq-sheet-border); }\n.lq-sheet-ribbon--open .lq-sheet-ribbon-panel {\n position: absolute;\n inset-inline: 0;\n top: 100%;\n z-index: 15;\n border-bottom: 1px solid var(--lq-sheet-border);\n box-shadow: var(--lq-sheet-menu-shadow);\n}\n.lq-sheet-formula-bar { min-height: 36px; }\n.lq-sheet-namebox { height: var(--lq-sheet-control-compact); margin: 4px; padding: 0 8px; border-radius: var(--lq-sheet-radius-control); }\n.lq-sheet-namebox:focus-visible { outline-offset: 1px; }\n.lq-sheet-fx { padding: 0 10px 0 6px; border-inline-end: 0; }\n.lq-sheet-input-wrap {\n min-height: var(--lq-sheet-control-compact);\n margin: 4px 4px 4px 0;\n background: var(--lq-sheet-input-bg);\n border: 1px solid var(--lq-sheet-input-border);\n border-radius: var(--lq-sheet-radius-control);\n}\n.lq-sheet-formula-input, .lq-sheet-input-wrap > .lq-sheet-mirror { padding: 4px 8px; }\n.lq-sheet-formula-input { border-radius: inherit; }\n.lq-sheet-formula-input:focus-visible { box-shadow: none; outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-menu { padding: 4px; border-radius: var(--lq-sheet-radius); }\n.lq-sheet-menu-item {\n align-items: center;\n min-height: var(--lq-sheet-control-height);\n padding: 0 10px;\n border-radius: var(--lq-sheet-radius-control);\n cursor: pointer;\n}\n.lq-sheet-menu-item:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-menu-item:active { background: var(--lq-sheet-active); }\n.lq-sheet-menu-item:focus-visible { background: var(--lq-sheet-hover); outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; }\n.lq-sheet-menu-item[aria-disabled=\"true\"] { color: inherit; opacity: 0.55; cursor: not-allowed; }\n.lq-sheet-menu-item[aria-disabled=\"true\"]:hover, .lq-sheet-menu-item[aria-disabled=\"true\"]:active { background: transparent; }\n.lq-sheet-menu-item[aria-checked=\"true\"] { background: var(--lq-sheet-selected); }\n.lq-sheet-menu-shortcut { font-size: var(--lq-sheet-text-xs); }\n.lq-sheet-menu-separator { margin: 4px -4px; }\n.lq-sheet-menu-heading { padding: 8px 10px 4px; }\n.lq-sheet-dropdown { padding: 4px; }\n.lq-sheet-option { display: flex; align-items: center; min-height: var(--lq-sheet-control-height); padding: 0 10px; border-radius: var(--lq-sheet-radius-control); }\n.lq-sheet-option:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-option:focus, .lq-sheet-option:focus-visible { background: var(--lq-sheet-hover); outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; }\n.lq-sheet-option[aria-selected=\"true\"] { background: var(--lq-sheet-selected); }\n.lq-sheet-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: var(--lq-sheet-control-height);\n padding: 0 12px;\n background: var(--lq-sheet-bg);\n border-color: var(--lq-sheet-input-border);\n border-radius: var(--lq-sheet-radius-control);\n}\n.lq-sheet-button:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-button:active { background: var(--lq-sheet-active); }\n.lq-sheet-button-primary { background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); }\n.lq-sheet-button-primary:hover { background: color-mix(in srgb, var(--lq-sheet-accent) 88%, var(--lq-sheet-fg)); }\n.lq-sheet-button-primary:active { background: color-mix(in srgb, var(--lq-sheet-accent) 76%, var(--lq-sheet-fg)); }\n.lq-sheet-button:disabled, .lq-sheet-button[aria-disabled=\"true\"], .lq-sheet-icon-button:disabled { opacity: 0.55; cursor: not-allowed; }\n.lq-sheet-button:focus-visible, .lq-sheet-tab:focus-visible, .lq-sheet-tab-add:focus-visible, .lq-sheet-icon-button:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-select, .lq-sheet-modal input[type=\"text\"], .lq-sheet-modal input[type=\"number\"], .lq-sheet-modal input[type=\"password\"], .lq-sheet-field input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"color\"]) {\n min-height: var(--lq-sheet-control-height);\n padding: 0 8px;\n font: inherit;\n font-size: var(--lq-sheet-font-size);\n color: var(--lq-sheet-fg);\n background: var(--lq-sheet-input-bg);\n border: 1px solid var(--lq-sheet-input-border);\n border-radius: var(--lq-sheet-radius-control);\n}\n.lq-sheet-modal textarea { padding: 6px 8px; border-radius: var(--lq-sheet-radius-control); }\n.lq-sheet-select[multiple], .lq-sheet-select[size] { padding: 4px; }\n.lq-sheet [aria-invalid=\"true\"]:not(.lq-sheet-cell) { border-color: var(--lq-sheet-danger); box-shadow: inset 0 0 0 1px var(--lq-sheet-danger); }\n.lq-sheet [aria-busy=\"true\"] { cursor: progress; }\n.lq-sheet-modal[aria-busy=\"true\"] .lq-sheet-actions { opacity: 0.7; }\n.lq-sheet-field { gap: 4px; font-size: var(--lq-sheet-text-sm); }\n.lq-sheet-check { min-height: var(--lq-sheet-control-compact); gap: 8px; }\n.lq-sheet-modal { gap: 10px; padding: 16px; border-radius: var(--lq-sheet-radius-dialog); }\n.lq-sheet-modal-title { font-size: var(--lq-sheet-text-lg); font-weight: 600; }\n.lq-sheet-modal-body { gap: 10px; }\n.lq-sheet-modal-status, .lq-sheet-modal-note, .lq-sheet-find-status { font-size: var(--lq-sheet-text-sm); }\n.lq-sheet-modal-status:empty { display: none; }\n.lq-sheet-actions { justify-content: flex-end; gap: 8px; }\n.lq-sheet-modal > .lq-sheet-actions { margin: 2px -16px 0; padding: 12px 16px 0; border-top: 1px solid var(--lq-sheet-border); }\n.lq-sheet-fieldset { gap: 4px 12px; padding: 8px 10px; border-radius: var(--lq-sheet-radius-control); }\n.lq-sheet-tab-button { min-height: var(--lq-sheet-control-height); padding: 0 12px; }\n.lq-sheet-tab-button:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-tab-button[aria-selected=\"true\"] { color: var(--lq-sheet-fg); }\n.lq-sheet-tab { min-height: var(--lq-sheet-control-compact); }\n.lq-sheet-tab:hover, .lq-sheet-tab-add:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-statusbar { font-size: var(--lq-sheet-text-sm); }\n.lq-sheet-sidepanel-header { min-height: 40px; padding: 4px 6px 4px 12px; }\n.lq-sheet-sidepanel-close { align-items: center; justify-content: center; width: var(--lq-sheet-control-compact); height: var(--lq-sheet-control-compact); padding: 0; }\n.lq-sheet-sidepanel-close:hover { background: var(--lq-sheet-hover); }\n.lq-sheet-sidepanel-close:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; }\n.lq-sheet-zoom-button:hover { background: var(--lq-sheet-hover); }\n@media (pointer: coarse) {\n .lq-sheet-ribbon-control::after { inset: -8px -4px; }\n .lq-sheet-menu-item, .lq-sheet-option { min-height: 44px; }\n}\n@media (forced-colors: active) {\n .lq-sheet-button, .lq-sheet-select, .lq-sheet-namebox, .lq-sheet-input-wrap { border-color: ButtonText; }\n .lq-sheet-button-primary, .lq-sheet-ribbon-control[aria-pressed=\"true\"], .lq-sheet-menu-item[aria-checked=\"true\"] { color: HighlightText; background: Highlight; forced-color-adjust: none; }\n .lq-sheet-button:disabled, .lq-sheet-ribbon-control[aria-disabled=\"true\"], .lq-sheet-menu-item[aria-disabled=\"true\"] { color: GrayText; opacity: 1; }\n}\n" = ` .lq-sheet { --lq-sheet-font-family: var(--lq-font-family, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); --lq-sheet-font-size: var(--lq-font-size, 13px); --lq-sheet-fg: var(--lq-fg, #1f2328); --lq-sheet-bg: var(--lq-bg, #ffffff); --lq-sheet-muted: var(--lq-muted-fg, #59636e); --lq-sheet-border: var(--lq-border, #d1d9e0); --lq-sheet-gridline: var(--lq-border-subtle, #e6eaef); --lq-sheet-header-bg: var(--lq-header-bg, #f6f8fa); --lq-sheet-header-fg: var(--lq-header-fg, #1f2328); --lq-sheet-header-active-bg: #dde7f6; --lq-sheet-header-selected-bg: var(--lq-accent, #1f6feb); --lq-sheet-header-selected-fg: var(--lq-accent-fg, #ffffff); --lq-sheet-accent: var(--lq-accent, #1f6feb); --lq-sheet-range-bg: var(--lq-range-bg, rgba(31, 111, 235, 0.14)); --lq-sheet-focus: var(--lq-focus-ring, #1f6feb); --lq-sheet-menu-bg: var(--lq-menu-bg, #ffffff); --lq-sheet-menu-shadow: var(--lq-menu-shadow, 0 8px 24px rgba(15, 23, 42, 0.16)); --lq-sheet-input-bg: var(--lq-input-bg, #ffffff); --lq-sheet-input-border: var(--lq-input-border, #818b98); --lq-sheet-radius: var(--lq-radius, 6px); --lq-sheet-danger: var(--lq-danger, #cf222e); --lq-sheet-hover: var(--lq-row-hover, #eef2f6); --lq-sheet-active: color-mix(in srgb, var(--lq-sheet-fg) 12%, transparent); --lq-sheet-selected: color-mix(in srgb, var(--lq-sheet-accent) 16%, var(--lq-sheet-bg)); --lq-sheet-selected-edge: color-mix(in srgb, var(--lq-sheet-accent) 55%, transparent); --lq-sheet-control-height: var(--lq-control-height, 32px); --lq-sheet-control-compact: var(--lq-control-height-compact, 28px); --lq-sheet-radius-control: var(--lq-radius-control, 4px); --lq-sheet-radius-dialog: var(--lq-radius-dialog, 8px); --lq-sheet-text-xs: var(--lq-text-xs, 11px); --lq-sheet-text-sm: var(--lq-text-sm, 12px); --lq-sheet-text-lg: var(--lq-text-lg, 15px); --lq-sheet-head-bg: var(--lq-sheet-header-bg); --lq-sheet-head-fg: var(--lq-sheet-muted); --lq-sheet-head-strong-fg: var(--lq-sheet-header-fg); --lq-sheet-head-active-bg: var(--lq-sheet-header-active-bg); --lq-sheet-head-selected-bg: var(--lq-sheet-header-selected-bg); --lq-sheet-head-selected-fg: var(--lq-sheet-header-selected-fg); --lq-sheet-head-border: var(--lq-sheet-border); --lq-sheet-head-gridline: var(--lq-sheet-gridline); --lq-sheet-head-surface: var(--lq-sheet-bg); position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 100%; height: var(--lq-sheet-height, 480px); min-height: 200px; overflow: hidden; font-family: var(--lq-sheet-font-family); font-size: var(--lq-sheet-font-size); line-height: 1.3; color: var(--lq-sheet-fg); background: var(--lq-sheet-bg); border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-sheet-radius); font-variant-numeric: tabular-nums; } .lq-sheet *, .lq-sheet *::before, .lq-sheet *::after { box-sizing: border-box; } .lq-sheet.lq-theme-light { --lq-fg: #1f2328; --lq-bg: #ffffff; --lq-muted-fg: #59636e; --lq-border: #d1d9e0; --lq-border-subtle: #e6eaef; --lq-header-bg: #f6f8fa; --lq-header-fg: #1f2328; --lq-accent: #1f6feb; --lq-accent-fg: #ffffff; --lq-range-bg: rgba(31, 111, 235, 0.14); --lq-focus-ring: #1f6feb; --lq-menu-bg: #ffffff; --lq-input-bg: #ffffff; --lq-input-border: #818b98; --lq-row-hover: #eef2f6; --lq-danger: #cf222e; color-scheme: light; } .lq-sheet.lq-theme-dark, .lq-theme-dark .lq-sheet:not(.lq-theme-light) { --lq-fg: #e6edf3; --lq-bg: #0d1117; --lq-muted-fg: #9198a1; --lq-border: #3d444d; --lq-border-subtle: #262c36; --lq-header-bg: #161b22; --lq-header-fg: #e6edf3; --lq-accent: #4493f8; --lq-accent-fg: #0d1117; --lq-range-bg: rgba(68, 147, 248, 0.2); --lq-focus-ring: #4493f8; --lq-menu-bg: #161b22; --lq-menu-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); --lq-input-bg: #0d1117; --lq-input-border: #6e7681; --lq-row-hover: #1f2630; --lq-danger: #ff7b72; --lq-sheet-header-active-bg: #1f2d44; --lq-sheet-danger: #ff7b72; --lq-sheet-link: #4493f8; --lq-sheet-picture-plate: #ffffff; color-scheme: dark; } @media (prefers-color-scheme: dark) { .lq-sheet.lq-theme-auto { --lq-fg: #e6edf3; --lq-bg: #0d1117; --lq-muted-fg: #9198a1; --lq-border: #3d444d; --lq-border-subtle: #262c36; --lq-header-bg: #161b22; --lq-header-fg: #e6edf3; --lq-accent: #4493f8; --lq-accent-fg: #0d1117; --lq-range-bg: rgba(68, 147, 248, 0.2); --lq-focus-ring: #4493f8; --lq-menu-bg: #161b22; --lq-menu-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); --lq-input-bg: #0d1117; --lq-input-border: #6e7681; --lq-row-hover: #1f2630; --lq-danger: #ff7b72; --lq-sheet-header-active-bg: #1f2d44; --lq-sheet-danger: #ff7b72; --lq-sheet-link: #4493f8; --lq-sheet-picture-plate: #ffffff; color-scheme: dark; } } .lq-sheet--light-sheet.lq-theme-dark .lq-sheet-layer, .lq-theme-dark .lq-sheet--light-sheet:not(.lq-theme-light) .lq-sheet-layer { --lq-sheet-fg: #1f2328; --lq-sheet-bg: #ffffff; --lq-sheet-muted: #59636e; --lq-sheet-border: #d1d9e0; --lq-sheet-gridline: #e6eaef; --lq-sheet-header-bg: #f6f8fa; --lq-sheet-header-fg: #1f2328; --lq-sheet-header-active-bg: #dde7f6; --lq-sheet-header-selected-bg: #1f6feb; --lq-sheet-header-selected-fg: #ffffff; --lq-sheet-accent: #1f6feb; --lq-sheet-range-bg: rgba(31, 111, 235, 0.14); --lq-sheet-focus: #1f6feb; --lq-sheet-menu-bg: #ffffff; --lq-sheet-menu-shadow: 0 8px 24px rgba(15, 23, 42, 0.16); --lq-sheet-input-bg: #ffffff; --lq-sheet-input-border: #818b98; --lq-sheet-hover: #eef2f6; --lq-sheet-danger: #cf222e; --lq-sheet-link: initial; --lq-sheet-picture-plate: transparent; color: var(--lq-sheet-fg); color-scheme: light; } @media (prefers-color-scheme: dark) { .lq-sheet--light-sheet.lq-theme-auto .lq-sheet-layer { --lq-sheet-fg: #1f2328; --lq-sheet-bg: #ffffff; --lq-sheet-muted: #59636e; --lq-sheet-border: #d1d9e0; --lq-sheet-gridline: #e6eaef; --lq-sheet-header-bg: #f6f8fa; --lq-sheet-header-fg: #1f2328; --lq-sheet-header-active-bg: #dde7f6; --lq-sheet-header-selected-bg: #1f6feb; --lq-sheet-header-selected-fg: #ffffff; --lq-sheet-accent: #1f6feb; --lq-sheet-range-bg: rgba(31, 111, 235, 0.14); --lq-sheet-focus: #1f6feb; --lq-sheet-menu-bg: #ffffff; --lq-sheet-menu-shadow: 0 8px 24px rgba(15, 23, 42, 0.16); --lq-sheet-input-bg: #ffffff; --lq-sheet-input-border: #818b98; --lq-sheet-hover: #eef2f6; --lq-sheet-danger: #cf222e; --lq-sheet-link: initial; --lq-sheet-picture-plate: transparent; color: var(--lq-sheet-fg); color-scheme: light; } } .lq-sheet-formula-bar { display: flex; align-items: stretch; gap: 0; flex: none; min-height: 30px; border-bottom: 1px solid var(--lq-sheet-border); background: var(--lq-sheet-header-bg); } .lq-sheet-formula-bar[hidden] { display: none; } .lq-sheet-namebox { flex: none; width: 104px; margin: 3px; padding: 0 6px; font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: 4px; } .lq-sheet-namebox:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: -1px; } .lq-sheet-fx { flex: none; display: flex; align-items: center; padding: 0 8px; font-style: italic; font-weight: 600; color: var(--lq-sheet-muted); border-inline-end: 1px solid var(--lq-sheet-border); } .lq-sheet-input-wrap { position: relative; flex: 1 1 auto; min-width: 0; } .lq-sheet-formula-input, .lq-sheet-input-wrap > .lq-sheet-mirror { position: absolute; inset: 0; margin: 0; padding: 6px 8px; font: inherit; line-height: 18px; white-space: pre-wrap; word-break: break-all; overflow: hidden; border: 0; } .lq-sheet-formula-input { z-index: 1; resize: none; color: var(--lq-sheet-fg); background: transparent; outline: none; } .lq-sheet-formula-input:focus-visible { box-shadow: inset 0 0 0 2px var(--lq-sheet-focus); } .lq-sheet-input-wrap > .lq-sheet-mirror { color: var(--lq-sheet-fg); pointer-events: none; } .lq-sheet-formula-mode { color: transparent !important; caret-color: var(--lq-sheet-fg); } .lq-sheet-mirror[hidden] { display: none; } .lq-sheet-ref-token { font-weight: 600; } .lq-sheet-frame { position: relative; flex: 1 1 auto; min-height: 0; } .lq-sheet-frame:has(.lq-sheet-grid:focus-visible) { box-shadow: inset 0 0 0 2px var(--lq-sheet-focus); } .lq-sheet-viewport { position: absolute; inset: 0; overflow: auto; } .lq-sheet-grid { position: absolute; inset: 0; outline: none; } .lq-sheet-spacer { position: relative; } .lq-sheet-layer { position: sticky; top: 0; inset-inline-start: 0; overflow: hidden; color: var(--lq-sheet-fg); background: var(--lq-sheet-bg); user-select: none; -webkit-user-select: none; } .lq-sheet-colheads { position: absolute; top: 0; left: 0; right: 0; height: 24px; z-index: 6; background: var(--lq-sheet-head-bg); border-bottom: 1px solid var(--lq-sheet-head-border); } .lq-sheet-corner { position: absolute; top: 0; inset-inline-start: 0; height: 24px; z-index: 3; background: var(--lq-sheet-head-bg); border-inline-end: 1px solid var(--lq-sheet-head-border); cursor: cell; } .lq-sheet-corner::after { content: ""; position: absolute; inset-inline-end: 3px; bottom: 3px; border-inline-start: 9px solid transparent; border-bottom: 9px solid var(--lq-sheet-head-border); } .lq-sheet-colhead, .lq-sheet-rowhead { position: absolute; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 12px; color: var(--lq-sheet-head-fg); background: var(--lq-sheet-head-bg); white-space: nowrap; cursor: default; } .lq-sheet-colhead { top: 0; height: 24px; border-inline-end: 1px solid var(--lq-sheet-head-gridline); } .lq-sheet-colhead.lq-sheet-frozen { z-index: 2; } .lq-sheet-rowhead { inset-inline-start: 0; top: 0; z-index: 5; border-inline-end: 1px solid var(--lq-sheet-head-border); border-bottom: 1px solid var(--lq-sheet-head-gridline); } .lq-sheet-head-active { color: var(--lq-sheet-head-strong-fg); background: var(--lq-sheet-head-active-bg); font-weight: 600; } .lq-sheet-head-selected { color: var(--lq-sheet-head-selected-fg); background: var(--lq-sheet-head-selected-bg); } .lq-sheet-band { position: absolute; left: 0; right: 0; overflow: hidden; } .lq-sheet-band-main { z-index: 1; } .lq-sheet-band-frozen { z-index: 3; box-shadow: 0 1px 0 var(--lq-sheet-border); } .lq-sheet-row { position: absolute; inset-inline-start: 0; } .lq-sheet-cell { position: absolute; top: 0; z-index: 0; display: flex; align-items: flex-end; padding: 0 4px 2px; overflow: hidden; white-space: nowrap; color: var(--lq-sheet-fg); background-color: var(--lq-sheet-bg); border-inline-end: 1px solid var(--lq-sheet-gridline); border-bottom: 1px solid var(--lq-sheet-gridline); cursor: cell; } .lq-sheet-cell.lq-sheet-has-checkbox { align-items: center; padding-bottom: 0; } .lq-sheet-checkbox { position: relative; flex: none; box-sizing: border-box; width: calc(14px * var(--lq-sheet-zoom, 1)); height: calc(14px * var(--lq-sheet-zoom, 1)); color: var(--lq-sheet-accent); background: var(--lq-sheet-bg); border: 1.5px solid var(--lq-sheet-muted); border-radius: 3px; cursor: pointer; } .lq-sheet-checkbox[data-checked="true"] { background: currentColor; border-color: currentColor; } .lq-sheet-checkbox[data-checked="true"]::after { content: ""; position: absolute; left: 28%; top: 6%; width: 30%; height: 60%; border: solid var(--lq-sheet-header-selected-fg); border-width: 0 2px 2px 0; transform: rotate(45deg); } .lq-sheet-cell-arrow { position: absolute; inset-inline-end: 3px; top: 50%; width: 0; height: 0; margin-top: -2px; color: var(--lq-sheet-muted); border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; cursor: pointer; } .lq-sheet-cell.lq-sheet-overflow { z-index: 1; } .lq-sheet-cell.lq-sheet-merged { z-index: 2; } .lq-sheet-cell.lq-sheet-frozen { z-index: 3; } .lq-sheet-cell.lq-sheet-frozen.lq-sheet-merged { z-index: 4; } .lq-sheet-cell.lq-sheet-wrap { white-space: pre-wrap; word-break: break-word; align-items: flex-start; padding-top: 2px; } .lq-sheet--no-gridlines .lq-sheet-cell { border-color: transparent; } .lq-sheet-cell-justify, .lq-sheet-cell-distributed { flex: 1 1 auto; min-width: 0; white-space: pre-wrap; word-break: break-word; text-align: justify; } .lq-sheet-cell-distributed { text-align-last: justify; } .lq-sheet-overlay { position: absolute; overflow: hidden; pointer-events: none; } .lq-sheet-overlay-bl, .lq-sheet-overlay-br { z-index: 2; } .lq-sheet-overlay-tl, .lq-sheet-overlay-tr { z-index: 4; } .lq-sheet-selection, .lq-sheet-active-cell, .lq-sheet-fill-preview, .lq-sheet-copy-marquee, .lq-sheet-ref-highlight { position: absolute; } .lq-sheet-selection { background: var(--lq-sheet-range-bg); border: 1px solid var(--lq-sheet-accent); } .lq-sheet-active-cell { border: 2px solid var(--lq-sheet-accent); } .lq-sheet-fill-preview { border: 1px dashed var(--lq-sheet-muted); } .lq-sheet-copy-marquee { border: 2px dashed var(--lq-sheet-accent); animation: lq-sheet-marquee 1s steps(2) infinite; } @keyframes lq-sheet-marquee { 50% { border-color: transparent; } } .lq-sheet-ref-highlight { border: 2px solid var(--lq-sheet-ref-color, var(--lq-sheet-accent)); background: color-mix(in srgb, var(--lq-sheet-ref-color, var(--lq-sheet-accent)) 10%, transparent); } .lq-sheet-presence, .lq-sheet-presence-range { position: absolute; box-sizing: border-box; } .lq-sheet-presence { border: 2px solid var(--lq-sheet-presence-color, var(--lq-sheet-accent)); } .lq-sheet-presence-range { border: 1px solid var(--lq-sheet-presence-color, var(--lq-sheet-accent)); background: color-mix(in srgb, var(--lq-sheet-presence-color, var(--lq-sheet-accent)) 10%, transparent); } .lq-sheet-presence-label { position: absolute; bottom: 100%; inset-inline-start: -2px; max-width: 160px; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; line-height: 14px; font-weight: 600; color: var(--lq-sheet-fg); background: var(--lq-sheet-bg); border: 1px solid var(--lq-sheet-presence-color, var(--lq-sheet-accent)); border-inline-start-width: 4px; } .lq-sheet-presence--below > .lq-sheet-presence-label { bottom: auto; top: 100%; } .lq-sheet-fill-handle { position: absolute; width: 8px; height: 8px; background: var(--lq-sheet-accent); border: 1px solid var(--lq-sheet-bg); pointer-events: auto; cursor: crosshair; } .lq-sheet-editor { position: absolute; z-index: 8; background: var(--lq-sheet-bg); border: 2px solid var(--lq-sheet-accent); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18); } .lq-sheet-editor[hidden] { display: none; } .lq-sheet-editor-input, .lq-sheet-editor > .lq-sheet-mirror { position: absolute; inset: 0; margin: 0; padding: 1px 3px; font: inherit; line-height: 18px; white-space: pre-wrap; word-break: break-all; overflow: hidden; border: 0; } .lq-sheet-editor-input { z-index: 1; resize: none; color: var(--lq-sheet-fg); background: transparent; outline: none; } .lq-sheet-editor > .lq-sheet-mirror { color: var(--lq-sheet-fg); pointer-events: none; } .lq-sheet-editor-bold .lq-sheet-editor-input, .lq-sheet-editor-bold .lq-sheet-mirror { font-weight: 700; } .lq-sheet-autocomplete, .lq-sheet-hint, .lq-sheet-popup { position: absolute; z-index: 20; margin: 0; color: var(--lq-sheet-fg); background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-sheet-radius); box-shadow: var(--lq-sheet-menu-shadow); } .lq-sheet-autocomplete[hidden], .lq-sheet-hint[hidden] { display: none; } .lq-sheet-autocomplete { min-width: 260px; max-width: 420px; padding: 4px 0; list-style: none; } .lq-sheet-ac-item { display: flex; gap: 10px; align-items: baseline; padding: 4px 10px; cursor: pointer; } .lq-sheet-ac-item strong { flex: none; font-weight: 600; } .lq-sheet-ac-item span { overflow: hidden; color: var(--lq-sheet-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; } .lq-sheet-ac-item[aria-selected="true"] { background: var(--lq-sheet-range-bg); } .lq-sheet-hint { padding: 4px 8px; font-size: 12px; white-space: nowrap; pointer-events: none; } .lq-sheet-hint b { color: var(--lq-sheet-accent); } .lq-sheet-menu { min-width: 220px; padding: 4px 0; } .lq-sheet-menu-item { display: flex; width: 100%; justify-content: space-between; gap: 24px; padding: 6px 14px; font: inherit; text-align: start; color: inherit; background: transparent; border: 0; cursor: pointer; } .lq-sheet-menu-item:hover { background: var(--lq-sheet-range-bg); outline: none; } .lq-sheet-menu-item:focus-visible { background: var(--lq-sheet-range-bg); outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; } .lq-sheet-menu-item[aria-disabled="true"] { color: var(--lq-sheet-muted); cursor: default; } .lq-sheet-menu-label-icon { display: inline-flex; align-items: center; gap: 8px; } .lq-sheet-menu-icons .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon) { padding-inline-start: 24px; } .lq-sheet-menu-icons .lq-sheet-menu-item[aria-checked] .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon) { padding-inline-start: 24px; } .lq-sheet-menu-icons .lq-sheet-menu-item[aria-checked="true"] .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon) { padding-inline-start: 0; } .lq-sheet-menu-icons .lq-sheet-menu-item[aria-checked="true"] .lq-sheet-menu-label:not(.lq-sheet-menu-label-icon)::before { content: "✓"; display: inline-block; width: 24px; } .lq-sheet-menu-shortcut { color: var(--lq-sheet-muted); font-size: 12px; } .lq-sheet-menu-item:hover .lq-sheet-menu-shortcut, .lq-sheet-menu-item:focus-visible .lq-sheet-menu-shortcut { color: inherit; } .lq-sheet-menu-separator { height: 1px; margin: 4px 0; background: var(--lq-sheet-border); } .lq-sheet-find, .lq-sheet-filter { display: flex; flex-direction: column; gap: 8px; width: 300px; padding: 12px; } .lq-sheet-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-field input { padding: 5px 8px; font: inherit; font-size: var(--lq-sheet-font-size); color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: 4px; } .lq-sheet-field input::placeholder { color: var(--lq-sheet-muted); opacity: 1; } .lq-sheet-check { display: flex; gap: 6px; align-items: center; min-height: 24px; } .lq-sheet-actions { display: flex; flex-wrap: wrap; gap: 6px; } .lq-sheet-button { padding: max(5px, 0.3em) max(10px, 0.5em); font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-header-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; cursor: pointer; } .lq-sheet-button-primary { color: var(--lq-sheet-header-selected-fg); background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); } .lq-sheet-button:focus-visible, .lq-sheet-tab:focus-visible, .lq-sheet-tab-add:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-find-status { min-height: 1.2em; font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-filter-list { display: flex; flex-direction: column; gap: 4px; max-height: 220px; overflow: auto; padding: 4px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-dropdown { min-width: 140px; max-height: 240px; overflow: auto; padding: 4px 0; } .lq-sheet-option { padding: 4px 10px; cursor: pointer; } .lq-sheet-option:hover, .lq-sheet-option:focus { background: var(--lq-sheet-range-bg); outline: none; } .lq-sheet-option[aria-selected="true"] { font-weight: 600; } .lq-sheet-decorations { position: absolute; inset: 0; z-index: 7; pointer-events: none; } .lq-sheet-filter-button, .lq-sheet-dropdown-button { position: absolute; width: 17px; height: 17px; padding: 0; pointer-events: auto; color: var(--lq-sheet-muted); background: var(--lq-sheet-header-bg); border: 1px solid var(--lq-sheet-border); border-radius: 3px; cursor: pointer; } .lq-sheet-filter-button::after, .lq-sheet-dropdown-button::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -2px 0 0 -4px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; } .lq-sheet-filter-active { color: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); } .lq-sheet-filter-button[data-sorted]::after { margin: -1px 0 0 0; border-left-width: 3px; border-right-width: 3px; border-top-width: 4px; } .lq-sheet-filter-button[data-sorted]::before { content: "\\2191"; position: absolute; left: 1px; top: 0; font-size: 10px; font-weight: 700; line-height: 15px; } .lq-sheet-filter-button[data-sorted="descending"]::before { content: "\\2193"; } .lq-sheet-filter-sort[aria-pressed="true"] { border-color: var(--lq-sheet-accent); box-shadow: inset 0 0 0 1px var(--lq-sheet-accent); } .lq-sheet-dropdown-button { width: 18px; } .lq-sheet-prompt { position: absolute; max-width: 260px; padding: 6px 8px; font-size: 12px; color: var(--lq-sheet-fg); background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; box-shadow: var(--lq-sheet-menu-shadow); } .lq-sheet-bottom { display: flex; align-items: stretch; flex: none; min-height: 30px; border-top: 1px solid var(--lq-sheet-border); background: var(--lq-sheet-header-bg); } .lq-sheet-tabbar { display: flex; align-items: stretch; flex: 1 1 auto; min-width: min(45%, 240px); } .lq-sheet-tabbar[hidden], .lq-sheet-statusbar[hidden] { display: none; } .lq-sheet-tab-add { flex: none; width: 32px; font: inherit; font-size: 16px; color: var(--lq-sheet-muted); background: transparent; border: 0; border-inline-end: 1px solid var(--lq-sheet-border); cursor: pointer; } .lq-sheet-tab-add[hidden] { display: none; } .lq-sheet-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; } .lq-sheet-tab { flex: none; max-width: 200px; padding: 0 14px; overflow: hidden; font: inherit; color: var(--lq-sheet-muted); text-overflow: ellipsis; white-space: nowrap; background: transparent; border: 0; border-inline-end: 1px solid var(--lq-sheet-border); border-bottom: 3px solid transparent; cursor: pointer; } .lq-sheet-tab-colored { border-bottom-color: var(--lq-sheet-tab-color); } .lq-sheet-tab-colored.lq-sheet-tab-active { border-bottom-color: var(--lq-sheet-tab-color); } .lq-sheet-tab-active { color: var(--lq-sheet-fg); font-weight: 600; background: var(--lq-sheet-bg); border-bottom-color: var(--lq-sheet-accent); } .lq-sheet-tab-input { width: 120px; font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-accent); } .lq-sheet-statusbar { display: flex; align-items: center; gap: 16px; flex: 0 1 auto; min-width: 0; padding: 0 12px; font-size: 12px; color: var(--lq-sheet-muted); white-space: pre; } .lq-sheet-statusbar > * { flex: none; } .lq-sheet-statusbar > .lq-sheet-stats { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .lq-sheet--narrow .lq-sheet-bottom { flex-wrap: wrap; } .lq-sheet--narrow .lq-sheet-tabbar { flex: 1 1 100%; min-height: 28px; border-bottom: 1px solid var(--lq-sheet-border); } .lq-sheet--narrow .lq-sheet-statusbar { flex: 1 1 100%; min-height: 28px; box-sizing: border-box; } .lq-sheet-circular-status { color: var(--lq-sheet-danger); } .lq-sheet-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } .lq-sheet--readonly .lq-sheet-cell { cursor: default; } .lq-sheet--file-drag { outline: 2px dashed var(--lq-sheet-focus); outline-offset: -2px; } @media (prefers-reduced-motion: reduce) { .lq-sheet-copy-marquee { animation: none; } .lq-sheet *, .lq-sheet *::before, .lq-sheet *::after { transition: none !important; } } @media (forced-colors: active) { .lq-sheet :focus-visible, .lq-sheet-menu :focus-visible, .lq-sheet-option:focus { outline: 2px solid Highlight !important; outline-offset: -2px; } } .lq-sheet-cell.lq-sheet-link { color: var(--lq-sheet-link, #0b62c4); cursor: pointer; } .lq-sheet-cell.lq-sheet-has-note::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; border-top: 6px solid var(--lq-sheet-note-marker, #d1242f); border-inline-start: 6px solid transparent; } .lq-sheet-cf-icon { flex: none; margin-inline-end: auto; padding-inline-end: 4px; font-weight: 700; line-height: 1; } .lq-sheet-cell.lq-sheet-has-icon { gap: 2px; } .lq-sheet-notes, .lq-sheet-outline, .lq-sheet-drawings, .lq-sheet-table-filters { position: absolute; inset: 0; pointer-events: none; } .lq-sheet-notes { z-index: 9; } .lq-sheet-note { position: absolute; padding: 6px 8px; font-size: 12px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; color: #1f2328; background: var(--lq-sheet-note-bg, #fff8c5); border: 1px solid var(--lq-sheet-note-border, #d4a72c); border-radius: 3px; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18); pointer-events: auto; } .lq-sheet-note-author { display: block; margin-bottom: 2px; } .lq-sheet-outline { z-index: 7; } .lq-sheet-outline-strip { position: absolute; background: var(--lq-sheet-head-bg); } .lq-sheet-outline-bracket { position: absolute; border-inline-start: 1px solid var(--lq-sheet-head-fg); border-top: 1px solid var(--lq-sheet-head-fg); border-bottom: 1px solid var(--lq-sheet-head-fg); width: 4px; box-sizing: border-box; } .lq-sheet-outline-strip + .lq-sheet-outline-bracket { width: 4px; } .lq-sheet-outline-toggle, .lq-sheet-outline-level { position: absolute; display: flex; align-items: center; justify-content: center; width: 12px; height: 12px; padding: 0; font: 600 10px/1 var(--lq-sheet-font-family); color: var(--lq-sheet-head-strong-fg); background: var(--lq-sheet-head-surface); border: 1px solid var(--lq-sheet-head-fg); border-radius: 2px; cursor: pointer; pointer-events: auto; } .lq-sheet-outline-level { width: 13px; height: 14px; } .lq-sheet-outline-toggle:focus-visible, .lq-sheet-outline-level:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-outline-toggle:disabled, .lq-sheet-outline-level:disabled { cursor: default; opacity: 0.6; } .lq-sheet-objects { position: absolute; inset: 0; z-index: 5; pointer-events: none; } .lq-sheet-drawing-pane { position: absolute; overflow: hidden; } .lq-sheet-drawing { position: absolute; box-sizing: border-box; pointer-events: auto; cursor: move; background: var(--lq-sheet-bg); outline: none; } .lq-sheet-chart { border: 1px solid var(--lq-sheet-border); } .lq-sheet-image, .lq-sheet-object { background: transparent; } .lq-sheet-image-unsupported { border: 1px dashed var(--lq-sheet-border); background: var(--lq-sheet-bg); } .lq-sheet-drawing-body { position: relative; } .lq-sheet-object-figure { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; overflow: hidden; } .lq-sheet-object-stored { background: var(--lq-sheet-picture-plate, transparent); } .lq-sheet-object-icon { flex: 1 1 auto; min-height: 0; max-width: 100%; object-fit: contain; } .lq-sheet-object-preview { width: 100%; height: 100%; object-fit: contain; } .lq-sheet-object-name { flex: none; box-sizing: border-box; max-width: 100%; padding: 0 4px 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(12px * var(--lq-sheet-zoom, 1)); line-height: 1.35; text-align: center; color: var(--lq-sheet-fg); } .lq-sheet-object-badge { position: absolute; top: 2px; inset-inline-end: 2px; padding: 0 4px; font: 700 9px/14px var(--lq-sheet-font-family); color: #ffffff; background: #6b7280; border-radius: 3px; pointer-events: none; } .lq-sheet-object-actions { position: absolute; inset-inline-start: 0; top: 100%; z-index: 1; display: none; box-sizing: border-box; height: 30px; gap: 4px; padding: 4px 0 0; white-space: nowrap; } .lq-sheet-object-actions[data-placement="above"], .lq-sheet-object-actions[data-placement="inside"] { padding: 0 0 4px; } .lq-sheet-object-summary { display: flex; gap: 14px; align-items: center; } .lq-sheet-object-summary-icon { flex: none; width: 48px; height: 60px; } .lq-sheet-object-facts { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; } .lq-sheet-menu-heading-file { display: flex; gap: 10px; align-items: center; max-width: 320px; padding: 6px 14px; text-transform: none; letter-spacing: 0; } .lq-sheet-menu-image { flex: none; width: 24px; height: 30px; } .lq-sheet-menu-heading-file .lq-sheet-menu-heading-text { display: flex; flex-direction: column; min-width: 0; } .lq-sheet-menu-heading-file .lq-sheet-menu-heading-title { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; color: var(--lq-sheet-fg); } .lq-sheet-menu-heading-file .lq-sheet-menu-heading-detail { font-weight: 400; } .lq-sheet-drawing-selected .lq-sheet-object-actions, .lq-sheet-object:focus-within .lq-sheet-object-actions { display: flex; } .lq-sheet-object-action { font: inherit; font-size: 12px; padding: 2px 8px; color: var(--lq-sheet-fg); background: var(--lq-sheet-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; cursor: pointer; } .lq-sheet-object-action:hover { border-color: var(--lq-sheet-accent); } .lq-sheet-object-action:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-drawing-body, .lq-sheet-drawing-body > img, .lq-sheet-drawing-body > svg { display: block; width: 100%; height: 100%; } .lq-sheet-drawing-body > img { object-fit: fill; } .lq-sheet-drawing-selected, .lq-sheet-drawing:focus-visible { box-shadow: 0 0 0 2px var(--lq-sheet-accent); } .lq-sheet-drawing-handle, .lq-sheet-drawing-rotate { position: absolute; display: none; box-sizing: border-box; width: 10px; height: 10px; margin: -5px; background: var(--lq-sheet-bg); border: 1px solid var(--lq-sheet-accent); touch-action: none; } .lq-sheet-drawing-handle::after, .lq-sheet-drawing-rotate::after { content: ''; position: absolute; inset: -7px; } .lq-sheet-drawing-handle[data-handle='nw'] { inset-inline-start: 0; top: 0; } .lq-sheet-drawing-handle[data-handle='n'] { inset-inline-start: 50%; top: 0; } .lq-sheet-drawing-handle[data-handle='ne'] { inset-inline-start: 100%; top: 0; } .lq-sheet-drawing-handle[data-handle='e'] { inset-inline-start: 100%; top: 50%; } .lq-sheet-drawing-handle[data-handle='se'] { inset-inline-start: 100%; top: 100%; } .lq-sheet-drawing-handle[data-handle='s'] { inset-inline-start: 50%; top: 100%; } .lq-sheet-drawing-handle[data-handle='sw'] { inset-inline-start: 0; top: 100%; } .lq-sheet-drawing-handle[data-handle='w'] { inset-inline-start: 0; top: 50%; } .lq-sheet-drawing-rotate { inset-inline-start: 50%; top: -24px; border-radius: 50%; cursor: grab; } .lq-sheet-drawing-rotate:hover { background: var(--lq-sheet-accent); } .lq-sheet-drawing-selected > .lq-sheet-drawing-handle, .lq-sheet-drawing-selected > .lq-sheet-drawing-rotate { display: block; } .lq-sheet-drawing-locked { cursor: default; } .lq-sheet-drawing-locked > .lq-sheet-drawing-handle, .lq-sheet-drawing-locked > .lq-sheet-drawing-rotate { display: none; } .lq-sheet-drawing-cropped { overflow: hidden; } .lq-sheet-drawing-cropped > img { position: absolute; max-width: none; } .lq-sheet-image-loading { background: color-mix(in srgb, var(--lq-sheet-border) 35%, transparent); } .lq-sheet-image .lq-sheet-drawing-body > img:not([src]) { visibility: hidden; } .lq-sheet-table-filters { z-index: 6; } .lq-sheet-table-filters > .lq-sheet-filter-button { pointer-events: auto; } @media (forced-colors: active) { .lq-sheet-cell.lq-sheet-has-note::after { border-top-color: Mark; } .lq-sheet-drawing-selected { outline: 2px solid Highlight; } } .lq-sheet-modal-backdrop { position: absolute; inset: 0; z-index: 40; display: flex; align-items: flex-start; justify-content: center; padding: 32px 16px; background: rgba(15, 23, 42, 0.28); overflow: auto; } .lq-sheet-modal { display: flex; flex-direction: column; gap: 10px; width: min(520px, 100%); max-height: calc(100% - 16px); padding: 14px 16px; overflow: auto; color: var(--lq-sheet-fg); background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-sheet-radius); box-shadow: var(--lq-sheet-menu-shadow); } .lq-sheet-modal-title { margin: 0; font-size: 15px; font-weight: 600; } .lq-sheet-modal-body { display: flex; flex-direction: column; gap: 8px; } .lq-sheet-modal-body [hidden] { display: none; } .lq-sheet-modal-status { min-height: 1.2em; font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-modal-note { margin: 0; font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-modal :focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-select, .lq-sheet-modal input[type="text"], .lq-sheet-modal input[type="number"], .lq-sheet-modal textarea { font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: 4px; padding: 3px 6px; } .lq-sheet-tablist { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--lq-sheet-border); } .lq-sheet-tab-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font: inherit; color: var(--lq-sheet-fg); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; } .lq-sheet-tab-button[aria-selected="true"] { border-bottom-color: var(--lq-sheet-accent); font-weight: 600; } .lq-sheet-report-dialog .lq-sheet-report-heading { margin: 10px 0 4px; font-size: 13px; } .lq-sheet-report-count { display: inline-block; min-width: 18px; padding: 0 6px; font-size: 11px; font-weight: 600; text-align: center; color: var(--lq-sheet-fg); background: var(--lq-sheet-header-bg); border: 1px solid var(--lq-sheet-border); border-radius: 9px; } .lq-sheet-report-list { margin: 0; padding-inline-start: 18px; max-height: 140px; overflow: auto; } .lq-sheet-report-detail { display: block; font-size: 11px; color: var(--lq-sheet-muted); overflow-wrap: anywhere; } .lq-sheet-properties-facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 10px 0 0; font-size: 12px; } .lq-sheet-properties-facts dt { color: var(--lq-sheet-muted); } .lq-sheet-properties-facts dd { margin: 0; overflow-wrap: anywhere; } .lq-sheet-format-fill-sample { height: 40px; margin-top: 8px; border: 1px solid var(--lq-sheet-border); border-radius: 3px; } .lq-sheet-line-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .lq-sheet-line-option { display: flex; align-items: center; height: 22px; padding: 0 8px; color: #1f2328; background: #ffffff; border: 1px solid var(--lq-sheet-border); border-radius: 3px; cursor: pointer; } .lq-sheet-line-option[aria-checked="true"] { border-color: var(--lq-sheet-accent); box-shadow: 0 0 0 1px var(--lq-sheet-accent); } .lq-sheet-line-option:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-line-sample { flex: 1 1 auto; height: 4px; box-sizing: border-box; } .lq-sheet-tabpanel { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; } .lq-sheet-tabpanel[hidden] { display: none; } .lq-sheet-format-preview { display: block; padding: 6px 8px; font-variant-numeric: tabular-nums; background: var(--lq-sheet-header-bg); border-radius: 4px; } .lq-sheet-fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 6px 8px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-names-form { display: flex; flex-direction: column; gap: 8px; } .lq-sheet-names-list { max-height: 220px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-names-table { width: 100%; border-collapse: collapse; font-size: 12px; } .lq-sheet-names-table th, .lq-sheet-names-table td { padding: 4px 6px; text-align: start; border-bottom: 1px solid var(--lq-sheet-gridline); } .lq-sheet-names-row { cursor: pointer; } .lq-sheet-names-row[aria-selected="true"] { background: var(--lq-sheet-range-bg); } .lq-sheet-names-empty { color: var(--lq-sheet-muted); } .lq-sheet-styles-heading { margin: 4px 0; font-size: 12px; font-weight: 600; color: var(--lq-sheet-muted); } .lq-sheet-styles-list { display: flex; flex-wrap: wrap; gap: 6px; } .lq-sheet-style-swatch { min-width: 92px; padding: 6px 8px; font: inherit; font-size: 12px; text-align: start; color: var(--lq-sheet-fg); background: var(--lq-sheet-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; cursor: pointer; } .lq-sheet-evaluate-ref { font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-evaluate-expression { padding: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; background: var(--lq-sheet-header-bg); border-radius: 4px; } .lq-sheet-evaluate-next { text-decoration-thickness: 2px; text-decoration-color: var(--lq-sheet-accent); } .lq-sheet-audit { position: absolute; inset: 0 auto auto 0; z-index: 6; overflow: hidden; pointer-events: none; } .lq-sheet--rtl .lq-sheet-audit { inset: 0 0 auto auto; } .lq-sheet-audit-line { stroke: #1f5fbf; stroke-width: 1.5; } .lq-sheet-audit-external { stroke-dasharray: 4 3; } .lq-sheet-audit-head, .lq-sheet-audit-dot { fill: #1f5fbf; } .lq-sheet-audit-range { fill: none; stroke: #1f5fbf; stroke-width: 1.5; } .lq-sheet-audit-sheet-icon { fill: var(--lq-sheet-bg); stroke: #1f5fbf; stroke-width: 1.2; } @media (forced-colors: active) { .lq-sheet-audit-line, .lq-sheet-audit-range, .lq-sheet-audit-sheet-icon { stroke: CanvasText; } .lq-sheet-audit-head, .lq-sheet-audit-dot { fill: CanvasText; } } .lq-sheet-main { display: flex; flex: 1 1 auto; min-width: 0; min-height: 0; } .lq-sheet-main > .lq-sheet-frame { min-width: 0; } .lq-sheet-icon { flex: none; display: block; } .lq-sheet-ribbon { flex: none; border-bottom: 1px solid var(--lq-sheet-border); background: var(--lq-sheet-header-bg); color: var(--lq-sheet-header-fg); } .lq-sheet-ribbon[hidden], .lq-sheet-ribbon-tabs[hidden], .lq-sheet-ribbon-more[hidden] { display: none; } .lq-sheet-ribbon-tabs { display: flex; gap: 2px; padding: 2px 8px 0; overflow-x: auto; scrollbar-width: none; } .lq-sheet-ribbon--tabs-scroll .lq-sheet-ribbon-tabs { background: linear-gradient(to right, var(--lq-sheet-header-bg) 40%, transparent) left center / 28px 100% no-repeat local, linear-gradient(to left, var(--lq-sheet-header-bg) 40%, transparent) right center / 28px 100% no-repeat local, linear-gradient(to right, color-mix(in srgb, var(--lq-sheet-fg) 40%, transparent), transparent) left center / 12px 100% no-repeat scroll, linear-gradient(to left, color-mix(in srgb, var(--lq-sheet-fg) 40%, transparent), transparent) right center / 12px 100% no-repeat scroll; } .lq-sheet--narrow .lq-sheet-ribbon-tabs { gap: 0; padding-inline: 4px; } .lq-sheet--narrow .lq-sheet-ribbon-tab { padding-inline: 6px; } .lq-sheet-ribbon-tab { position: relative; flex: none; padding: 5px 12px; font: inherit; color: var(--lq-sheet-muted); background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; } .lq-sheet-ribbon-tab:hover { color: var(--lq-sheet-fg); } .lq-sheet-ribbon-tab[aria-selected="true"] { color: var(--lq-sheet-fg); font-weight: 600; border-bottom-color: var(--lq-sheet-accent); } .lq-sheet-ribbon-tab:focus-visible, .lq-sheet-ribbon-control:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; } .lq-sheet-ribbon--keytips .lq-sheet-ribbon-tab::after { content: attr(data-keytip); position: absolute; inset-inline-start: 50%; bottom: -6px; z-index: 2; padding: 0 4px; font-size: 11px; font-weight: 600; line-height: 15px; color: var(--lq-sheet-bg); background: var(--lq-sheet-fg); border-radius: 3px; } .lq-sheet-ribbon-panel { display: flex; align-items: stretch; min-width: 0; background: var(--lq-sheet-bg); border-top: 1px solid var(--lq-sheet-border); } .lq-sheet-ribbon-bar { display: flex; flex: 1 1 auto; min-width: 0; overflow: hidden; } .lq-sheet-ribbon-group { display: flex; flex: none; flex-direction: column; justify-content: space-between; padding: 4px 8px 2px; border-inline-end: 1px solid var(--lq-sheet-gridline); } .lq-sheet-ribbon-group-body { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; max-width: 340px; } .lq-sheet-ribbon-group[data-group="library"] .lq-sheet-ribbon-group-body { max-width: 620px; } .lq-sheet-ribbon-group-label { margin-top: 2px; font-size: 11px; line-height: 1.2; text-align: center; color: var(--lq-sheet-muted); white-space: nowrap; } .lq-sheet-ribbon--compact .lq-sheet-ribbon-group-label { display: none; } .lq-sheet-ribbon--compact .lq-sheet-ribbon-group { padding: 3px 6px; } .lq-sheet-ribbon--compact .lq-sheet-ribbon-panel { border-top: 0; } .lq-sheet-ribbon-control { display: inline-flex; gap: 4px; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 5px; font: inherit; font-size: 12px; color: var(--lq-sheet-fg); background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; position: relative; white-space: nowrap; } .lq-sheet-ribbon-control::after { content: ''; position: absolute; inset: -3px 0; } @media (pointer: coarse) { .lq-sheet-ribbon-control::after { inset: -9px -4px; } } .lq-sheet-ribbon-control:hover { background: var(--lq-sheet-range-bg); } .lq-sheet-ribbon-control[aria-pressed="true"], .lq-sheet-ribbon-control[aria-expanded="true"] { background: var(--lq-sheet-range-bg); border-color: var(--lq-sheet-accent); } .lq-sheet-ribbon-control[aria-disabled="true"], .lq-sheet-ribbon-select:disabled { color: var(--lq-sheet-muted); cursor: default; opacity: 0.6; } .lq-sheet-ribbon-control[aria-disabled="true"]:hover { background: transparent; } .lq-sheet-ribbon-glyph { min-width: 14px; font-weight: 700; text-align: center; } .lq-sheet-ribbon-chevron { width: 10px; height: 10px; opacity: 0.7; } .lq-sheet-ribbon-color { position: relative; padding-bottom: 4px; } .lq-sheet-ribbon-swatch { position: absolute; inset-inline: 5px 17px; bottom: 2px; height: 3px; border: 1px solid var(--lq-sheet-border); border-radius: 1px; } .lq-sheet-ribbon-select { max-width: 132px; padding: 0 4px; background: var(--lq-sheet-input-bg); border-color: var(--lq-sheet-input-border); } .lq-sheet-ribbon-select[data-control="fitWidth"], .lq-sheet-ribbon-select[data-control="fitHeight"] { max-width: 176px; } .lq-sheet-ribbon-more { flex: none; align-self: center; margin: 0 6px; } .lq-sheet-ribbon-overflow { display: flex; flex-wrap: wrap; max-width: min(520px, 90vw); padding: 4px; } .lq-sheet-ribbon-overflow .lq-sheet-ribbon-group { box-sizing: border-box; max-width: 100%; border-inline-end: 0; } .lq-sheet-ribbon-overflow .lq-sheet-ribbon-group-body { max-width: 100%; } .lq-sheet-menu { max-height: min(420px, 70vh); overflow-y: auto; } .lq-sheet-menu-heading { padding: 8px 14px 4px; font-size: var(--lq-sheet-text-sm); font-weight: 600; color: var(--lq-sheet-muted); } .lq-sheet-menu-item[aria-checked="true"] .lq-sheet-menu-label::before { content: "✓ "; } .lq-sheet-menu-item[aria-checked="false"] .lq-sheet-menu-label { padding-inline-start: 1.1em; } .lq-sheet-palette { display: flex; flex-direction: column; gap: 8px; padding: 10px; } .lq-sheet-palette-grid { display: grid; grid-template-columns: repeat(10, 20px); gap: 3px; } .lq-sheet-palette-swatch { width: 20px; height: 20px; padding: 0; border: 1px solid var(--lq-sheet-border); border-radius: 3px; cursor: pointer; } .lq-sheet-palette-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--lq-sheet-accent); } .lq-sheet-palette-swatch:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-palette-custom { flex-direction: row; align-items: center; justify-content: space-between; } .lq-sheet-palette-custom input { width: 44px; height: 24px; padding: 0; } .lq-sheet-zoom { display: inline-flex; gap: 4px; align-items: center; margin-inline-start: auto; } .lq-sheet-zoom-slider { width: 96px; accent-color: var(--lq-sheet-accent); } .lq-sheet-zoom-button { min-width: 22px; height: 22px; padding: 0 4px; font: inherit; color: var(--lq-sheet-fg); background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; } .lq-sheet-zoom-button:hover { background: var(--lq-sheet-range-bg); } .lq-sheet-zoom-button:focus-visible, .lq-sheet-zoom-slider:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-zoom-value { min-width: 44px; font-variant-numeric: tabular-nums; } .lq-sheet-sidepanel { display: flex; flex: none; flex-direction: column; width: 280px; max-width: 60%; min-height: 0; background: var(--lq-sheet-bg); border-inline-start: 1px solid var(--lq-sheet-border); } .lq-sheet-sidepanel[hidden] { display: none; } .lq-sheet-sidepanel-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid var(--lq-sheet-border); background: var(--lq-sheet-header-bg); } .lq-sheet-sidepanel-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; font-weight: 600; } .lq-sheet-sidepanel-icon { display: inline-flex; flex: none; margin-inline-end: 8px; color: var(--lq-sheet-muted); } .lq-sheet-sidepanel-icon[hidden] { display: none; } .lq-sheet-sidepanel-close { display: inline-flex; padding: 4px; color: var(--lq-sheet-fg); background: transparent; border: 0; border-radius: 4px; cursor: pointer; } .lq-sheet-sidepanel-close:hover { background: var(--lq-sheet-range-bg); } .lq-sheet-sidepanel-close:focus-visible { outline: 2px solid var(--lq-sheet-focus); } .lq-sheet-sidepanel-body { flex: 1 1 auto; min-height: 0; padding: 10px; overflow: auto; } .lq-sheet-spelling { display: flex; flex-direction: column; gap: 10px; } .lq-sheet-modal.lq-sheet-spelling-dialog { width: min(600px, calc(100% - 32px)); max-width: none; box-sizing: border-box; } .lq-sheet-spelling-word { display: block; min-height: 20px; font-size: var(--lq-font-size, 13px); font-weight: 600; color: var(--lq-sheet-fg); } .lq-sheet-spelling-context { margin: 0; font-size: var(--lq-sheet-text-sm, 12px); color: var(--lq-sheet-muted); overflow-wrap: anywhere; } .lq-sheet-spelling-mark { padding: 0 1px; color: inherit; background: transparent; text-decoration: underline wavy var(--lq-danger, #cf222e); text-underline-offset: 3px; } .lq-sheet-spelling-list { width: 100%; height: auto; min-height: 96px; padding: 2px; } .lq-sheet-thread-composer { position: relative; } .lq-sheet-mention { color: var(--lq-sheet-link, #0b62c4); font-weight: 600; } .lq-sheet-mention-list { position: absolute; z-index: 3; inset-inline: 0; top: 100%; display: flex; flex-direction: column; max-height: 200px; margin-top: 2px; padding: 4px; overflow: auto; color: var(--lq-sheet-fg); background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius, 6px); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18); } .lq-sheet-mention-list[hidden] { display: none; } .lq-sheet-mention-option { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; min-height: var(--lq-control-height, 32px); padding: 0 8px; line-height: var(--lq-control-height, 32px); border-radius: var(--lq-radius-control, 4px); cursor: pointer; } .lq-sheet-mention-option[aria-selected="true"] { background: var(--lq-sheet-range-bg); outline: 1px solid var(--lq-sheet-focus); } .lq-sheet-mention-detail { font-size: var(--lq-sheet-text-sm, 12px); color: var(--lq-sheet-muted); } .lq-sheet-mention-option[aria-selected="true"] .lq-sheet-mention-detail { color: inherit; } .lq-sheet-datepicker { padding: 8px; min-width: 252px; } .lq-sheet-datepicker-header { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 4px; } .lq-sheet-datepicker-title { flex: 1 1 auto; font-size: var(--lq-font-size, 13px); font-weight: 600; text-align: center; } .lq-sheet-datepicker-step { display: inline-flex; align-items: center; justify-content: center; width: var(--lq-control-height, 32px); height: var(--lq-control-height, 32px); padding: 0; color: var(--lq-sheet-fg); background: transparent; border: 0; border-radius: var(--lq-radius-control, 4px); cursor: pointer; } .lq-sheet-datepicker-grid { width: 100%; border-collapse: collapse; } .lq-sheet-datepicker-grid th { height: 24px; padding: 0; font-size: var(--lq-sheet-text-xs, 11px); font-weight: 600; color: var(--lq-sheet-muted); text-align: center; } .lq-sheet-datepicker-grid td { padding: 1px; text-align: center; } .lq-sheet-datepicker-day { width: 32px; height: 32px; padding: 0; font: inherit; font-variant-numeric: tabular-nums; color: var(--lq-sheet-fg); background: transparent; border: 1px solid transparent; border-radius: var(--lq-radius-control, 4px); cursor: pointer; } .lq-sheet-datepicker-day[data-outside="true"] { color: var(--lq-sheet-muted); } .lq-sheet-datepicker-day[aria-current="date"] { border-color: var(--lq-input-border, #818b98); font-weight: 600; } .lq-sheet-datepicker-day[data-selected="true"] { background: color-mix(in srgb, var(--lq-accent, #1f6feb) 16%, transparent); border-color: color-mix(in srgb, var(--lq-accent, #1f6feb) 55%, transparent); } .lq-sheet-datepicker-day:hover, .lq-sheet-datepicker-step:hover { background: var(--lq-sheet-hover); } .lq-sheet-datepicker-day:focus-visible, .lq-sheet-datepicker-step:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-datepicker-footer { display: flex; justify-content: flex-end; margin-top: 6px; } .lq-sheet-modal.lq-sheet-csv-dialog { width: min(560px, calc(100% - 32px)); max-width: none; box-sizing: border-box; } .lq-sheet-csv-dialog .lq-sheet-modal-body { min-width: 0; } .lq-sheet-spelling { min-width: 0; } .lq-sheet-csv-preview-wrap { max-width: 100%; max-height: 190px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius-control, 4px); } .lq-sheet-csv-preview-wrap:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-csv-preview { width: 100%; border-collapse: collapse; font-size: var(--lq-sheet-text-sm, 12px); color: var(--lq-sheet-fg); } .lq-sheet-csv-preview caption { padding: 4px 8px; color: var(--lq-sheet-muted); text-align: start; caption-side: top; } .lq-sheet-csv-preview td { max-width: 160px; padding: 3px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-top: 1px solid var(--lq-sheet-border); } .lq-sheet-csv-preview td[data-kind="number"], .lq-sheet-csv-preview td[data-kind="date"] { text-align: end; font-variant-numeric: tabular-nums; } .lq-sheet-chart-format { display: flex; flex-direction: column; gap: 10px; } .lq-sheet-chart-format-section { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 8px 10px 10px; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius-control, 4px); } .lq-sheet-chart-format-legend { padding: 0 4px; font-size: var(--lq-sheet-text-sm, 12px); font-weight: 600; color: var(--lq-sheet-fg); } .lq-sheet-chart-format-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: end; } .lq-sheet-chart-format-color { display: flex; gap: 10px; align-items: end; justify-content: space-between; } .lq-sheet-chart-format-swatch { width: 44px; height: var(--lq-control-height, 32px); padding: 2px; background: var(--lq-sheet-bg); border: 1px solid var(--lq-input-border, #818b98); border-radius: var(--lq-radius-control, 4px); cursor: pointer; } .lq-sheet-chart-format-swatch:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-chart-format .lq-sheet-select, .lq-sheet-chart-format input[type="text"], .lq-sheet-chart-format input[type="number"] { width: 100%; min-width: 0; box-sizing: border-box; } .lq-sheet-panel-heading { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--lq-sheet-muted); } .lq-sheet-panel-hint { margin: 8px 0; font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-pivot-panel { display: flex; flex-direction: column; gap: 6px; } .lq-sheet-pivot-fields { display: flex; flex-direction: column; gap: 0; max-height: 180px; padding: 6px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-pivot-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .lq-sheet-pivot-list { display: flex; flex-direction: column; gap: 3px; min-height: 64px; padding: 4px; border: 1px dashed var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-pivot-list-over { border-color: var(--lq-sheet-accent); background: var(--lq-sheet-range-bg); } .lq-sheet-pivot-chip { padding: 3px 6px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; background: var(--lq-sheet-header-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; cursor: grab; } .lq-sheet-pivot-chip:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-pivot-empty { padding: 6px; font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-pivot-layout { display: flex; flex-direction: column; gap: 4px; } .lq-sheet-pivot-items { display: flex; flex-direction: column; gap: 2px; max-height: 240px; min-width: 220px; padding: 6px 8px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-radius-control, 4px); } .lq-sheet-comments-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; } .lq-sheet-comment { display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-comment-cell { align-self: flex-start; padding: 0; font: inherit; font-weight: 600; color: var(--lq-sheet-accent); background: transparent; border: 0; cursor: pointer; text-decoration: underline; } .lq-sheet-comment-cell:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 2px; } .lq-sheet-comment-author { font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-comment-text { font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: 4px; resize: vertical; } .lq-sheet-comment-delete { align-self: flex-end; } .lq-sheet-slicers { position: absolute; right: 0; bottom: 0; z-index: 6; overflow: hidden; pointer-events: none; } .lq-sheet--rtl .lq-sheet-slicers { right: auto; left: 0; } .lq-sheet-slicer { position: absolute; display: flex; flex-direction: column; min-width: 96px; min-height: 64px; pointer-events: auto; color: var(--lq-sheet-fg); background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-border); border-radius: 4px; box-shadow: var(--lq-sheet-menu-shadow); } .lq-sheet-slicer-header { display: flex; flex: none; align-items: center; min-height: 28px; padding: 4px 8px; padding-inline-end: 34px; font-weight: 600; background: var(--lq-sheet-header-bg); border-bottom: 1px solid var(--lq-sheet-border); cursor: move; touch-action: none; } .lq-sheet-slicer-header:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; } .lq-sheet-slicer-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lq-sheet-slicer-clear { position: absolute; top: 2px; inset-inline-end: 4px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; color: inherit; background: transparent; border: 0; border-radius: 3px; cursor: pointer; } .lq-sheet-slicer-clear:disabled { opacity: 0.4; cursor: default; } .lq-sheet-slicer-clear:focus-visible { outline: 2px solid var(--lq-sheet-focus); } .lq-sheet-slicer-list { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-height: 0; padding: 6px; overflow: auto; } .lq-sheet-slicer-list:not([data-columns="1"]) { display: grid; grid-template-columns: repeat(var(--lq-sheet-slicer-columns, 1), minmax(0, 1fr)); align-content: start; } .lq-sheet-slicer-item { flex: none; padding: 4px 8px; overflow: hidden; font: inherit; text-align: start; text-overflow: ellipsis; white-space: nowrap; color: var(--lq-sheet-muted); background: transparent; border: 1px solid var(--lq-sheet-border); border-radius: 3px; cursor: pointer; } .lq-sheet-slicer-item[aria-selected="true"] { color: var(--lq-sheet-header-selected-fg); background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); } .lq-sheet-slicer-item[aria-disabled="true"] { cursor: default; } .lq-sheet-slicer-item:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-filter { max-height: min(520px, 80vh); overflow: auto; } .lq-sheet-filter-advanced { display: flex; flex-direction: column; gap: 6px; font-size: 12px; } .lq-sheet-filter-advanced > summary { cursor: pointer; color: var(--lq-sheet-muted); } .lq-sheet-filter-advanced .lq-sheet-field { margin-top: 6px; } .lq-sheet-filter-advanced .lq-sheet-field[hidden], .lq-sheet-filter-list [hidden], .lq-sheet-field[hidden], .lq-sheet-check[hidden] { display: none; } .lq-sheet-filter-year > summary { display: flex; gap: 6px; align-items: center; cursor: pointer; } .lq-sheet-filter-month { padding-inline-start: 22px; } .lq-sheet-dialog-note { margin: 0; font-size: 12px; color: var(--lq-sheet-muted); } .lq-sheet-sort-levels { display: flex; flex-direction: column; gap: 6px; } .lq-sheet-sort-level { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) repeat(3, 32px); gap: 4px; align-items: center; } .lq-sheet-sort-level > .lq-sheet-select { width: 100%; min-width: 0; } .lq-sheet-sort-level > .lq-sheet-button { min-height: 28px; padding: 4px 0; text-align: center; } .lq-sheet-function-list { height: 180px; overflow: auto; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-function-list .lq-sheet-option[aria-selected="true"] { background: var(--lq-sheet-range-bg); } .lq-sheet-function-detail { min-height: 3.6em; font-size: 12px; } .lq-sheet-function-detail p { margin: 2px 0 0; color: var(--lq-sheet-muted); } .lq-sheet-split-preview { min-height: 1.3em; font-size: 12px; color: var(--lq-sheet-muted); } @media (forced-colors: active) { .lq-sheet-ribbon-control[aria-pressed="true"], .lq-sheet-ribbon-tab[aria-selected="true"], .lq-sheet-slicer-item[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -2px; } .lq-sheet-palette-swatch { forced-color-adjust: none; } } .lq-sheet-shapes { position: absolute; inset: 0; pointer-events: none; } .lq-sheet-shape-pane { position: absolute; overflow: hidden; } .lq-sheet-shape { position: absolute; box-sizing: border-box; pointer-events: auto; cursor: move; outline: none; touch-action: none; transform-origin: 50% 50%; } .lq-sheet-shape-body { position: absolute; inset: 0; } .lq-sheet-shape-svg { display: block; overflow: visible; } .lq-sheet-shape-outline:not([fill]) { fill: color-mix(in srgb, var(--lq-sheet-accent) 16%, var(--lq-sheet-bg)); } .lq-sheet-shape-outline:not([stroke]), .lq-sheet-shape-stroke:not([stroke]) { stroke: var(--lq-sheet-accent); } .lq-sheet-shape-arrowhead:not([fill]) { fill: var(--lq-sheet-accent); } .lq-sheet-shape-textBox .lq-sheet-shape-outline:not([fill]) { fill: var(--lq-sheet-bg); } .lq-sheet-shape-textBox .lq-sheet-shape-outline:not([stroke]) { stroke: var(--lq-sheet-border); } .lq-sheet-shape-text, .lq-sheet-shape-editor { position: absolute; inset: 0; box-sizing: border-box; margin: 0; padding: 6px; overflow: hidden; color: var(--lq-sheet-fg); font: inherit; line-height: 1.3; white-space: pre-wrap; overflow-wrap: anywhere; } .lq-sheet-shape-text { display: flex; align-items: center; justify-content: center; text-align: center; pointer-events: none; } .lq-sheet-shape-textBox > .lq-sheet-shape-text { display: block; text-align: start; } .lq-sheet-shape-flat > .lq-sheet-shape-text, .lq-sheet-shape-editing > .lq-sheet-shape-text { display: none; } .lq-sheet-shape-editor { width: 100%; height: 100%; border: 0; background: var(--lq-sheet-bg); resize: none; cursor: text; outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; } .lq-sheet-shape-selected, .lq-sheet-shape:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 3px; } .lq-sheet-shape-handle, .lq-sheet-shape-rotate { position: absolute; display: none; box-sizing: border-box; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 1px solid var(--lq-sheet-accent); background: var(--lq-sheet-bg); } .lq-sheet-shape-handle::after, .lq-sheet-shape-rotate::after { content: ''; position: absolute; inset: -7px; } .lq-sheet-shape-selected > .lq-sheet-shape-handle, .lq-sheet-shape-selected > .lq-sheet-shape-rotate { display: block; } .lq-sheet-shape-locked > .lq-sheet-shape-handle, .lq-sheet-shape-locked > .lq-sheet-shape-rotate, .lq-sheet-shape-editing > .lq-sheet-shape-handle, .lq-sheet-shape-editing > .lq-sheet-shape-rotate { display: none; } .lq-sheet-shape-flat > .lq-sheet-shape-handle:not([data-handle='nw']):not([data-handle='se']) { display: none; } .lq-sheet-shape-handle, .lq-sheet-shape-rotate { transform: scale(calc(1 / var(--lq-sheet-shape-zoom, 1))); } .lq-sheet-shape-handle[data-handle='nw'] { left: 0; top: 0; cursor: nwse-resize; } .lq-sheet-shape-handle[data-handle='n'] { left: 50%; top: 0; cursor: ns-resize; } .lq-sheet-shape-handle[data-handle='ne'] { left: 100%; top: 0; cursor: nesw-resize; } .lq-sheet-shape-handle[data-handle='e'] { left: 100%; top: 50%; cursor: ew-resize; } .lq-sheet-shape-handle[data-handle='se'] { left: 100%; top: 100%; cursor: nwse-resize; } .lq-sheet-shape-handle[data-handle='s'] { left: 50%; top: 100%; cursor: ns-resize; } .lq-sheet-shape-handle[data-handle='sw'] { left: 0; top: 100%; cursor: nesw-resize; } .lq-sheet-shape-handle[data-handle='w'] { left: 0; top: 50%; cursor: ew-resize; } .lq-sheet-shape-rotate { left: 50%; top: -24px; border-radius: 50%; cursor: grab; transition: background-color 0.12s; } .lq-sheet-shape-rotate:hover { background: var(--lq-sheet-accent); } .lq-sheet-shape-locked { cursor: default; } @media (prefers-reduced-motion: reduce) { .lq-sheet-shape-rotate { transition: none; } } @media (forced-colors: active) { .lq-sheet-shape-outline, .lq-sheet-shape-outline:not([fill]) { fill: Canvas; } .lq-sheet-shape-outline, .lq-sheet-shape-stroke, .lq-sheet-shape-outline:not([stroke]), .lq-sheet-shape-stroke:not([stroke]) { stroke: CanvasText; } .lq-sheet-shape-arrowhead, .lq-sheet-shape-arrowhead:not([fill]) { fill: CanvasText; } .lq-sheet-shape-text { color: CanvasText !important; } .lq-sheet-shape-selected, .lq-sheet-shape:focus-visible { outline-color: Highlight; } .lq-sheet-shape-handle, .lq-sheet-shape-rotate { border-color: Highlight; background: Canvas; } } .lq-sheet-outline[hidden] { display: none; } .lq-sheet-dialog-hint { margin: 2px 0 8px; font-size: 12px; line-height: 1.4; color: var(--lq-sheet-muted); } .lq-sheet-cell { font-size: calc(var(--lq-sheet-font-size) * var(--lq-sheet-zoom, 1)); } .lq-sheet-colhead, .lq-sheet-rowhead { font-size: calc(12px * var(--lq-sheet-zoom, 1)); } .lq-sheet-editor-input, .lq-sheet-editor > .lq-sheet-mirror { font-size: calc(var(--lq-sheet-font-size) * var(--lq-sheet-zoom, 1)); } .lq-sheet--no-headings .lq-sheet-colheads, .lq-sheet--no-headings .lq-sheet-rowhead, .lq-sheet-colheads[hidden], .lq-sheet-rowhead[hidden] { display: none; } .lq-sheet-move-preview { position: absolute; border: 2px solid var(--lq-sheet-accent); background: var(--lq-sheet-range-bg); opacity: 0.7; } .lq-sheet-move-handle { position: absolute; pointer-events: auto; cursor: move; } .lq-sheet--painting .lq-sheet-move-handle { pointer-events: none; } .lq-sheet--painting .lq-sheet-cell, .lq-sheet--painting .lq-sheet-colhead, .lq-sheet--painting .lq-sheet-rowhead { cursor: copy; } .lq-sheet-controls { position: absolute; inset: 0; z-index: 7; overflow: hidden; pointer-events: none; } .lq-sheet-freeze-bar, .lq-sheet-unhide { position: absolute; pointer-events: auto; } .lq-sheet-paste-options { position: absolute; display: inline-flex; align-items: center; gap: 1px; box-sizing: border-box; height: 28px; padding: 0 4px; color: var(--lq-sheet-fg); background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-input-border, var(--lq-sheet-border)); border-radius: 4px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18); cursor: pointer; pointer-events: auto; } .lq-sheet-paste-options[hidden] { display: none; } .lq-sheet-cell.lq-sheet-has-check::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; border-top: 6px solid var(--lq-sheet-check-marker, #1a7f37); border-inline-end: 6px solid transparent; } .lq-sheet-error-check { position: absolute; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 24px; height: 24px; padding: 0; color: #9a6700; background: var(--lq-sheet-menu-bg); border: 1px solid var(--lq-sheet-input-border, var(--lq-sheet-border)); border-radius: 4px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18); cursor: pointer; pointer-events: auto; } .lq-sheet-error-check[hidden] { display: none; } .lq-sheet-error-check:hover { background: var(--lq-sheet-header-bg); } .lq-sheet-error-check:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-touch-handle { position: absolute; z-index: 2; width: 30px; height: 30px; border-radius: 50%; pointer-events: auto; touch-action: none; cursor: grab; } .lq-sheet-touch-handle-start { margin: -22px; } .lq-sheet-touch-handle-end { margin: -8px; } .lq-sheet-touch-handle[hidden] { display: none; } .lq-sheet-touch-handle::before { content: ""; position: absolute; inset: 7px; background: var(--lq-sheet-bg); border: 2px solid var(--lq-sheet-accent); border-radius: 50%; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3); } .lq-sheet-touch-handle-active::before { background: var(--lq-sheet-accent); } .lq-sheet--touch .lq-sheet-fill-handle { border-radius: 2px; touch-action: none; } .lq-sheet--touch .lq-sheet-fill-handle::after { content: ""; position: absolute; inset: -1px -9px -16px; } .lq-sheet-paste-options:hover { background: var(--lq-sheet-header-bg); } .lq-sheet-paste-options:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-paste-options[aria-expanded="true"] { border-color: var(--lq-sheet-accent); } .lq-sheet-freeze-bar { box-sizing: border-box; background: var(--lq-sheet-border); outline: none; touch-action: none; } .lq-sheet-freeze-bar[hidden] { display: none; } .lq-sheet-freeze-bar-row { height: 5px; cursor: row-resize; } .lq-sheet-freeze-bar-col { width: 5px; cursor: col-resize; } .lq-sheet-freeze-bar:hover, .lq-sheet-freeze-bar:focus-visible { background: var(--lq-sheet-accent); } .lq-sheet-freeze-bar:focus-visible { box-shadow: 0 0 0 2px var(--lq-sheet-bg), 0 0 0 4px var(--lq-sheet-focus); } .lq-sheet-split-bar { position: absolute; box-sizing: border-box; background: var(--lq-sheet-border); outline: none; pointer-events: auto; touch-action: none; } .lq-sheet-split-bar[hidden] { display: none; } .lq-sheet-split-bar-row { cursor: row-resize; } .lq-sheet-split-bar-col { cursor: col-resize; } .lq-sheet-split-bar[aria-disabled="true"] { cursor: default; } .lq-sheet-split-bar:not([aria-disabled="true"]):hover, .lq-sheet-split-bar:focus-visible { background: var(--lq-sheet-accent); } .lq-sheet-split-bar:focus-visible { box-shadow: 0 0 0 2px var(--lq-sheet-bg), 0 0 0 4px var(--lq-sheet-focus); } .lq-sheet-freeze-guide { position: absolute; background: var(--lq-sheet-accent); pointer-events: none; } .lq-sheet-freeze-guide[hidden] { display: none; } .lq-sheet-unhide { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 12px; height: 12px; padding: 0; overflow: hidden; font: inherit; font-size: 9px; line-height: 1; color: var(--lq-sheet-head-strong-fg); background: var(--lq-sheet-head-surface); border: 1px solid var(--lq-sheet-head-border); border-radius: 2px; cursor: pointer; } .lq-sheet-unhide::before { content: "↔"; } .lq-sheet-unhide-row::before { content: "↕"; } .lq-sheet-unhide:hover, .lq-sheet-unhide:focus-visible { color: var(--lq-sheet-header-selected-fg); background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); } .lq-sheet-unhide:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-paste-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lq-sheet-shift-choices { grid-template-columns: minmax(0, 1fr); min-width: 240px; } .lq-sheet-cf-style-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .lq-sheet-cf-style-row[hidden] { display: none; } .lq-sheet-cf-preview { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 96px; height: 28px; padding: 0 8px; font-size: 12px; color: #1f2328; background: #ffffff; border: 1px solid var(--lq-sheet-border); border-radius: 2px; white-space: nowrap; } .lq-sheet-cf-scale-swatch { display: inline-block; flex: none; width: 16px; height: 16px; margin-inline-start: 6px; border: 1px solid var(--lq-sheet-input-border); border-radius: 3px; } .lq-sheet-cf-scale-preview { display: block; height: 16px; margin-top: 8px; border: 1px solid var(--lq-sheet-border); border-radius: var(--lq-sheet-radius-control); } .lq-sheet-cf-preview-bar { background: linear-gradient(90deg, var(--lq-sheet-cf-bar, #638ec6) 62%, #ffffff 62%); } .lq-sheet-cf-manager { width: min(760px, 100%); } .lq-sheet-cf-manager-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; } .lq-sheet-cf-scope-field { flex: 0 1 240px; } .lq-sheet-cf-rules { display: flex; flex-direction: column; gap: 0; max-height: min(340px, 50vh); margin: 0; padding: 0; overflow: auto; list-style: none; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-cf-rules:empty { display: none; } .lq-sheet-cf-rule { display: grid; grid-template-columns: 20px minmax(120px, 1.4fr) auto minmax(90px, 1fr) auto auto; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid var(--lq-sheet-border); } .lq-sheet-cf-rule:last-child { border-bottom: 0; } .lq-sheet-cf-rule-order { font-size: 12px; color: var(--lq-sheet-muted); text-align: center; font-variant-numeric: tabular-nums; } .lq-sheet-cf-rule-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lq-sheet-cf-rule-range { min-width: 0; width: 100%; } .lq-sheet-cf-rule-actions { display: inline-flex; gap: 2px; } .lq-sheet-icon-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 28px; height: 28px; padding: 0; color: var(--lq-sheet-fg); background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; } .lq-sheet-icon-button:hover { background: var(--lq-sheet-range-bg); } .lq-sheet-icon-button:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-icon-button:disabled { opacity: 0.55; cursor: not-allowed; } @media (max-width: 620px) { .lq-sheet-cf-rule { grid-template-columns: 20px minmax(0, 1fr) auto; } .lq-sheet-cf-rule-range { grid-column: 2 / -1; } } .lq-sheet-goto-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 340px; } .lq-sheet-goto .lq-sheet-modal-body { min-width: 300px; } .lq-sheet-goto-list { height: auto; min-height: 132px; padding: 2px; } @media (prefers-reduced-motion: reduce) { .lq-sheet-freeze-bar, .lq-sheet-split-bar, .lq-sheet-unhide { transition: none; } } @media (forced-colors: active) { .lq-sheet-move-preview { border-color: Highlight; background: transparent; opacity: 1; } .lq-sheet-freeze-bar, .lq-sheet-split-bar { background: ButtonText; } .lq-sheet-freeze-bar:hover, .lq-sheet-freeze-bar:focus-visible, .lq-sheet-split-bar:not([aria-disabled="true"]):hover, .lq-sheet-split-bar:focus-visible, .lq-sheet-freeze-guide { background: Highlight; } .lq-sheet-unhide { color: ButtonText; background: ButtonFace; border-color: ButtonText; } .lq-sheet-unhide:hover, .lq-sheet-unhide:focus-visible { color: HighlightText; background: Highlight; border-color: Highlight; } } .lq-sheet-comment-marks { position: absolute; inset: 0; z-index: 4; pointer-events: none; } .lq-sheet-comment-mark { position: absolute; width: 8px; height: 8px; pointer-events: auto; cursor: pointer; background: linear-gradient(to bottom left, #8250df 50%, transparent 50%); } .lq-sheet--rtl .lq-sheet-comment-mark { background: linear-gradient(to bottom right, #8250df 50%, transparent 50%); } .lq-sheet-comment-mark-resolved { opacity: 0.45; } .lq-sheet-threads { display: flex; flex-direction: column; gap: 10px; } .lq-sheet-thread { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--lq-sheet-border); border-radius: 4px; } .lq-sheet-thread-resolved { background: var(--lq-sheet-header-bg); } .lq-sheet-thread-badge { align-self: flex-start; padding: 0 6px; font-size: 11px; color: var(--lq-sheet-muted); border: 1px solid var(--lq-sheet-border); border-radius: 8px; } .lq-sheet-thread-meta { display: flex; gap: 8px; align-items: baseline; font-size: 12px; } .lq-sheet-thread-meta time { color: var(--lq-sheet-muted); } .lq-sheet-thread-text { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; } .lq-sheet-thread-replies { display: flex; flex-direction: column; gap: 6px; padding-inline-start: 10px; border-inline-start: 2px solid var(--lq-sheet-border); } .lq-sheet-thread-composer { display: flex; flex-direction: column; gap: 4px; } .lq-sheet-thread-input { font: inherit; color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: 4px; resize: vertical; } .lq-sheet-thread-send { align-self: flex-end; } @media (forced-colors: active) { .lq-sheet-comment-mark { forced-color-adjust: none; background: Highlight; } } .lq-sheet-rich-mode { color: transparent !important; caret-color: var(--lq-sheet-fg); } .lq-sheet-rich-mode::selection { color: transparent; background: var(--lq-sheet-range-bg); } .lq-sheet-run-bold { -webkit-text-stroke: 0.045em currentColor; } .lq-sheet-run-regular { font-weight: 400; } .lq-sheet-run-italic { font-style: italic; } .lq-sheet-run-upright { font-style: normal; } .lq-sheet-run-underline { text-decoration: underline; } .lq-sheet-run-strike { text-decoration: line-through; } .lq-sheet-run-underline.lq-sheet-run-strike { text-decoration: underline line-through; } .lq-sheet-ribbon-tab { min-height: var(--lq-sheet-control-height); padding: 0 12px; border-radius: var(--lq-sheet-radius-control) var(--lq-sheet-radius-control) 0 0; } .lq-sheet-ribbon-tab:hover { background: var(--lq-sheet-hover); } .lq-sheet-ribbon-tab:focus-visible, .lq-sheet-ribbon-control:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; } .lq-sheet-ribbon-group { padding: 6px 10px 4px; border-inline-end-color: var(--lq-sheet-border); } .lq-sheet-ribbon-group-body { gap: 4px 2px; align-content: flex-start; max-width: 252px; min-height: calc(var(--lq-sheet-control-compact) * 3 + 8px); } .lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group="library"] .lq-sheet-ribbon-group-body { max-width: 430px; } .lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group="fileDownload"] .lq-sheet-ribbon-group-body { max-width: 380px; } .lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group="show"] .lq-sheet-ribbon-group-body { max-width: 340px; } .lq-sheet-ribbon--compact .lq-sheet-ribbon-bar .lq-sheet-ribbon-group .lq-sheet-ribbon-group-body, .lq-sheet-ribbon-overflow .lq-sheet-ribbon-group-body { max-width: none; min-height: 0; } .lq-sheet-ribbon-group-label { margin-top: 4px; font-size: var(--lq-sheet-text-xs); } .lq-sheet-ribbon-control { min-width: var(--lq-sheet-control-compact); height: var(--lq-sheet-control-compact); padding: 0 6px; font-size: var(--lq-sheet-font-size); border-radius: var(--lq-sheet-radius-control); } .lq-sheet-ribbon-control::after { inset: -2px 0; } .lq-sheet-ribbon-control:hover { background: var(--lq-sheet-hover); } .lq-sheet-ribbon-control:active { background: var(--lq-sheet-active); } .lq-sheet-ribbon-control[aria-pressed="true"], .lq-sheet-ribbon-control[aria-expanded="true"] { background: var(--lq-sheet-selected); border-color: var(--lq-sheet-selected-edge); } .lq-sheet-ribbon-control[aria-disabled="true"], .lq-sheet-ribbon-select:disabled { color: inherit; cursor: not-allowed; opacity: 0.55; } .lq-sheet-ribbon-control[aria-disabled="true"]:hover, .lq-sheet-ribbon-control[aria-disabled="true"]:active { background: transparent; } .lq-sheet-ribbon-select { height: var(--lq-sheet-control-compact); padding: 0 6px; } .lq-sheet-ribbon--compact .lq-sheet-ribbon-group { padding: 4px 8px; } .lq-sheet-ribbon--compact .lq-sheet-ribbon-control > svg ~ .lq-sheet-ribbon-text { display: none; } .lq-sheet-ribbon { position: relative; } .lq-sheet-ribbon-head { display: flex; align-items: flex-end; min-width: 0; } .lq-sheet-ribbon-head[hidden], .lq-sheet-ribbon-panel[hidden] { display: none; } .lq-sheet-ribbon-head > .lq-sheet-ribbon-tabs { flex: 1 1 auto; min-width: 0; } .lq-sheet-ribbon-display { flex: none; align-self: center; margin-inline: 4px 8px; } .lq-sheet-ribbon-search { position: relative; display: flex; flex: 0 1 220px; gap: 6px; align-items: center; align-self: center; box-sizing: border-box; min-width: 120px; height: var(--lq-sheet-control-compact); margin-inline-start: 8px; padding: 0 8px; color: var(--lq-sheet-muted); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: var(--lq-sheet-radius-control); } .lq-sheet-ribbon-search[hidden] { display: none; } .lq-sheet-ribbon-search:focus-within { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-ribbon-search-input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; padding: 0; font: inherit; color: var(--lq-sheet-fg); background: transparent; border: 0; outline: none; } .lq-sheet-ribbon-search-input::placeholder { color: var(--lq-sheet-muted); opacity: 1; } .lq-sheet-ribbon-search-input::-webkit-search-cancel-button { display: none; } .lq-sheet-command-list { top: calc(100% + 4px); inset-inline-end: 0; min-width: 320px; max-width: min(460px, 90vw); max-height: min(420px, 70vh); padding: 4px 0; overflow-y: auto; } .lq-sheet-command-list[hidden] { display: none; } .lq-sheet-command-option { display: grid; grid-template-columns: 16px minmax(0, auto) minmax(0, 1fr); gap: 8px; align-items: center; min-height: var(--lq-sheet-control-height); padding: 0 12px; color: var(--lq-sheet-fg); cursor: pointer; } .lq-sheet-command-option:hover { background: var(--lq-sheet-hover); } .lq-sheet-command-option[aria-selected="true"] { background: var(--lq-sheet-selected); outline: 1px solid var(--lq-sheet-selected-edge); outline-offset: -1px; } .lq-sheet-command-option[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; } .lq-sheet-command-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lq-sheet-command-path { overflow: hidden; font-size: var(--lq-sheet-text-sm); color: var(--lq-sheet-muted); text-align: end; text-overflow: ellipsis; white-space: nowrap; } .lq-sheet-command-empty { padding: 8px 12px; color: var(--lq-sheet-muted); } .lq-sheet--narrow .lq-sheet-ribbon-search { flex: none; width: 32px; min-width: 32px; padding: 0 7px; } .lq-sheet--narrow .lq-sheet-ribbon-search:focus-within { position: absolute; inset-inline: 8px; z-index: 16; width: auto; } @media (forced-colors: active) { .lq-sheet-command-option[aria-selected="true"] { color: HighlightText; background: Highlight; forced-color-adjust: none; } } .lq-sheet-ribbon-sep { flex: none; align-self: center; width: 1px; height: 18px; margin-inline: 3px; background: var(--lq-sheet-border); } .lq-sheet-ribbon-sep:first-child, .lq-sheet-ribbon-sep:last-child { display: none; } .lq-sheet-ribbon-group-body--rows { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 4px; max-width: none; } .lq-sheet-ribbon-row { display: flex; gap: 2px; align-items: center; } .lq-sheet-ribbon-row:empty { display: none; } .lq-sheet-ribbon--tight .lq-sheet-ribbon-text--wide, .lq-sheet-ribbon--icons .lq-sheet-ribbon-control > svg ~ .lq-sheet-ribbon-text { display: none; } .lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group { flex-direction: row; align-items: center; padding: 5px 4px; } .lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar :is([data-control="fontFamily"], [data-control="numberFormat"]) { max-width: 112px; } .lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group[data-group="history"] .lq-sheet-ribbon-row::before { display: none; } .lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group-label { display: none; } .lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group .lq-sheet-ribbon-group-body { flex-wrap: nowrap; max-width: none; min-height: 0; } .lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-group-body--rows { flex-direction: row; align-items: center; gap: 2px; } .lq-sheet-ribbon--simplified .lq-sheet-ribbon-bar .lq-sheet-ribbon-row + .lq-sheet-ribbon-row::before { content: ''; flex: none; width: 1px; height: 18px; margin-inline: 2px; background: var(--lq-sheet-border); } .lq-sheet-ribbon--open .lq-sheet-ribbon-panel { position: absolute; inset-inline: 0; top: 100%; z-index: 15; border-bottom: 1px solid var(--lq-sheet-border); box-shadow: var(--lq-sheet-menu-shadow); } .lq-sheet-formula-bar { min-height: 36px; } .lq-sheet-namebox { height: var(--lq-sheet-control-compact); margin: 4px; padding: 0 8px; border-radius: var(--lq-sheet-radius-control); } .lq-sheet-namebox:focus-visible { outline-offset: 1px; } .lq-sheet-fx { padding: 0 10px 0 6px; border-inline-end: 0; } .lq-sheet-input-wrap { min-height: var(--lq-sheet-control-compact); margin: 4px 4px 4px 0; background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: var(--lq-sheet-radius-control); } .lq-sheet-formula-input, .lq-sheet-input-wrap > .lq-sheet-mirror { padding: 4px 8px; } .lq-sheet-formula-input { border-radius: inherit; } .lq-sheet-formula-input:focus-visible { box-shadow: none; outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-menu { padding: 4px; border-radius: var(--lq-sheet-radius); } .lq-sheet-menu-item { align-items: center; min-height: var(--lq-sheet-control-height); padding: 0 10px; border-radius: var(--lq-sheet-radius-control); cursor: pointer; } .lq-sheet-menu-item:hover { background: var(--lq-sheet-hover); } .lq-sheet-menu-item:active { background: var(--lq-sheet-active); } .lq-sheet-menu-item:focus-visible { background: var(--lq-sheet-hover); outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; } .lq-sheet-menu-item[aria-disabled="true"] { color: inherit; opacity: 0.55; cursor: not-allowed; } .lq-sheet-menu-item[aria-disabled="true"]:hover, .lq-sheet-menu-item[aria-disabled="true"]:active { background: transparent; } .lq-sheet-menu-item[aria-checked="true"] { background: var(--lq-sheet-selected); } .lq-sheet-menu-shortcut { font-size: var(--lq-sheet-text-xs); } .lq-sheet-menu-separator { margin: 4px -4px; } .lq-sheet-menu-heading { padding: 8px 10px 4px; } .lq-sheet-dropdown { padding: 4px; } .lq-sheet-option { display: flex; align-items: center; min-height: var(--lq-sheet-control-height); padding: 0 10px; border-radius: var(--lq-sheet-radius-control); } .lq-sheet-option:hover { background: var(--lq-sheet-hover); } .lq-sheet-option:focus, .lq-sheet-option:focus-visible { background: var(--lq-sheet-hover); outline: 2px solid var(--lq-sheet-focus); outline-offset: -2px; } .lq-sheet-option[aria-selected="true"] { background: var(--lq-sheet-selected); } .lq-sheet-button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--lq-sheet-control-height); padding: 0 12px; background: var(--lq-sheet-bg); border-color: var(--lq-sheet-input-border); border-radius: var(--lq-sheet-radius-control); } .lq-sheet-button:hover { background: var(--lq-sheet-hover); } .lq-sheet-button:active { background: var(--lq-sheet-active); } .lq-sheet-button-primary { background: var(--lq-sheet-accent); border-color: var(--lq-sheet-accent); } .lq-sheet-button-primary:hover { background: color-mix(in srgb, var(--lq-sheet-accent) 88%, var(--lq-sheet-fg)); } .lq-sheet-button-primary:active { background: color-mix(in srgb, var(--lq-sheet-accent) 76%, var(--lq-sheet-fg)); } .lq-sheet-button:disabled, .lq-sheet-button[aria-disabled="true"], .lq-sheet-icon-button:disabled { opacity: 0.55; cursor: not-allowed; } .lq-sheet-button:focus-visible, .lq-sheet-tab:focus-visible, .lq-sheet-tab-add:focus-visible, .lq-sheet-icon-button:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-select, .lq-sheet-modal input[type="text"], .lq-sheet-modal input[type="number"], .lq-sheet-modal input[type="password"], .lq-sheet-field input:not([type="checkbox"]):not([type="radio"]):not([type="color"]) { min-height: var(--lq-sheet-control-height); padding: 0 8px; font: inherit; font-size: var(--lq-sheet-font-size); color: var(--lq-sheet-fg); background: var(--lq-sheet-input-bg); border: 1px solid var(--lq-sheet-input-border); border-radius: var(--lq-sheet-radius-control); } .lq-sheet-modal textarea { padding: 6px 8px; border-radius: var(--lq-sheet-radius-control); } .lq-sheet-select[multiple], .lq-sheet-select[size] { padding: 4px; } .lq-sheet [aria-invalid="true"]:not(.lq-sheet-cell) { border-color: var(--lq-sheet-danger); box-shadow: inset 0 0 0 1px var(--lq-sheet-danger); } .lq-sheet [aria-busy="true"] { cursor: progress; } .lq-sheet-modal[aria-busy="true"] .lq-sheet-actions { opacity: 0.7; } .lq-sheet-field { gap: 4px; font-size: var(--lq-sheet-text-sm); } .lq-sheet-check { min-height: var(--lq-sheet-control-compact); gap: 8px; } .lq-sheet-modal { gap: 10px; padding: 16px; border-radius: var(--lq-sheet-radius-dialog); } .lq-sheet-modal-title { font-size: var(--lq-sheet-text-lg); font-weight: 600; } .lq-sheet-modal-body { gap: 10px; } .lq-sheet-modal-status, .lq-sheet-modal-note, .lq-sheet-find-status { font-size: var(--lq-sheet-text-sm); } .lq-sheet-modal-status:empty { display: none; } .lq-sheet-actions { justify-content: flex-end; gap: 8px; } .lq-sheet-modal > .lq-sheet-actions { margin: 2px -16px 0; padding: 12px 16px 0; border-top: 1px solid var(--lq-sheet-border); } .lq-sheet-fieldset { gap: 4px 12px; padding: 8px 10px; border-radius: var(--lq-sheet-radius-control); } .lq-sheet-tab-button { min-height: var(--lq-sheet-control-height); padding: 0 12px; } .lq-sheet-tab-button:hover { background: var(--lq-sheet-hover); } .lq-sheet-tab-button[aria-selected="true"] { color: var(--lq-sheet-fg); } .lq-sheet-tab { min-height: var(--lq-sheet-control-compact); } .lq-sheet-tab:hover, .lq-sheet-tab-add:hover { background: var(--lq-sheet-hover); } .lq-sheet-statusbar { font-size: var(--lq-sheet-text-sm); } .lq-sheet-sidepanel-header { min-height: 40px; padding: 4px 6px 4px 12px; } .lq-sheet-sidepanel-close { align-items: center; justify-content: center; width: var(--lq-sheet-control-compact); height: var(--lq-sheet-control-compact); padding: 0; } .lq-sheet-sidepanel-close:hover { background: var(--lq-sheet-hover); } .lq-sheet-sidepanel-close:focus-visible { outline: 2px solid var(--lq-sheet-focus); outline-offset: 1px; } .lq-sheet-zoom-button:hover { background: var(--lq-sheet-hover); } @media (pointer: coarse) { .lq-sheet-ribbon-control::after { inset: -8px -4px; } .lq-sheet-menu-item, .lq-sheet-option { min-height: 44px; } } @media (forced-colors: active) { .lq-sheet-button, .lq-sheet-select, .lq-sheet-namebox, .lq-sheet-input-wrap { border-color: ButtonText; } .lq-sheet-button-primary, .lq-sheet-ribbon-control[aria-pressed="true"], .lq-sheet-menu-item[aria-checked="true"] { color: HighlightText; background: Highlight; forced-color-adjust: none; } .lq-sheet-button:disabled, .lq-sheet-ribbon-control[aria-disabled="true"], .lq-sheet-menu-item[aria-disabled="true"] { color: GrayText; opacity: 1; } } `Defined in packages/spreadsheet/src/styles.ts:1
AddSheetOperationinterface#
interface AddSheetOperationDefined in packages/spreadsheet/src/collab/operations.ts:58
AppliedChangesinterface#
interface AppliedChanges| Property | Type | Description |
|---|---|---|
stats | RecalculatedEvent | — |
ranges | EncodedRange[] | — |
results | (string | boolean | undefined)[] | — |
Defined in packages/spreadsheet/src/engine/worker/client.ts:31
AsyncResolvedEventinterface#
interface AsyncResolvedEvent| Property | Type | Description |
|---|---|---|
pending | number | — |
Defined in packages/spreadsheet/src/engine/engine.ts:64
AutoFilterStateinterface#
interface AutoFilterState| Property | Type | Description |
|---|---|---|
range | string | — |
columns | Record<number, string[]> | — |
criteriaoptional | Record<number, FilterCriteria> | — |
specialoptional | Record<number, ColumnFilter> | — |
Defined in packages/spreadsheet/src/types.ts:413
AverageRuleinterface#
interface AverageRule| Property | Type | Description |
|---|---|---|
type | 'average' | — |
range | string | — |
operator | 'above' | 'below' | 'aboveOrEqual' | 'belowOrEqual' | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:249
BeforeOpenEventinterface#
interface BeforeOpenEvent| Property | Type | Description |
|---|---|---|
fileName | string | — |
format | FileOpenFormat | — |
data | Uint8Array | — |
source | FileOpenSource | — |
preventDefault() | () => void | — |
Defined in packages/spreadsheet/src/view/options.ts:145
BeforeSaveEventinterface#
interface BeforeSaveEvent| Property | Type | Description |
|---|---|---|
fileName | string | — |
format | FileSaveFormat | — |
preventDefault() | () => void | — |
Defined in packages/spreadsheet/src/view/options.ts:153
BorderSideinterface#
interface BorderSide| Property | Type | Description |
|---|---|---|
style | BorderStyle | — |
coloroptional | string | — |
colorThemeoptional | ThemeColor | — |
Defined in packages/spreadsheet/src/types.ts:29
CalculationSettingsinterface#
interface CalculationSettings| Property | Type | Description |
|---|---|---|
modeoptional | 'auto' | 'manual' | 'autoNoTable' | — |
fullCalcOnLoadoptional | boolean | — |
fullPrecisionoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:1089
CellBordersinterface#
interface CellBorders| Property | Type | Description |
|---|---|---|
topoptional | BorderSide | — |
rightoptional | BorderSide | — |
bottomoptional | BorderSide | — |
leftoptional | BorderSide | — |
diagonalUpoptional | BorderSide | — |
diagonalDownoptional | BorderSide | — |
Defined in packages/spreadsheet/src/types.ts:35
CellChangeEventinterface#
interface CellChangeEvent| Property | Type | Description |
|---|---|---|
sheet | string | — |
address | string | — |
oldValue | CellValue | — |
newValue | CellValue | — |
formulaoptional | string | — |
source | ChangeSource | — |
Defined in packages/spreadsheet/src/view/options.ts:203
CellEditinterface#
interface CellEdit| Property | Type | Description |
|---|---|---|
address | string | — |
valueoptional | number | string | boolean | null | { error: ErrorCode } | — |
formulaoptional | string | — |
styleoptional | CellStyle | — |
richTextoptional | RichTextRun[] | — |
Defined in packages/spreadsheet/src/collab/operations.ts:14
CellErrorinterface#
interface CellErrorDefined in packages/spreadsheet/src/engine/values.ts:32
CellImageinterface#
interface CellImage| Property | Type | Description |
|---|---|---|
src | string | — |
altoptional | string | — |
decorativeoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:550
CellJSONinterface#
interface CellJSON| Property | Type | Description |
|---|---|---|
valueoptional | CellValue | { error: ErrorCode } | — |
formulaoptional | string | — |
styleoptional | CellStyle | — |
richTextoptional | RichTextRun[] | — |
spilloptional | string | — |
spillValuesoptional | (CellValue | { error: ErrorCode })[][] | — |
Defined in packages/spreadsheet/src/types.ts:1180
CellNoteinterface#
interface CellNote| Property | Type | Description |
|---|---|---|
text | string | — |
authoroptional | string | — |
visibleoptional | boolean | — |
widthoptional | number | — |
heightoptional | number | — |
Defined in packages/spreadsheet/src/types.ts:445
CellsOperationinterface#
interface CellsOperationDefined in packages/spreadsheet/src/collab/operations.ts:22
CellStateRuleinterface#
interface CellStateRule| Property | Type | Description |
|---|---|---|
type | 'blanks' | 'noBlanks' | 'errors' | 'noErrors' | — |
range | string | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:176
CellStyleinterface#
interface CellStyle| Property | Type | Description |
|---|---|---|
boldoptional | boolean | — |
italicoptional | boolean | — |
underlineoptional | boolean | — |
strikeoptional | boolean | — |
coloroptional | string | — |
fontSizeoptional | number | — |
fontFamilyoptional | string | — |
filloptional | string | — |
alignoptional | 'left' | 'center' | 'right' | — |
valignoptional | 'top' | 'middle' | 'bottom' | — |
wrapoptional | boolean | — |
indentoptional | number | — |
numberFormatoptional | string | — |
borderoptional | CellBorders | — |
lockedoptional | boolean | — |
hideFormulaoptional | boolean | — |
rotationoptional | number | — |
shrinkoptional | boolean | — |
horizontaloptional | 'fill' | 'justify' | 'centerContinuous' | 'distributed' | — |
verticaloptional | 'justify' | 'distributed' | — |
readingOrderoptional | 'ltr' | 'rtl' | — |
underlineStyleoptional | 'double' | 'singleAccounting' | 'doubleAccounting' | — |
scriptoptional | 'superscript' | 'subscript' | — |
fillPatternoptional | PatternFill | — |
fillGradientoptional | GradientFill | — |
colorThemeoptional | ThemeColor | — |
fillThemeoptional | ThemeColor | — |
styleNameoptional | string | — |
controloptional | CellControl | — |
Defined in packages/spreadsheet/src/types.ts:106
CellStyleDefinitioninterface#
interface CellStyleDefinitionDefined in packages/spreadsheet/src/types.ts:100
CellValueRuleinterface#
interface CellValueRule| Property | Type | Description |
|---|---|---|
type | 'cellValue' | — |
range | string | — |
operator | ComparisonOperator | — |
values | (number | string)[] | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:150
ChartAxesinterface#
interface ChartAxes| Property | Type | Description |
|---|---|---|
xoptional | ChartAxisOptions | — |
yoptional | ChartAxisOptions | — |
secondaryXoptional | ChartAxisOptions | — |
secondaryYoptional | ChartAxisOptions | — |
Defined in packages/spreadsheet/src/types.ts:669
ChartAxisOptionsinterface#
interface ChartAxisOptions| Property | Type | Description |
|---|---|---|
minoptional | number | — |
maxoptional | number | — |
majorUnitoptional | number | — |
logBaseoptional | number | — |
reversedoptional | boolean | — |
numberFormatoptional | string | — |
labelPositionoptional | 'nextTo' | 'low' | 'high' | 'none' | — |
majorGridlinesoptional | boolean | — |
minorGridlinesoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:656
ChartBinsinterface#
interface ChartBinsDefined in packages/spreadsheet/src/types.ts:616
ChartDataLabelsinterface#
interface ChartDataLabels| Property | Type | Description |
|---|---|---|
placementoptional | ChartLabelPosition | — |
showValueoptional | boolean | — |
showCategoryNameoptional | boolean | — |
showSeriesNameoptional | boolean | — |
showPercentageoptional | boolean | — |
numberFormatoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:647
ChartErrorBarsinterface#
interface ChartErrorBars| Property | Type | Description |
|---|---|---|
type | 'fixed' | 'percentage' | 'standardDeviation' | 'standardError' | 'custom' | — |
valueoptional | number | — |
plusoptional | string | — |
minusoptional | string | — |
directionoptional | 'x' | 'y' | — |
showoptional | 'both' | 'plus' | 'minus' | — |
endCapoptional | boolean | — |
coloroptional | string | — |
Defined in packages/spreadsheet/src/types.ts:633
ChartJSONinterface#
interface ChartJSON| Property | Type | Description |
|---|---|---|
id | string | — |
type | ChartType | — |
series | ChartSeries[] | — |
anchor | DrawingAnchor | — |
titleoptional | string | — |
legendoptional | 'right' | 'bottom' | 'top' | 'left' | 'topRight' | 'none' | — |
stackedoptional | boolean | 'percent' | — |
dataLabelsoptional | boolean | — |
dataLabelOptionsoptional | ChartDataLabels | — |
axesoptional | ChartAxes | — |
smoothoptional | boolean | — |
axisTitlesoptional | { x?: string; y?: string } | — |
titleStyleoptional | ChartTextStyle | — |
axisTitleStylesoptional | { x?: ChartTextStyle; y?: ChartTextStyle } | — |
filloptional | string | — |
plotFilloptional | string | — |
binsoptional | ChartBins | — |
nameoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:706
ChartMarkerinterface#
interface ChartMarker| Property | Type | Description |
|---|---|---|
shape | ChartMarkerShape | — |
sizeoptional | number | — |
Defined in packages/spreadsheet/src/types.ts:686
ChartSeriesinterface#
interface ChartSeries| Property | Type | Description |
|---|---|---|
nameoptional | string | — |
values | string | — |
categoriesoptional | string | — |
sizesoptional | string | — |
coloroptional | string | — |
markeroptional | ChartMarker | — |
subtotalsoptional | number[] | — |
typeoptional | 'column' | 'line' | 'area' | — |
secondaryAxisoptional | boolean | — |
trendlinesoptional | ChartTrendline[] | — |
errorBarsoptional | ChartErrorBars[] | — |
dataLabelsoptional | ChartDataLabels | false | — |
Defined in packages/spreadsheet/src/types.ts:691
ChartTextStyleinterface#
interface ChartTextStyle| Property | Type | Description |
|---|---|---|
familyoptional | string | — |
sizeoptional | number | — |
boldoptional | boolean | — |
italicoptional | boolean | — |
coloroptional | string | — |
Defined in packages/spreadsheet/src/types.ts:676
ChartTrendlineinterface#
interface ChartTrendline| Property | Type | Description |
|---|---|---|
type | 'linear' | 'exponential' | 'logarithmic' | 'polynomial' | 'power' | 'movingAverage' | — |
orderoptional | number | — |
periodoptional | number | — |
forwardoptional | number | — |
backwardoptional | number | — |
displayEquationoptional | boolean | — |
displayRSquaredoptional | boolean | — |
nameoptional | string | — |
coloroptional | string | — |
Defined in packages/spreadsheet/src/types.ts:621
CircularReferenceEventinterface#
interface CircularReferenceEvent| Property | Type | Description |
|---|---|---|
cells | { sheet: string; address: string }[] | — |
Defined in packages/spreadsheet/src/engine/engine.ts:74
CollaborationAuthorityinterface#
interface CollaborationAuthority| Property | Type | Description |
|---|---|---|
revisionreadonly | number | — |
receive() | (clientId: string, baseRevision: number, operation: SheetOperation, id?: string) => CommittedOperation[] | undefined | — |
since() | (revision: number) => CommittedOperation[] | undefined | — |
Defined in packages/spreadsheet/src/collab/authority.ts:16
CollaborationAuthorityOptionsinterface#
interface CollaborationAuthorityOptions| Property | Type | Description |
|---|---|---|
revisionoptional | number | — |
historyLimitoptional | number | — |
Defined in packages/spreadsheet/src/collab/authority.ts:11
CollaborationConnectioninterface#
interface CollaborationConnection| Property | Type | Description |
|---|---|---|
send() | (message: ClientMessage) => void | — |
close() | () => void | — |
Defined in packages/spreadsheet/src/collab/provider.ts:44
CollaborationOptionsinterface#
interface CollaborationOptions| Property | Type | Description |
|---|---|---|
clientId | string | — |
user | CollaborationUser | — |
revisionoptional | number | — |
presenceIntervaloptional | number | — |
rejected()optional | (event: RejectedOperation) => void | — |
Defined in packages/spreadsheet/src/collab/session.ts:46
CollaborationPeerinterface#
interface CollaborationPeer| Property | Type | Description |
|---|---|---|
clientId | string | — |
user | CollaborationUser | — |
presenceoptional | PresenceState | — |
Defined in packages/spreadsheet/src/collab/provider.ts:17
CollaborationProviderinterface#
interface CollaborationProvider| Property | Type | Description |
|---|---|---|
connect() | (handlers: ConnectionHandlers) => CollaborationConnection | — |
Defined in packages/spreadsheet/src/collab/provider.ts:49
CollaborationSessioninterface#
interface CollaborationSession| Property | Type | Description |
|---|---|---|
statusreadonly | CollaborationStatus | — |
revisionreadonly | number | — |
pendingreadonly | number | — |
disconnect() | () => void | — |
getPeers() | () => CollaborationPeer[] | — |
onPeersChange() | (listener: (peers: CollaborationPeer[]) => void) => () => void | — |
onStatusChange() | (listener: (status: CollaborationStatus) => void) => () => void | — |
Defined in packages/spreadsheet/src/collab/session.ts:54
CollaborationTargetinterface#
interface CollaborationTarget| Property | Type | Description |
|---|---|---|
onOperation() | (listener: (event: SheetOperationEvent) => void) => () => void | — |
applyRemoteOperation() | (operation: SheetOperation) => boolean | — |
on()optional | (event: 'selectionChange', listener: (selection: PresenceState) => void) => () => void | — |
getSelection()optional | () => PresenceState | — |
setPresence()optional | (cursors: PresenceCursor[]) => void | — |
Defined in packages/spreadsheet/src/collab/session.ts:27
CollaborationUserinterface#
interface CollaborationUserDefined in packages/spreadsheet/src/collab/provider.ts:6
ColorFilterinterface#
interface ColorFilterDefined in packages/spreadsheet/src/types.ts:363
ColorScaleRuleinterface#
interface ColorScaleRule| Property | Type | Description |
|---|---|---|
type | 'colorScale' | — |
range | string | — |
min | ColorScaleStop | — |
midoptional | ColorScaleStop | — |
max | ColorScaleStop | — |
Defined in packages/spreadsheet/src/types.ts:209
ColorScaleStopinterface#
interface ColorScaleStop| Property | Type | Description |
|---|---|---|
type | 'min' | 'max' | 'number' | 'percent' | 'percentile' | — |
valueoptional | number | — |
color | string | — |
Defined in packages/spreadsheet/src/types.ts:203
ColumnsOperationinterface#
interface ColumnsOperationDefined in packages/spreadsheet/src/collab/operations.ts:35
CommentMentioninterface#
interface CommentMentionDefined in packages/spreadsheet/src/types.ts:426
CommentReplyinterface#
interface CommentReply| Property | Type | Description |
|---|---|---|
text | string | — |
authoroptional | string | — |
dateoptional | string | — |
mentionsoptional | CommentMention[] | — |
Defined in packages/spreadsheet/src/types.ts:433
CommentThreadinterface#
interface CommentThread extends CommentReply| Property | Type | Description |
|---|---|---|
resolvedoptional | boolean | — |
repliesoptional | CommentReply[] | — |
text | string | Inherited from CommentReply. |
authoroptional | string | undefined | Inherited from CommentReply. |
dateoptional | string | undefined | Inherited from CommentReply. |
mentionsoptional | CommentMention[] | undefined | Inherited from CommentReply. |
Defined in packages/spreadsheet/src/types.ts:440
CommittedOperationinterface#
interface CommittedOperation| Property | Type | Description |
|---|---|---|
revision | number | — |
operation | SheetOperation | — |
clientId | string | — |
idoptional | string | — |
Defined in packages/spreadsheet/src/collab/authority.ts:4
ConnectionHandlersinterface#
interface ConnectionHandlers| Property | Type | Description |
|---|---|---|
open() | () => void | — |
message() | (message: ServerMessage) => void | — |
close() | () => void | — |
Defined in packages/spreadsheet/src/collab/provider.ts:38
CreateTableOptionsinterface#
interface CreateTableOptions| Property | Type | Description |
|---|---|---|
nameoptional | string | — |
headerRowoptional | boolean | — |
totalsRowoptional | boolean | — |
styleoptional | string | — |
showRowStripesoptional | boolean | — |
showColumnStripesoptional | boolean | — |
showFirstColumnoptional | boolean | — |
showLastColumnoptional | boolean | — |
autoFilteroptional | boolean | — |
columnsoptional | TableColumn[] | — |
Defined in packages/spreadsheet/src/engine/tables.ts:21
CsvDialectinterface#
interface CsvDialect| Property | Type | Description |
|---|---|---|
delimiter | string | — |
quote | string | — |
lineEnding | CsvLineEnding | — |
encoding | string | — |
hasBom | boolean | — |
Defined in packages/spreadsheet/src/formats/csv.ts:9
CsvExportOptionsinterface#
interface CsvExportOptions| Property | Type | Description |
|---|---|---|
sheetoptional | string | — |
rangeoptional | string | — |
delimiteroptional | string | — |
quoteoptional | string | — |
lineEndingoptional | CsvLineEnding | — |
bomoptional | boolean | — |
valuesoptional | 'formatted' | 'raw' | — |
quoteAlloptional | boolean | — |
escapeFormulasoptional | boolean | — |
Defined in packages/spreadsheet/src/formats/csv.ts:34
CsvImportOptionsinterface#
interface CsvImportOptions| Property | Type | Description |
|---|---|---|
delimiteroptional | string | — |
quoteoptional | string | — |
encodingoptional | string | — |
sheetNameoptional | string | — |
inferTypesoptional | boolean | — |
decimalSeparatoroptional | '.' | ',' | — |
localeoptional | string | — |
dateOrderoptional | CsvDateOrder | — |
formulasoptional | boolean | — |
trimoptional | boolean | — |
maxRowsoptional | number | — |
unescapeFormulasoptional | boolean | — |
Defined in packages/spreadsheet/src/formats/csv.ts:19
CsvParseResultinterface#
interface CsvParseResult| Property | Type | Description |
|---|---|---|
rows | string[][] | — |
quoted | boolean[][] | — |
dialect | CsvDialect | — |
Defined in packages/spreadsheet/src/formats/csv.ts:46
CustomFilterCriteriainterface#
interface CustomFilterCriteria| Property | Type | Description |
|---|---|---|
type | 'custom' | — |
conditions | { operator: FilterOperator; value: string }[] | — |
matchAlloptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:343
CustomFunctionDefinitioninterface#
interface CustomFunctionDefinition extends CustomFunctionOptions| Property | Type | Description |
|---|---|---|
name | string | — |
impl | CustomFunctionImpl | — |
argsoptional | string | undefined | Inherited from CustomFunctionOptions. |
descriptionoptional | string | undefined | Inherited from CustomFunctionOptions. |
volatileoptional | boolean | undefined | Inherited from CustomFunctionOptions. |
asyncoptional | boolean | undefined | Inherited from CustomFunctionOptions. |
overrideoptional | boolean | undefined | Inherited from CustomFunctionOptions. |
Defined in packages/spreadsheet/src/engine/functions/custom.ts:36
CustomFunctionOptionsinterface#
interface CustomFunctionOptions| Property | Type | Description |
|---|---|---|
argsoptional | string | — |
descriptionoptional | string | — |
volatileoptional | boolean | — |
asyncoptional | boolean | — |
overrideoptional | boolean | — |
Defined in packages/spreadsheet/src/engine/functions/custom.ts:28
DataBarRuleinterface#
interface DataBarRule| Property | Type | Description |
|---|---|---|
type | 'dataBar' | — |
range | string | — |
color | string | — |
minoptional | number | — |
maxoptional | number | — |
minTypeoptional | DataBarBoundType | — |
maxTypeoptional | DataBarBoundType | — |
minFormulaoptional | string | — |
maxFormulaoptional | string | — |
gradientoptional | boolean | — |
borderColoroptional | string | — |
negativeColoroptional | string | — |
negativeBorderColoroptional | string | — |
axisPositionoptional | 'automatic' | 'midpoint' | 'none' | — |
axisColoroptional | string | — |
directionoptional | 'context' | 'leftToRight' | 'rightToLeft' | — |
showValueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:219
DataTableInfointerface#
interface DataTableInfo extends DataTableJSON| Property | Type | Description |
|---|---|---|
sheet | string | — |
range | string | Inherited from DataTableJSON. |
rowInputCelloptional | string | undefined | Inherited from DataTableJSON. |
columnInputCelloptional | string | undefined | Inherited from DataTableJSON. |
Defined in packages/spreadsheet/src/engine/data-tables.ts:30
DataTableJSONinterface#
interface DataTableJSON| Property | Type | Description |
|---|---|---|
range | string | — |
rowInputCelloptional | string | — |
columnInputCelloptional | string | — |
Defined in packages/spreadsheet/src/types.ts:1006
DataValidationinterface#
interface DataValidation| Property | Type | Description |
|---|---|---|
range | string | — |
type | ValidationType | — |
operatoroptional | ComparisonOperator | — |
valuesoptional | (number | string)[] | — |
sourceoptional | string | — |
formulaoptional | string | — |
allowBlankoptional | boolean | — |
showDropdownoptional | boolean | — |
errorStyleoptional | 'stop' | 'warning' | 'information' | — |
errorTitleoptional | string | — |
errorMessageoptional | string | — |
promptoptional | string | — |
promptTitleoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:324
DateGroupFilterinterface#
interface DateGroupFilter| Property | Type | Description |
|---|---|---|
type | 'dateGroup' | — |
items | DateGroupItem[] | — |
valuesoptional | string[] | — |
blankoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:385
DateGroupIteminterface#
interface DateGroupItem| Property | Type | Description |
|---|---|---|
grouping | 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second' | — |
year | number | — |
monthoptional | number | — |
dayoptional | number | — |
houroptional | number | — |
minuteoptional | number | — |
secondoptional | number | — |
Defined in packages/spreadsheet/src/types.ts:375
DateOccurringRuleinterface#
interface DateOccurringRule| Property | Type | Description |
|---|---|---|
type | 'dateOccurring' | — |
range | string | — |
period | DatePeriod | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:195
DefinedNameInfointerface#
interface DefinedNameInfoDefined in packages/spreadsheet/src/view/options.ts:380
DefineNameOperationinterface#
interface DefineNameOperationDefined in packages/spreadsheet/src/collab/operations.ts:82
DocumentPropertiesinterface#
interface DocumentProperties| Property | Type | Description |
|---|---|---|
titleoptional | string | — |
subjectoptional | string | — |
authoroptional | string | — |
keywordsoptional | string | — |
descriptionoptional | string | — |
categoryoptional | string | — |
statusoptional | string | — |
lastModifiedByoptional | string | — |
createdoptional | string | — |
modifiedoptional | string | — |
companyoptional | string | — |
manageroptional | string | — |
applicationoptional | string | — |
customoptional | Record<string, string | number | boolean> | — |
Defined in packages/spreadsheet/src/types.ts:1072
DrawingAnchorinterface#
interface DrawingAnchor| Property | Type | Description |
|---|---|---|
cell | string | — |
offsetXoptional | number | — |
offsetYoptional | number | — |
width | number | — |
height | number | — |
tooptional | { cell: string; offsetX?: number; offsetY?: number } | — |
editAsoptional | 'twoCell' | 'oneCell' | 'absolute' | — |
xoptional | number | — |
yoptional | number | — |
Defined in packages/spreadsheet/src/types.ts:517
DuplicateRuleinterface#
interface DuplicateRule| Property | Type | Description |
|---|---|---|
type | 'duplicates' | — |
range | string | — |
uniqueoptional | boolean | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:257
DynamicFilterCriteriainterface#
interface DynamicFilterCriteriaDefined in packages/spreadsheet/src/types.ts:356
EditorTextFormatinterface#
interface EditorTextFormat| Property | Type | Description |
|---|---|---|
boldoptional | boolean | — |
italicoptional | boolean | — |
underlineoptional | boolean | — |
strikeoptional | boolean | — |
coloroptional | string | null | — |
fontSizeoptional | number | null | — |
fontFamilyoptional | string | null | — |
scriptoptional | 'superscript' | 'subscript' | null | — |
Defined in packages/spreadsheet/src/view/options.ts:531
EmbeddedFileHintsinterface#
interface EmbeddedFileHints| Property | Type | Description |
|---|---|---|
progIdoptional | string | — |
fileNameoptional | string | — |
contentTypeoptional | string | — |
partNameoptional | string | — |
Defined in packages/spreadsheet/src/formats/file-type.ts:26
EmbeddedFileTypeinterface#
interface EmbeddedFileTypeDefined in packages/spreadsheet/src/formats/file-type.ts:18
EmbeddedObjectChangesinterface#
interface EmbeddedObjectChanges| Property | Type | Description |
|---|---|---|
anchoroptional | DrawingAnchor | — |
altoptional | string | — |
fileNameoptional | string | — |
dataoptional | Uint8Array | ArrayBuffer | — |
mimeTypeoptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:182
EmbeddedObjectInputinterface#
interface EmbeddedObjectInput| Property | Type | Description |
|---|---|---|
data | Uint8Array | ArrayBuffer | — |
fileName | string | — |
mimeTypeoptional | string | — |
asIconoptional | boolean | — |
anchoroptional | Omit<DrawingAnchor, 'width' | 'height'> & { width?: number; height?: number } | — |
previewoptional | string | — |
altoptional | string | — |
idoptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:171
EmbeddedObjectJSONinterface#
interface EmbeddedObjectJSON| Property | Type | Description |
|---|---|---|
id | string | — |
kind | 'embeddedObject' | — |
anchor | DrawingAnchor | — |
fileName | string | — |
data | string | — |
mimeTypeoptional | string | — |
progId | string | — |
asIconoptional | boolean | — |
fallbackoptional | string | — |
containeroptional | string | — |
nameoptional | string | — |
altoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:556
EmbeddedObjectOpenEventinterface#
interface EmbeddedObjectOpenEvent| Property | Type | Description |
|---|---|---|
sheet | string | — |
id | string | — |
fileName | string | — |
mimeType | string | — |
progId | string | — |
fileType | EmbeddedFileType | — |
data | Uint8Array | — |
Defined in packages/spreadsheet/src/view/options.ts:190
EncodedRangeinterface#
interface EncodedRangeDefined in packages/spreadsheet/src/engine/worker/protocol.ts:58
EncryptionErrorinterface#
interface EncryptionError extends Error| Property | Type | Description |
|---|---|---|
code | EncryptionErrorCode | — |
Defined in packages/spreadsheet/src/formats/encryption.ts:6
EncryptionSummaryinterface#
interface EncryptionSummary| Property | Type | Description |
|---|---|---|
kind | 'agile' | 'standard' | — |
cipher | string | — |
keyBits | number | — |
hash | string | — |
spinCount | number | — |
Defined in packages/spreadsheet/src/formats/encryption.ts:14
EngineRecalculatedEventinterface#
interface EngineRecalculatedEvent| Property | Type | Description |
|---|---|---|
changedCount | number | — |
evaluated | number | — |
ms | number | — |
Defined in packages/spreadsheet/src/engine/engine.ts:68
ErrorCheckInfointerface#
interface ErrorCheckInfo| Property | Type | Description |
|---|---|---|
address | string | — |
kind | 'numberStoredAsText' | 'formula' | 'formulaRange' | — |
suggestionoptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:374
ExposeOptionsinterface#
interface ExposeOptions| Property | Type | Description |
|---|---|---|
importXlsxoptional | (bytes: Uint8Array) => Promise<WorkbookJSON> | — |
functionsoptional | CustomFunctionSet | — |
Defined in packages/spreadsheet/src/engine/worker/host.ts:17
FileOpenOptionsinterface#
interface FileOpenOptions| Property | Type | Description |
|---|---|---|
passwordoptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:141
FindOptionsinterface#
interface FindOptions| Property | Type | Description |
|---|---|---|
matchCaseoptional | boolean | — |
wholeCelloptional | boolean | — |
inFormulasoptional | boolean | — |
allSheetsoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:510
FormatLocaleinterface#
interface FormatLocale| Property | Type | Description |
|---|---|---|
tagreadonly | string | — |
decimalreadonly | string | — |
groupreadonly | string | — |
listSeparatorreadonly | string | — |
arrayColumnreadonly | string | — |
arrayRowreadonly | string | — |
dateOrderreadonly | 'mdy' | 'dmy' | — |
dateFormatreadonly | string | — |
monthsreadonly | readonly string[] | — |
monthsShortreadonly | readonly string[] | — |
daysreadonly | readonly string[] | — |
daysShortreadonly | readonly string[] | — |
functionNamesoptionalreadonly | Readonly<Record<string, string>> | — |
Defined in packages/spreadsheet/src/engine/format/locale.ts:1
FormatOptionsinterface#
interface FormatOptions| Property | Type | Description |
|---|---|---|
widthoptional | number | — |
localeoptional | string | FormatLocale | — |
Defined in packages/spreadsheet/src/engine/format/number-format.ts:19
FormattedValueinterface#
interface FormattedValueDefined in packages/spreadsheet/src/engine/format/number-format.ts:14
FormulaEngineinterface#
interface FormulaEngine| Property | Type | Description |
|---|---|---|
sheetNamesreadonly | readonly string[] | — |
evaluationCountreadonly | number | — |
pendingAsyncreadonly | number | — |
addSheet() | (name?: string, index?: number) => string | — |
removeSheet() | (name: string) => void | — |
renameSheet() | (from: string, to: string) => void | — |
moveSheet() | (name: string, index: number) => void | — |
setCell() | (sheet: string, address: string, input: CellInput) => void | — |
setFormula() | (sheet: string, address: string, formula: string) => void | — |
getValue() | (sheet: string, address: string) => CellValue | — |
getFormula() | (sheet: string, address: string) => string | undefined | — |
getRange() | (sheet: string, range: string) => CellValue[][] | — |
setRange() | (sheet: string, topLeft: string, rows: CellInput[][]) => void | — |
clearRange() | (sheet: string, range: string) => void | — |
insertRows() | (sheet: string, row: number, count?: number) => void | — |
deleteRows() | (sheet: string, row: number, count?: number) => void | — |
insertColumns() | (sheet: string, column: number | string, count?: number) => void | — |
deleteColumns() | (sheet: string, column: number | string, count?: number) => void | — |
insertCells() | (sheet: string, range: string, shift?: 'right' | 'down') => void | — |
deleteCells() | (sheet: string, range: string, shift?: 'left' | 'up') => void | — |
sortRange() | (sheet: string, range: string, keys: { column: number | string; descending?: boolean }[]) => void | — |
defineName() | (name: string, formula: string, sheet?: string) => void | — |
removeName() | (name: string, sheet?: string) => boolean | — |
addTable() | (sheet: string, range: string, options?: CreateTableOptions) => string | — |
removeTable() | (name: string) => void | — |
getTables() | (sheet?: string) => TableJSON[] | — |
addDataTable() | (sheet: string, table: DataTableJSON) => void | — |
removeDataTable() | (sheet: string, range: string, options?: RemoveDataTableOptions) => boolean | — |
getDataTables() | (sheet?: string) => DataTableInfo[] | — |
evaluate() | (formula: string, context?: { sheet?: string; address?: string }) => CellValue | CellValue[][] | — |
validateFormula() | (formula: string) => string | undefined | — |
copyFormula() | (formula: string, from: string, to: string) => string | — |
recalculate() | () => RecalculatedEvent | — |
batch() | <T>(fn: () => T) => T | — |
on() | <K extends keyof FormulaEngineEvents>(event: K, listener: (payload: FormulaEngineEvents[K]) => void) => () => void | — |
toJSON() | () => WorkbookJSON | — |
fromJSON() | (json: WorkbookJSON) => void | — |
applyOperation() | (operation: SheetOperation) => boolean | — |
insertPivotTable() | (sheet: string, pivot: PivotTableJSON) => void | — |
removePivotTable() | (name: string) => boolean | — |
getPivotTables() | (sheet?: string) => PivotTableJSON[] | — |
refreshPivotTables() | () => number | — |
registerFunction() | (name: string, impl: CustomFunctionImpl, options?: CustomFunctionOptions) => void | — |
unregisterFunction() | (name: string) => boolean | — |
listFunctions() | () => FunctionInfo[] | — |
whenCalculated() | () => Promise<void> | — |
Defined in packages/spreadsheet/src/engine/engine.ts:85
FormulaEngineEventsinterface#
interface FormulaEngineEvents| Property | Type | Description |
|---|---|---|
recalculated | RecalculatedEvent | — |
circularReference | CircularReferenceEvent | — |
functionError | FunctionErrorEvent | — |
asyncResolved | AsyncResolvedEvent | — |
Defined in packages/spreadsheet/src/engine/engine.ts:78
FormulaEngineOptionsinterface#
interface FormulaEngineOptions| Property | Type | Description |
|---|---|---|
sheetsoptional | string[] | — |
dynamicArraysoptional | boolean | — |
iterativeoptional | boolean | — |
maxIterationsoptional | number | — |
maxChangeoptional | number | — |
nowoptional | () => Date | — |
randomoptional | () => number | — |
resolveImageoptional | (request: ImageRequest) => string | undefined | — |
functionsoptional | CustomFunctionSet | — |
Defined in packages/spreadsheet/src/engine/engine.ts:44
FormulaRuleinterface#
interface FormulaRule| Property | Type | Description |
|---|---|---|
type | 'formula' | — |
range | string | — |
formula | string | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:159
FormulaStepinterface#
interface FormulaStepDefined in packages/spreadsheet/src/view/options.ts:268
FunctionErrorEventinterface#
interface FunctionErrorEventDefined in packages/spreadsheet/src/engine/engine.ts:56
FunctionInfointerface#
interface FunctionInfo| Property | Type | Description |
|---|---|---|
name | string | — |
category | FunctionCategory | — |
args | string | — |
summary | string | — |
volatile | boolean | — |
Defined in packages/spreadsheet/src/engine/functions/custom.ts:45
GoalSeekOptionsinterface#
interface GoalSeekOptions| Property | Type | Description |
|---|---|---|
setCell | string | — |
toValue | number | — |
changingCell | string | — |
maxIterationsoptional | number | — |
toleranceoptional | number | — |
Defined in packages/spreadsheet/src/view/options.ts:446
GoalSeekResultinterface#
interface GoalSeekResult| Property | Type | Description |
|---|---|---|
found | boolean | — |
value | number | — |
result | number | — |
iterations | number | — |
Defined in packages/spreadsheet/src/view/options.ts:454
GradientFillinterface#
interface GradientFill| Property | Type | Description |
|---|---|---|
type | 'linear' | 'path' | — |
degreeoptional | number | — |
leftoptional | number | — |
rightoptional | number | — |
topoptional | number | — |
bottomoptional | number | — |
stops | GradientStop[] | — |
Defined in packages/spreadsheet/src/types.ts:77
GradientStopinterface#
interface GradientStop| Property | Type | Description |
|---|---|---|
position | number | — |
color | string | — |
colorThemeoptional | ThemeColor | — |
Defined in packages/spreadsheet/src/types.ts:71
Hyperlinkinterface#
interface HyperlinkDefined in packages/spreadsheet/src/types.ts:453
HyperlinkClickEventinterface#
interface HyperlinkClickEvent| Property | Type | Description |
|---|---|---|
sheet | string | — |
address | string | — |
urloptional | string | — |
locationoptional | string | — |
preventDefault() | () => void | — |
Defined in packages/spreadsheet/src/view/options.ts:243
IconChoiceinterface#
interface IconChoice| Property | Type | Description |
|---|---|---|
iconSet | IconSetName | 'NoIcons' | — |
iconId | number | — |
Defined in packages/spreadsheet/src/types.ts:294
IconFilterinterface#
interface IconFilterDefined in packages/spreadsheet/src/types.ts:369
IconSetRuleinterface#
interface IconSetRule| Property | Type | Description |
|---|---|---|
type | 'iconSet' | — |
range | string | — |
iconSet | IconSetName | — |
thresholdsoptional | IconThreshold[] | — |
reverseoptional | boolean | — |
showValueoptional | boolean | — |
iconsoptional | IconChoice[] | — |
Defined in packages/spreadsheet/src/types.ts:299
IconThresholdinterface#
interface IconThreshold| Property | Type | Description |
|---|---|---|
type | 'number' | 'percent' | 'percentile' | 'formula' | — |
value | number | — |
formulaoptional | string | — |
inclusiveoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:287
IgnoredErrorinterface#
interface IgnoredError| Property | Type | Description |
|---|---|---|
range | string | — |
kinds | ErrorCheckKind[] | — |
Defined in packages/spreadsheet/src/types.ts:592
ImageCropinterface#
interface ImageCrop| Property | Type | Description |
|---|---|---|
leftoptional | number | — |
topoptional | number | — |
rightoptional | number | — |
bottomoptional | number | — |
Defined in packages/spreadsheet/src/types.ts:529
ImageJSONinterface#
interface ImageJSON| Property | Type | Description |
|---|---|---|
id | string | — |
src | string | — |
anchor | DrawingAnchor | — |
altoptional | string | — |
nameoptional | string | — |
fallbackoptional | string | — |
rotationoptional | number | — |
flipHoptional | boolean | — |
flipVoptional | boolean | — |
cropoptional | ImageCrop | — |
groupoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:536
ImageResolveRequestinterface#
interface ImageResolveRequestDefined in packages/spreadsheet/src/view/options.ts:165
LoopbackProviderinterface#
interface LoopbackProvider extends CollaborationProvider| Property | Type | Description |
|---|---|---|
authorityreadonly | CollaborationAuthority | — |
pausedreadonly | boolean | — |
pause() | () => void | — |
resume() | () => void | — |
setOnline() | (clientId: string, online: boolean) => void | — |
getWorkbook() | () => WorkbookJSON | undefined | — |
connect() | (handlers: ConnectionHandlers) => CollaborationConnection | Inherited from CollaborationProvider. |
Defined in packages/spreadsheet/src/collab/provider.ts:58
LoopbackProviderOptionsinterface#
interface LoopbackProviderOptions| Property | Type | Description |
|---|---|---|
workbookoptional | WorkbookJSON | — |
historyLimitoptional | number | — |
Defined in packages/spreadsheet/src/collab/provider.ts:53
MentionEventinterface#
interface MentionEvent| Property | Type | Description |
|---|---|---|
id | string | — |
name | string | — |
sheet | string | — |
address | string | — |
text | string | — |
authoroptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:333
MentionOptionsinterface#
interface MentionOptions| Property | Type | Description |
|---|---|---|
search() | (query: string) => readonly MentionUser[] | Promise<readonly MentionUser[]> | — |
onMention()optional | (event: MentionEvent) => void | — |
Defined in packages/spreadsheet/src/view/options.ts:342
MentionUserinterface#
interface MentionUserDefined in packages/spreadsheet/src/view/options.ts:327
MessageEndpointinterface#
interface MessageEndpoint| Property | Type | Description |
|---|---|---|
postMessage() | (message: unknown, transfer?: Transferable[]) => void | — |
addEventListener() | (type: 'message', listener: (event: { data: unknown }) => void) => void | — |
removeEventListener()optional | (type: 'message', listener: (event: { data: unknown }) => void) => void | — |
Defined in packages/spreadsheet/src/engine/worker/protocol.ts:82
MetafilePictureinterface#
interface MetafilePicture| Property | Type | Description |
|---|---|---|
format | 'emf' | 'wmf' | — |
svg | string | — |
width | number | — |
height | number | — |
shapes | Record<MetafileShapeKind, number> | — |
shapeCount | number | — |
skippedRecords | number | — |
Defined in packages/spreadsheet/src/formats/metafile/canvas.ts:17
MoveSheetOperationinterface#
interface MoveSheetOperationDefined in packages/spreadsheet/src/collab/operations.ts:76
NamedCellStyleinterface#
interface NamedCellStyle| Property | Type | Description |
|---|---|---|
name | string | — |
category | 'goodBadNeutral' | 'dataModel' | 'titles' | 'numberFormat' | 'workbook' | — |
style | CellStyle | — |
Defined in packages/spreadsheet/src/view/options.ts:280
NamedSheetViewinterface#
interface NamedSheetView extends SheetViewState| Property | Type | Description |
|---|---|---|
name | string | — |
autoFilteroptional | AutoFilterState | undefined | Inherited from SheetViewState. |
sortStateoptional | SortState | undefined | Inherited from SheetViewState. |
Defined in packages/spreadsheet/src/types.ts:588
OdsExportOptionsinterface#
interface OdsExportOptions| Property | Type | Description |
|---|---|---|
compressoptional | boolean | — |
Defined in packages/spreadsheet/src/formats/ods.ts:18
OdsImportOptionsinterface#
interface OdsImportOptions| Property | Type | Description |
|---|---|---|
maxRepeatedRowsoptional | number | — |
limitsoptional | Partial<ZipLimits> | — |
Defined in packages/spreadsheet/src/formats/ods.ts:13
OutlineStateinterface#
interface OutlineState| Property | Type | Description |
|---|---|---|
rowsoptional | Record<string, number> | — |
columnsoptional | Record<string, number> | — |
summaryBelowoptional | boolean | — |
summaryRightoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:510
PageMarginsinterface#
interface PageMargins| Property | Type | Description |
|---|---|---|
top | number | — |
bottom | number | — |
left | number | — |
right | number | — |
headeroptional | number | — |
footeroptional | number | — |
Defined in packages/spreadsheet/src/types.ts:753
PageSetupinterface#
interface PageSetup| Property | Type | Description |
|---|---|---|
orientationoptional | 'portrait' | 'landscape' | — |
paperSizeoptional | PaperSize | — |
scaleoptional | number | — |
fitToWidthoptional | number | — |
fitToHeightoptional | number | — |
marginsoptional | PageMargins | — |
printAreaoptional | string | — |
printTitleRowsoptional | string | — |
printTitleColumnsoptional | string | — |
gridlinesoptional | boolean | — |
headingsoptional | boolean | — |
centerHorizontallyoptional | boolean | — |
centerVerticallyoptional | boolean | — |
headeroptional | string | — |
footeroptional | string | — |
rowBreaksoptional | number[] | — |
columnBreaksoptional | number[] | — |
Defined in packages/spreadsheet/src/types.ts:762
PasteSpecialOptionsinterface#
interface PasteSpecialOptions| Property | Type | Description |
|---|---|---|
modeoptional | PasteSpecialMode | — |
transposeoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:402
PatternFillinterface#
interface PatternFill| Property | Type | Description |
|---|---|---|
pattern | FillPattern | — |
coloroptional | string | — |
backgroundoptional | string | — |
colorThemeoptional | ThemeColor | — |
backgroundThemeoptional | ThemeColor | — |
Defined in packages/spreadsheet/src/types.ts:63
PdfExportOptionsinterface#
interface PdfExportOptions| Property | Type | Description |
|---|---|---|
sheetsoptional | 'all' | 'active' | string[] | — |
rangeoptional | string | — |
fontsoptional | PdfFontFiles | — |
compressoptional | boolean | — |
titleoptional | string | — |
authoroptional | string | — |
fileNameoptional | string | — |
dateoptional | Date | — |
defaultColumnWidthoptional | number | — |
defaultRowHeightoptional | number | — |
localeoptional | string | FormatLocale | — |
onReportoptional | (report: PdfExportReport) => void | — |
Defined in packages/spreadsheet/src/pdf/sheet-pdf.ts:63
PdfExportReportinterface#
interface PdfExportReport| Property | Type | Description |
|---|---|---|
pages | number | — |
sheets | { name: string; pages: number }[] | — |
skipped | { sheet: string; kind: string; count: number }[] | — |
replacedCharacters | number | — |
Defined in packages/spreadsheet/src/pdf/sheet-pdf.ts:56
PdfFontFilesinterface#
interface PdfFontFiles| Property | Type | Description |
|---|---|---|
regular | Uint8Array | — |
boldoptional | Uint8Array | — |
italicoptional | Uint8Array | — |
boldItalicoptional | Uint8Array | — |
Defined in packages/spreadsheet/src/pdf/sheet-pdf.ts:49
PivotCalculatedFieldinterface#
interface PivotCalculatedFieldDefined in packages/spreadsheet/src/types.ts:788
PivotCalculatedIteminterface#
interface PivotCalculatedItemDefined in packages/spreadsheet/src/types.ts:793
PivotDateFilterinterface#
interface PivotDateFilter| Property | Type | Description |
|---|---|---|
operator | PivotDateFilterOperator | — |
dateoptional | string | — |
date2optional | string | — |
Defined in packages/spreadsheet/src/types.ts:867
PivotFieldinterface#
interface PivotField| Property | Type | Description |
|---|---|---|
field | string | — |
groupByoptional | PivotDateGrouping | — |
sortoptional | 'ascending' | 'descending' | — |
subtotaloptional | boolean | — |
layoutoptional | PivotLayout | — |
calculatedItemsoptional | PivotCalculatedItem[] | — |
valueFilteroptional | PivotValueFilter | — |
labelFilteroptional | PivotLabelFilter | — |
dateFilteroptional | PivotDateFilter | — |
Defined in packages/spreadsheet/src/types.ts:875
PivotFilterFieldinterface#
interface PivotFilterFieldDefined in packages/spreadsheet/src/types.ts:896
PivotLabelFilterinterface#
interface PivotLabelFilter| Property | Type | Description |
|---|---|---|
operator | PivotLabelFilterOperator | — |
operand | string | — |
operand2optional | string | — |
Defined in packages/spreadsheet/src/types.ts:832
PivotStyleinterface#
interface PivotStyle| Property | Type | Description |
|---|---|---|
nameoptional | string | — |
rowStripesoptional | boolean | — |
columnStripesoptional | boolean | — |
rowHeadersoptional | boolean | — |
columnHeadersoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:808
PivotTableJSONinterface#
interface PivotTableJSON| Property | Type | Description |
|---|---|---|
name | string | — |
source | string | — |
destination | string | — |
rows | PivotField[] | — |
columns | PivotField[] | — |
values | PivotValueField[] | — |
filtersoptional | PivotFilterField[] | — |
calculatedFieldsoptional | PivotCalculatedField[] | — |
grandTotalsoptional | { rows?: boolean; columns?: boolean } | — |
layoutoptional | PivotLayout | — |
repeatItemLabelsoptional | boolean | — |
subtotalPositionoptional | 'top' | 'bottom' | — |
valuesOnRowsoptional | boolean | — |
styleoptional | PivotStyle | — |
rangeoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:901
PivotTableOptionsinterface#
interface PivotTableOptions extends Omit<PivotTableJSON, 'name' | 'range' | 'destination'>| Property | Type | Description |
|---|---|---|
nameoptional | string | — |
destinationoptional | string | — |
columns | PivotField[] | Inherited from PivotTableJSON. |
rows | PivotField[] | Inherited from PivotTableJSON. |
styleoptional | PivotStyle | undefined | Inherited from PivotTableJSON. |
source | string | Inherited from PivotTableJSON. |
values | PivotValueField[] | Inherited from PivotTableJSON. |
filtersoptional | PivotFilterField[] | undefined | Inherited from PivotTableJSON. |
calculatedFieldsoptional | PivotCalculatedField[] | undefined | Inherited from PivotTableJSON. |
grandTotalsoptional | { rows?: boolean; columns?: boolean; } | undefined | Inherited from PivotTableJSON. |
layoutoptional | PivotLayout | undefined | Inherited from PivotTableJSON. |
repeatItemLabelsoptional | boolean | undefined | Inherited from PivotTableJSON. |
subtotalPositionoptional | "top" | "bottom" | undefined | Inherited from PivotTableJSON. |
valuesOnRowsoptional | boolean | undefined | Inherited from PivotTableJSON. |
Defined in packages/spreadsheet/src/view/options.ts:407
PivotValueFieldinterface#
interface PivotValueField| Property | Type | Description |
|---|---|---|
field | string | — |
aggregateoptional | PivotAggregate | — |
showAsoptional | PivotShowAs | — |
nameoptional | string | — |
numberFormatoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:888
PivotValueFilterinterface#
interface PivotValueFilter| Property | Type | Description |
|---|---|---|
valueoptional | number | — |
operator | PivotValueFilterOperator | — |
operand | number | — |
operand2optional | number | — |
byoptional | 'items' | 'percent' | 'sum' | — |
Defined in packages/spreadsheet/src/types.ts:800
PresenceCursorinterface#
interface PresenceCursor| Property | Type | Description |
|---|---|---|
id | string | — |
name | string | — |
coloroptional | string | — |
sheet | string | — |
active | string | — |
rangesoptional | string[] | — |
Defined in packages/spreadsheet/src/collab/session.ts:18
PresenceStateinterface#
interface PresenceStateDefined in packages/spreadsheet/src/collab/provider.ts:11
PreservedSheetinterface#
interface PreservedSheet| Property | Type | Description |
|---|---|---|
vmloptional | PreservedVml | — |
namespacesoptional | string | — |
codeNameoptional | string | — |
elementsoptional | PreservedElement[] | — |
extensionsoptional | string[] | — |
relationshipsoptional | PreservedRelationship[] | — |
drawingoptional | PreservedDrawing | — |
chartsoptional | Record<string, PreservedChart> | — |
picturesoptional | PreservedPictures | — |
shapesoptional | PreservedShapes | — |
Defined in packages/spreadsheet/src/types.ts:1152
PreservedWorkbookinterface#
interface PreservedWorkbook| Property | Type | Description |
|---|---|---|
parts | Record<string, PreservedPart> | — |
defaultsoptional | Record<string, string> | — |
namespacesoptional | string | — |
contentTypeoptional | string | — |
workbookProptional | string | — |
elementsoptional | PreservedElement[] | — |
relationshipsoptional | PreservedRelationship[] | — |
packageRelationshipsoptional | PreservedRelationship[] | — |
sheetsoptional | { name: string; state?: string; type: string; target: string }[] | — |
themeoptional | string | — |
stylesoptional | PreservedElement[] | — |
stylesNamespacesoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:1165
PrintOptionsinterface#
interface PrintOptionsDefined in packages/spreadsheet/src/view/options.ts:274
ProtectSheetOptionsinterface#
interface ProtectSheetOptions extends SheetProtectionOptions| Property | Type | Description |
|---|---|---|
passwordoptional | string | — |
selectLockedCellsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
selectUnlockedCellsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
formatCellsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
formatColumnsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
formatRowsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
insertRowsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
insertColumnsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
deleteRowsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
deleteColumnsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
sortoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
autoFilteroptional | boolean | undefined | Inherited from SheetProtectionOptions. |
editObjectsoptional | boolean | undefined | Inherited from SheetProtectionOptions. |
Defined in packages/spreadsheet/src/view/options.ts:264
RangeQueryinterface#
interface RangeQueryDefined in packages/spreadsheet/src/engine/worker/protocol.ts:35
RasterRequestinterface#
interface RasterRequestDefined in packages/spreadsheet/src/xlsx/image-raster.ts:3
RecalculatedEventinterface#
interface RecalculatedEvent| Property | Type | Description |
|---|---|---|
changedCount | number | — |
ms | number | — |
Defined in packages/spreadsheet/src/view/options.ts:226
RejectedOperationinterface#
interface RejectedOperation| Property | Type | Description |
|---|---|---|
operation | SheetOperation | — |
reason | RejectionReason | — |
byoptional | SheetOperation | — |
messageoptional | string | — |
Defined in packages/spreadsheet/src/collab/session.ts:39
RemoveDataTableOptionsinterface#
interface RemoveDataTableOptions| Property | Type | Description |
|---|---|---|
keepValuesoptional | boolean | — |
Defined in packages/spreadsheet/src/engine/data-tables.ts:26
RemoveDuplicatesOptionsinterface#
interface RemoveDuplicatesOptions| Property | Type | Description |
|---|---|---|
columnsoptional | (number | string)[] | — |
hasHeadersoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:423
RemoveNameOperationinterface#
interface RemoveNameOperationDefined in packages/spreadsheet/src/collab/operations.ts:89
RemoveSheetOperationinterface#
interface RemoveSheetOperationDefined in packages/spreadsheet/src/collab/operations.ts:64
RenameSheetOperationinterface#
interface RenameSheetOperationDefined in packages/spreadsheet/src/collab/operations.ts:70
RibbonModeChangeEventinterface#
interface RibbonModeChangeEvent| Property | Type | Description |
|---|---|---|
mode | RibbonMode | — |
resolved | RibbonLayout | — |
source | RibbonModeChangeSource | — |
Defined in packages/spreadsheet/src/view/options.ts:67
RibbonOptionsinterface#
interface RibbonOptions| Property | Type | Description |
|---|---|---|
modeoptional | RibbonMode | — |
Defined in packages/spreadsheet/src/view/options.ts:63
RichTextRuninterface#
interface RichTextRun| Property | Type | Description |
|---|---|---|
text | string | — |
boldoptional | boolean | — |
italicoptional | boolean | — |
underlineoptional | boolean | — |
strikeoptional | boolean | — |
coloroptional | string | — |
colorThemeoptional | ThemeColor | — |
fontSizeoptional | number | — |
fontFamilyoptional | string | — |
scriptoptional | 'superscript' | 'subscript' | — |
Defined in packages/spreadsheet/src/types.ts:87
RowsOperationinterface#
interface RowsOperationDefined in packages/spreadsheet/src/collab/operations.ts:28
SelectionChangeEventinterface#
interface SelectionChangeEventDefined in packages/spreadsheet/src/view/options.ts:212
ShapeJSONinterface#
interface ShapeJSON| Property | Type | Description |
|---|---|---|
id | string | — |
type | ShapeType | — |
anchor | DrawingAnchor | — |
rotationoptional | number | — |
filloptional | string | — |
strokeoptional | string | — |
strokeWidthoptional | number | — |
textoptional | string | — |
textColoroptional | string | — |
fontSizeoptional | number | — |
nameoptional | string | — |
altoptional | string | — |
flipHoptional | boolean | — |
flipVoptional | boolean | — |
textAlignoptional | 'left' | 'center' | 'right' | — |
textVerticalAlignoptional | 'top' | 'middle' | 'bottom' | — |
textRunsoptional | RichTextRun[] | — |
adjustoptional | number[] | — |
strokeDashoptional | ShapeDash | — |
startArrowoptional | boolean | — |
endArrowoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:982
SheetChangeEventinterface#
interface SheetChangeEvent| Property | Type | Description |
|---|---|---|
sheet | string | — |
action | SheetAction | — |
previousoptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:220
SheetJSONinterface#
interface SheetJSONDefined in packages/spreadsheet/src/types.ts:1012
SheetOperationEventinterface#
interface SheetOperationEvent| Property | Type | Description |
|---|---|---|
operation | SheetOperation | — |
origin | 'local' | — |
Defined in packages/spreadsheet/src/collab/session.ts:13
SheetProtectioninterface#
interface SheetProtection| Property | Type | Description |
|---|---|---|
allowoptional | SheetProtectionOptions | — |
passwordHashoptional | string | — |
algorithmNameoptional | string | — |
hashValueoptional | string | — |
saltValueoptional | string | — |
spinCountoptional | number | — |
Defined in packages/spreadsheet/src/types.ts:474
SheetProtectionOptionsinterface#
interface SheetProtectionOptions| Property | Type | Description |
|---|---|---|
selectLockedCellsoptional | boolean | — |
selectUnlockedCellsoptional | boolean | — |
formatCellsoptional | boolean | — |
formatColumnsoptional | boolean | — |
formatRowsoptional | boolean | — |
insertRowsoptional | boolean | — |
insertColumnsoptional | boolean | — |
deleteRowsoptional | boolean | — |
deleteColumnsoptional | boolean | — |
sortoptional | boolean | — |
autoFilteroptional | boolean | — |
editObjectsoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:459
SheetViewinterface#
interface SheetView| Property | Type | Description |
|---|---|---|
zoomoptional | number | — |
gridlinesoptional | boolean | — |
headingsoptional | boolean | — |
rightToLeftoptional | boolean | — |
showZerosoptional | boolean | — |
showFormulasoptional | boolean | — |
modeoptional | 'pageBreakPreview' | 'pageLayout' | — |
activeCelloptional | string | — |
selectionoptional | string | — |
topLeftCelloptional | string | — |
splitoptional | { x?: number; y?: number; topLeftCell?: string; activePane?: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'; } | — |
Defined in packages/spreadsheet/src/types.ts:1053
SheetViewInfointerface#
interface SheetViewInfoDefined in packages/spreadsheet/src/view/options.ts:369
SheetViewStateinterface#
interface SheetViewState| Property | Type | Description |
|---|---|---|
autoFilteroptional | AutoFilterState | — |
sortStateoptional | SortState | — |
Defined in packages/spreadsheet/src/types.ts:582
SlicerJSONinterface#
interface SlicerJSON| Property | Type | Description |
|---|---|---|
id | string | — |
target | { kind: 'pivot' | 'table'; name: string } | — |
field | string | — |
anchor | DrawingAnchor | — |
captionoptional | string | — |
selectedoptional | string[] | — |
columnsoptional | number | — |
alsoFiltersoptional | string[] | — |
Defined in packages/spreadsheet/src/types.ts:919
SnapshotOperationinterface#
interface SnapshotOperation| Property | Type | Description |
|---|---|---|
type | 'snapshot' | — |
workbook | WorkbookJSON | — |
Defined in packages/spreadsheet/src/collab/operations.ts:95
SortConditioninterface#
interface SortCondition| Property | Type | Description |
|---|---|---|
range | string | — |
descendingoptional | boolean | — |
byoptional | 'value' | 'cellColor' | 'fontColor' | 'icon' | — |
coloroptional | string | — |
customListoptional | string[] | — |
iconSetoptional | string | — |
iconIdoptional | number | — |
Defined in packages/spreadsheet/src/types.ts:394
SortLevelinterface#
interface SortLevel| Property | Type | Description |
|---|---|---|
column | number | string | — |
descendingoptional | boolean | — |
customListoptional | string[] | — |
Defined in packages/spreadsheet/src/view/options.ts:412
SortOptionsinterface#
interface SortOptions| Property | Type | Description |
|---|---|---|
hasHeadersoptional | boolean | — |
matchCaseoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:418
SortStateinterface#
interface SortState| Property | Type | Description |
|---|---|---|
range | string | — |
conditions | SortCondition[] | — |
caseSensitiveoptional | boolean | — |
columnSortoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:404
SparklineGroupinterface#
interface SparklineGroup| Property | Type | Description |
|---|---|---|
type | SparklineType | — |
sparklines | { cell: string; range: string }[] | — |
coloroptional | string | — |
negativeColoroptional | string | — |
markersoptional | boolean | — |
highPointoptional | boolean | — |
lowPointoptional | boolean | — |
firstPointoptional | boolean | — |
lastPointoptional | boolean | — |
negativePointsoptional | boolean | — |
markerColoroptional | string | — |
highColoroptional | string | — |
lowColoroptional | string | — |
firstColoroptional | string | — |
lastColoroptional | string | — |
lineWeightoptional | number | — |
minAxisoptional | number | — |
maxAxisoptional | number | — |
showAxisoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:729
SpellingIssueinterface#
interface SpellingIssue| Property | Type | Description |
|---|---|---|
from | number | — |
to | number | — |
messageoptional | string | — |
suggestionsoptional | readonly string[] | — |
Defined in packages/spreadsheet/src/view/options.ts:347
SpellingMatchinterface#
interface SpellingMatch| Property | Type | Description |
|---|---|---|
sheet | string | — |
address | string | — |
from | number | — |
to | number | — |
text | string | — |
messageoptional | string | — |
suggestions | string[] | — |
Defined in packages/spreadsheet/src/view/options.ts:359
SpreadsheetApiinterface#
interface SpreadsheetApi extends Widget<SpreadsheetOptions, SpreadsheetEvents>| Member | Type | Description |
|---|---|---|
getValue() | (address: string) => CellValue | — |
setValue() | (address: string, value: CellInput, options?: WriteOptions) => void | — |
getFormula() | (address: string) => string | undefined | — |
setFormula() | (address: string, formula: string, options?: WriteOptions) => void | — |
getDisplayText() | (address: string) => string | — |
getRange() | (range: string) => CellValue[][] | — |
setRange() | (range: string, values: CellInput[][], options?: WriteOptions) => void | — |
clearRange() | (range: string, options?: WriteOptions) => void | — |
getStyle() | (address: string) => CellStyle | undefined | — |
setStyle() | (range: string, style: CellStyle | null, mode?: 'merge' | 'replace', options?: WriteOptions) => void | — |
getCellControl() | (address: string) => CellControl | undefined | — |
setCellControl() | (range: string, control: CellControl | null, options?: WriteOptions) => void | — |
mergeCells() | (range: string, options?: WriteOptions) => void | — |
unmergeCells() | (range: string, options?: WriteOptions) => void | — |
setColumnWidth() | (column: number | string, width: number, options?: WriteOptions) => void | — |
setRowHeight() | (row: number, height: number, options?: WriteOptions) => void | — |
setFreeze() | (rows: number, columns: number) => void | — |
splitPanes() | (cell?: string) => void | — |
removeSplit() | () => void | — |
insertRows() | (row: number, count?: number, options?: WriteOptions) => void | — |
deleteRows() | (row: number, count?: number, options?: WriteOptions) => void | — |
insertColumns() | (column: number | string, count?: number, options?: WriteOptions) => void | — |
deleteColumns() | (column: number | string, count?: number, options?: WriteOptions) => void | — |
insertCells() | (range: string, shift?: 'right' | 'down', options?: WriteOptions) => boolean | — |
deleteCells() | (range: string, shift?: 'left' | 'up', options?: WriteOptions) => boolean | — |
sortRange() | (range: string, column: number | string, descending?: boolean, options?: WriteOptions) => void | — |
setAutoFilter() | (range: string | null, options?: WriteOptions) => void | — |
addConditionalFormat() | (rule: ConditionalFormat, sheet?: string) => void | — |
clearConditionalFormats() | (sheet?: string) => void | — |
getConditionalFormats() | (sheet?: string) => ConditionalFormat[] | — |
setConditionalFormats() | (rules: ConditionalFormat[], sheet?: string) => void | — |
addValidation() | (rule: DataValidation, sheet?: string) => void | — |
clearValidations() | (sheet?: string) => void | — |
find() | (text: string, options?: FindOptions) => string[] | — |
replaceAll() | (text: string, replacement: string, options?: FindOptions, writeOptions?: WriteOptions) => number | — |
getSheetNames() | () => string[] | — |
getActiveSheet() | () => string | — |
addSheet() | (name?: string, index?: number, options?: WriteOptions) => string | — |
removeSheet() | (name: string, options?: WriteOptions) => void | — |
renameSheet() | (name: string, newName: string, options?: WriteOptions) => void | — |
moveSheet() | (name: string, index: number, options?: WriteOptions) => void | — |
setActiveSheet() | (name: string) => void | — |
defineName() | (name: string, formula: string, sheet?: string) => void | — |
formatEditorSelection() | (format: EditorTextFormat) => boolean | — |
undo() | () => boolean | — |
redo() | () => boolean | — |
canUndo() | () => boolean | — |
canRedo() | () => boolean | — |
recalculate() | () => RecalculatedEvent | — |
getCalculationMode() | () => CalculationMode | — |
getRibbonMode() | () => { mode: RibbonMode; resolved: RibbonLayout } | — |
whenCalculated() | () => Promise<void> | — |
registerFunction() | (name: string, impl: CustomFunctionImpl, options?: CustomFunctionOptions) => void | — |
unregisterFunction() | (name: string) => boolean | — |
listFunctions() | () => FunctionInfo[] | — |
select() | (range: string) => void | — |
goTo() | (reference: string) => boolean | — |
selectSpecial() | (kind: GoToSpecialKind, range?: string) => string[] | — |
getSelection() | () => SelectionChangeEvent | — |
importXlsx() | (data: Uint8Array | ArrayBuffer | Blob, options?: XlsxOpenOptions) => Promise<void> | — |
importCsv() | (data: string | Uint8Array | ArrayBuffer, options?: CsvImportOptions) => void | — |
exportCsv() | (options?: CsvExportOptions) => string | — |
importOds() | (data: Uint8Array | ArrayBuffer, options?: OdsImportOptions) => Promise<void> | — |
exportOds() | (options?: OdsExportOptions) => Promise<Uint8Array> | — |
exportXlsx() | (options?: XlsxExportOptions) => Promise<Uint8Array> | — |
downloadXlsx() | (fileName: string) => Promise<void> | — |
exportPdf() | (options?: PdfExportOptions) => Promise<Uint8Array> | — |
downloadPdf() | (fileName: string, options?: PdfExportOptions) => Promise<void> | — |
openFile() | (file: Blob | Uint8Array | ArrayBuffer, fileName?: string, options?: FileOpenOptions) => Promise<boolean> | — |
saveAs() | (format: FileSaveFormat, fileName?: string) => Promise<boolean> | — |
getFileName() | () => string | — |
toJSON() | () => WorkbookJSON | — |
fromJSON() | (json: WorkbookJSON) => void | — |
getNames() | () => DefinedNameInfo[] | — |
removeName() | (name: string, sheet?: string) => boolean | — |
setNote() | (address: string, note: string | CellNote | null) => void | — |
getNote() | (address: string) => CellNote | undefined | — |
getNotes() | (sheet?: string) => Record<string, CellNote> | — |
setHyperlink() | (address: string, link: string | Hyperlink | null) => void | — |
getHyperlink() | (address: string) => Hyperlink | undefined | — |
followHyperlink() | (address: string) => boolean | — |
protectSheet() | (options?: ProtectSheetOptions, sheet?: string) => void | — |
unprotectSheet() | (password?: string, sheet?: string) => boolean | — |
isSheetProtected() | (sheet?: string) => boolean | — |
protectWorkbook() | (password?: string) => void | — |
unprotectWorkbook() | (password?: string) => boolean | — |
isWorkbookProtected() | () => boolean | — |
isCellLocked() | (address: string) => boolean | — |
addTable() | (range: string, options?: TableOptions) => string | — |
removeTable() | (name: string) => void | — |
getTables() | (sheet?: string) => TableJSON[] | — |
getTable() | (name: string) => TableJSON | undefined | — |
updateTable() | (name: string, changes: Partial<Omit<TableJSON, 'name' | 'range' | 'columns'>> & { name?: string }) => void | — |
resizeTable() | (name: string, range: string) => void | — |
groupRows() | (first: number, last: number) => void | — |
ungroupRows() | (first: number, last: number) => void | — |
groupColumns() | (first: number | string, last: number | string) => void | — |
ungroupColumns() | (first: number | string, last: number | string) => void | — |
collapseGroup() | (axis: 'rows' | 'columns', index: number | string) => void | — |
expandGroup() | (axis: 'rows' | 'columns', index: number | string) => void | — |
showOutlineLevel() | (axis: 'rows' | 'columns', level: number) => void | — |
addImage() | (image: Omit<ImageJSON, 'id'> & { id?: string }, sheet?: string) => string | — |
updateImage() | (id: string, changes: Partial<Omit<ImageJSON, 'id'>>) => void | — |
removeImage() | (id: string) => void | — |
getImages() | (sheet?: string) => ImageJSON[] | — |
addChart() | (chart: Omit<ChartJSON, 'id'> & { id?: string }, sheet?: string) => string | — |
updateChart() | (id: string, changes: Partial<Omit<ChartJSON, 'id'>>) => void | — |
removeChart() | (id: string) => void | — |
getCharts() | (sheet?: string) => ChartJSON[] | — |
addSparklines() | (group: SparklineGroup, sheet?: string) => void | — |
clearSparklines() | (range?: string, sheet?: string) => void | — |
getSparklines() | (sheet?: string) => SparklineGroup[] | — |
setPageSetup() | (setup: PageSetup | null, sheet?: string) => void | — |
getPageSetup() | (sheet?: string) => PageSetup | undefined | — |
setPageBreak() | (axis: 'row' | 'column', index: number | string, on?: boolean) => void | — |
print() | (options?: PrintOptions) => void | — |
getPrintHtml() | (options?: PrintOptions) => string | — |
getPrecedents() | (address: string) => string[] | — |
getDependents() | (address: string) => string[] | — |
tracePrecedents() | (address?: string) => void | — |
traceDependents() | (address?: string) => void | — |
clearArrows() | () => void | — |
evaluateFormulaSteps() | (address: string) => FormulaStep[] | — |
listCellStyles() | () => NamedCellStyle[] | — |
applyCellStyle() | (range: string, name: string, options?: WriteOptions) => void | — |
autoSum() | (range?: string, options?: WriteOptions) => void | — |
openDialog() | (dialog: SpreadsheetDialog) => void | — |
setComment() | (address: string, comment: string | CommentThread | null) => void | — |
getComment() | (address: string) => CommentThread | undefined | — |
getComments() | (sheet?: string) => Record<string, CommentThread> | — |
addCommentReply() | (address: string, reply: string | CommentReply) => void | — |
resolveComment() | (address: string, resolved?: boolean) => void | — |
insertPivotTable() | (definition: PivotTableOptions, sheet?: string) => string | — |
updatePivotTable() | (name: string, changes: Partial<Omit<PivotTableJSON, 'name' | 'range'>>) => void | — |
refreshPivotTable() | (name?: string) => void | — |
removePivotTable() | (name: string) => void | — |
getPivotTables() | (sheet?: string) => PivotTableJSON[] | — |
drillDownPivot() | (address: string) => string | undefined | — |
addSlicer() | (slicer: Omit<SlicerJSON, 'id'> & { id?: string }, sheet?: string) => string | — |
updateSlicer() | (id: string, changes: Partial<Omit<SlicerJSON, 'id'>>) => void | — |
removeSlicer() | (id: string) => void | — |
getSlicers() | (sheet?: string) => SlicerJSON[] | — |
addShape() | (shape: Omit<ShapeJSON, 'id'> & { id?: string }, sheet?: string) => string | — |
updateShape() | (id: string, changes: Partial<Omit<ShapeJSON, 'id'>>) => void | — |
removeShape() | (id: string) => void | — |
getShapes() | (sheet?: string) => ShapeJSON[] | — |
insertEmbeddedObject() | (object: EmbeddedObjectInput, sheet?: string) => string | — |
updateEmbeddedObject() | (id: string, changes: EmbeddedObjectChanges) => void | — |
removeEmbeddedObject() | (id: string) => void | — |
getEmbeddedObjects() | (sheet?: string) => EmbeddedObjectJSON[] | — |
getEmbeddedObjectData() | (id: string) => Uint8Array | undefined | — |
getEmbeddedObjectType() | (id: string) => EmbeddedFileType | undefined | — |
openEmbeddedObject() | (id: string) => void | — |
downloadEmbeddedObject() | (id: string) => boolean | — |
setCellImage() | (address: string, image: CellImage | null) => void | — |
getCellImage() | (address: string) => CellImage | undefined | — |
sortRangeBy() | (range: string, levels: SortLevel[], options?: SortOptions, writeOptions?: WriteOptions) => void | — |
removeDuplicates() | (range: string, options?: RemoveDuplicatesOptions, writeOptions?: WriteOptions) => number | — |
textToColumns() | (range: string, options?: TextToColumnsOptions, writeOptions?: WriteOptions) => void | — |
flashFill() | (range?: string, options?: WriteOptions) => number | — |
subtotal() | (range: string, options: SubtotalOptions, writeOptions?: WriteOptions) => void | — |
removeSubtotals() | (range: string, options?: WriteOptions) => void | — |
goalSeek() | (options: GoalSeekOptions) => GoalSeekResult | — |
addDataTable() | (table: DataTableJSON) => void | — |
removeDataTable() | (range: string, options?: RemoveDataTableOptions) => boolean | — |
getDataTables() | (sheet?: string) => DataTableInfo[] | — |
setColumnFilter() | (column: number | string, condition: FilterCondition | null) => void | — |
pasteSpecial() | (options?: PasteSpecialOptions, writeOptions?: WriteOptions) => void | — |
pasteValues() | (writeOptions?: WriteOptions) => boolean | — |
getPasteOptions() | () => { current: PasteOption; available: PasteOption[] } | undefined | — |
checkSpelling() | (range?: string) => Promise<SpellingMatch[]> | — |
getSpellingIssues() | () => SpellingMatch[] | — |
replaceSpelling() | (match: Pick<SpellingMatch, 'sheet' | 'address' | 'from' | 'to'>, text: string) => boolean | — |
ignoreSpelling() | (word: string) => void | — |
getSheetViews() | (sheet?: string) => SheetViewInfo[] | — |
saveSheetView() | (name: string, sheet?: string) => string | undefined | — |
applySheetView() | (name: string | null, sheet?: string) => boolean | — |
deleteSheetView() | (name: string, sheet?: string) => boolean | — |
getErrorChecks() | (sheet?: string) => ErrorCheckInfo[] | — |
ignoreError() | (address: string, kind?: ErrorCheckKind) => void | — |
applyPasteOption() | (option: PasteOption, writeOptions?: WriteOptions) => boolean | — |
setFormatPainter() | (mode: boolean | 'locked') => void | — |
setZoom() | (percent: number) => void | — |
getZoom() | () => number | — |
hideRows() | (first: number, last?: number, options?: WriteOptions) => void | — |
unhideRows() | (first: number, last?: number, options?: WriteOptions) => void | — |
hideColumns() | (first: number | string, last?: number | string, options?: WriteOptions) => void | — |
unhideColumns() | (first: number | string, last?: number | string, options?: WriteOptions) => void | — |
duplicateSheet() | (name: string, newName?: string, options?: WriteOptions) => string | — |
setTabColor() | (name: string, color: string | null) => void | — |
getSheetView() | (sheet?: string) => SheetView | — |
setSheetView() | (view: Partial<SheetView>, sheet?: string) => void | — |
onOperation() | (listener: (event: SheetOperationEvent) => void) => () => void | — |
applyRemoteOperation() | (operation: SheetOperation) => boolean | — |
setPresence() | (cursors: PresenceCursor[]) => void | — |
getPresence() | () => PresenceCursor[] | — |
getImportReport() | () => XlsxImportReport | undefined | — |
getProperties() | () => DocumentProperties | — |
setProperties() | (properties: Partial<DocumentProperties>) => void | — |
elementreadonly | HTMLElement | Inherited from Widget. |
update() | (options: Partial<SpreadsheetOptions>) => void | Inherited from Widget. |
on() | <K extends keyof TEvents & string>(event: K, listener: Listener<TEvents[K]>) => () => void | Inherited from Widget. |
destroy() | () => void | Inherited from Widget. |
Defined in packages/spreadsheet/src/view/options.ts:542
SpreadsheetErrorEventinterface#
interface SpreadsheetErrorEvent| Property | Type | Description |
|---|---|---|
code | SpreadsheetErrorCode | — |
message | string | — |
sheetoptional | string | — |
addressoptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:484
SpreadsheetEventsinterface#
interface SpreadsheetEvents| Property | Type | Description |
|---|---|---|
ready | { api: SpreadsheetApi } | — |
cellChange | CellChangeEvent | — |
selectionChange | SelectionChangeEvent | — |
sheetChange | SheetChangeEvent | — |
recalculated | RecalculatedEvent | — |
error | SpreadsheetErrorEvent | — |
hyperlinkClick | HyperlinkClickEvent | — |
mention | MentionEvent | — |
viewportScroll | { sheet: string; top: number; left: number; firstRow: number; firstColumn: number } | — |
zoomChange | { zoom: number } | — |
pivotTableRefreshed | { sheet: string; name: string; range: string } | — |
importReport | { report: XlsxImportReport } | — |
embeddedObjectOpen | EmbeddedObjectOpenEvent | — |
beforeOpen | BeforeOpenEvent | — |
beforeSave | BeforeSaveEvent | — |
ribbonModeChange | RibbonModeChangeEvent | — |
Defined in packages/spreadsheet/src/view/options.ts:491
SpreadsheetOptionsinterface#
interface SpreadsheetOptions| Property | Type | Description |
|---|---|---|
licenseKeyoptional | string | — |
dataoptional | WorkbookJSON | — |
themeoptional | SpreadsheetTheme | — |
sheetThemeoptional | SheetTheme | — |
heightoptional | number | string | — |
readOnlyoptional | boolean | — |
injectStylesoptional | boolean | — |
formulaBaroptional | boolean | — |
autoCompleteoptional | boolean | — |
pasteOptionsButtonoptional | boolean | — |
errorCheckingoptional | boolean | — |
csvImportDialogoptional | boolean | — |
datePickeroptional | boolean | — |
spellcheckoptional | SpellChecker | — |
sheetTabsoptional | boolean | — |
statusBaroptional | boolean | — |
toolbaroptional | ToolbarMode | — |
toolbarOptionsoptional | ToolbarOptions | — |
ribbonoptional | RibbonOptions | — |
zoomoptional | number | — |
headingsoptional | boolean | — |
userNameoptional | string | — |
mentionsoptional | MentionOptions | — |
gridlinesoptional | boolean | — |
defaultColumnWidthoptional | number | — |
defaultRowHeightoptional | number | — |
dynamicArraysoptional | boolean | — |
iterativeCalculationoptional | boolean | { maxIterations?: number; maxChange?: number } | — |
nowoptional | () => Date | — |
ariaLabeloptional | string | — |
localeTextoptional | LocaleTextInput | — |
rtloptional | boolean | — |
localeoptional | string | FormatLocale | — |
localizedFormulasoptional | boolean | — |
customListsoptional | string[][] | — |
calculationoptional | CalculationMode | — |
calculationWorkeroptional | () => WorkerLike | — |
resolveImageoptional | (request: ImageResolveRequest) => string | undefined | — |
functionsoptional | CustomFunctionSet | — |
validationoptional | ValidationMode | — |
enforceProtectionoptional | boolean | — |
fileDropoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:92
SubtotalOptionsinterface#
interface SubtotalOptions| Property | Type | Description |
|---|---|---|
groupBy | number | string | — |
functionoptional | SubtotalFunction | — |
columns | (number | string)[] | — |
hasHeadersoptional | boolean | — |
replaceoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:438
TableColumninterface#
interface TableColumn| Property | Type | Description |
|---|---|---|
name | string | — |
totalsFunctionoptional | TableTotalsFunction | — |
totalsLabeloptional | string | — |
totalsFormulaoptional | string | — |
formulaoptional | string | — |
Defined in packages/spreadsheet/src/types.ts:486
TableFilterStateinterface#
interface TableFilterState| Property | Type | Description |
|---|---|---|
columnsoptional | Record<number, string[]> | — |
criteriaoptional | Record<number, FilterCriteria> | — |
specialoptional | Record<number, ColumnFilter> | — |
Defined in packages/spreadsheet/src/types.ts:420
TableJSONinterface#
interface TableJSON| Property | Type | Description |
|---|---|---|
name | string | — |
range | string | — |
columns | TableColumn[] | — |
headerRowoptional | boolean | — |
totalsRowoptional | boolean | — |
styleoptional | string | — |
showRowStripesoptional | boolean | — |
showColumnStripesoptional | boolean | — |
showFirstColumnoptional | boolean | — |
showLastColumnoptional | boolean | — |
autoFilteroptional | boolean | — |
filteroptional | TableFilterState | — |
sortStateoptional | SortState | — |
Defined in packages/spreadsheet/src/types.ts:494
TableOptionsinterface#
interface TableOptions| Property | Type | Description |
|---|---|---|
nameoptional | string | — |
headerRowoptional | boolean | — |
totalsRowoptional | boolean | — |
styleoptional | string | — |
showRowStripesoptional | boolean | — |
showColumnStripesoptional | boolean | — |
showFirstColumnoptional | boolean | — |
showLastColumnoptional | boolean | — |
autoFilteroptional | boolean | — |
columnsoptional | TableJSON['columns'] | — |
Defined in packages/spreadsheet/src/view/options.ts:251
TextRuleinterface#
interface TextRule| Property | Type | Description |
|---|---|---|
type | 'text' | — |
range | string | — |
operator | 'contains' | 'notContains' | 'beginsWith' | 'endsWith' | — |
text | string | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:167
TextToColumnsOptionsinterface#
interface TextToColumnsOptions| Property | Type | Description |
|---|---|---|
delimitersoptional | string[] | — |
fixedWidthsoptional | number[] | — |
treatConsecutiveAsOneoptional | boolean | — |
textQualifieroptional | string | — |
destinationoptional | string | — |
Defined in packages/spreadsheet/src/view/options.ts:428
ThemeColorinterface#
interface ThemeColorDefined in packages/spreadsheet/src/types.ts:24
ToolbarCustomIteminterface#
interface ToolbarCustomItem| Property | Type | Description |
|---|---|---|
id | string | — |
tab | ToolbarTabId | — |
label | string | — |
groupoptional | string | — |
glyphoptional | string | — |
titleoptional | string | — |
onClick | (api: SpreadsheetApi) => void | — |
Defined in packages/spreadsheet/src/view/options.ts:75
ToolbarOptionsinterface#
interface ToolbarOptions| Property | Type | Description |
|---|---|---|
customItemsoptional | ToolbarCustomItem[] | — |
keyTipsoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:85
TopBottomRuleinterface#
interface TopBottomRule| Property | Type | Description |
|---|---|---|
type | 'topBottom' | — |
range | string | — |
direction | 'top' | 'bottom' | — |
rank | number | — |
percentoptional | boolean | — |
style | CellStyle | — |
stopIfTrueoptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:239
TopFilterCriteriainterface#
interface TopFilterCriteriaDefined in packages/spreadsheet/src/types.ts:349
WorkbookJSONinterface#
interface WorkbookJSON| Property | Type | Description |
|---|---|---|
version | 1 | — |
activeSheetoptional | string | — |
sheets | SheetJSON[] | — |
namesoptional | { name: string; formula: string; sheet?: string }[] | — |
settingsoptional | { iterative?: boolean; maxIterations?: number; maxChange?: number } | — |
protectionoptional | WorkbookProtection | — |
cellStylesoptional | CellStyleDefinition[] | — |
defaultFontoptional | { family?: string; size?: number } | — |
propertiesoptional | DocumentProperties | — |
calculationoptional | CalculationSettings | — |
viewoptional | WorkbookView | — |
preservedoptional | PreservedWorkbook | — |
Defined in packages/spreadsheet/src/types.ts:1189
WorkbookProtectioninterface#
interface WorkbookProtection extends Pick< SheetProtection, 'passwordHash' | 'algorithmName' | 'hashValue' | 'saltValue' | 'spinCount' >| Property | Type | Description |
|---|---|---|
structureoptional | boolean | — |
passwordHashoptional | string | undefined | Inherited from SheetProtection. |
algorithmNameoptional | string | undefined | Inherited from SheetProtection. |
hashValueoptional | string | undefined | Inherited from SheetProtection. |
saltValueoptional | string | undefined | Inherited from SheetProtection. |
spinCountoptional | number | undefined | Inherited from SheetProtection. |
Defined in packages/spreadsheet/src/types.ts:1204
WorkbookViewinterface#
interface WorkbookView| Property | Type | Description |
|---|---|---|
firstSheetoptional | number | — |
tabRatiooptional | number | — |
showSheetTabsoptional | boolean | — |
showHorizontalScrolloptional | boolean | — |
showVerticalScrolloptional | boolean | — |
Defined in packages/spreadsheet/src/types.ts:1095
WorkerEngineinterface#
interface WorkerEngine| Property | Type | Description |
|---|---|---|
calculationreadonly | 'worker' | 'main' | — |
sheetNamesreadonly | readonly string[] | — |
pendingreadonly | number | — |
ready() | () => Promise<void> | — |
load() | (json: WorkbookJSON) => Promise<void> | — |
loadXlsx() | (bytes: Uint8Array, options?: { transfer?: boolean }) => Promise<void> | — |
apply() | (operations: EngineOperation[], read?: RangeQuery[]) => Promise<AppliedChanges> | — |
setCell() | (sheet: string, address: string, input: CellInput) => Promise<RecalculatedEvent> | — |
setRange() | (sheet: string, topLeft: string, rows: CellInput[][]) => Promise<RecalculatedEvent> | — |
clearRange() | (sheet: string, range: string) => Promise<RecalculatedEvent> | — |
recalculate() | () => Promise<RecalculatedEvent> | — |
whenCalculated() | () => Promise<void> | — |
readRanges() | (ranges: RangeQuery[]) => Promise<EncodedRange[]> | — |
getRange() | (sheet: string, range: string) => Promise<CellValue[][]> | — |
getValue() | (sheet: string, address: string) => Promise<CellValue> | — |
getFormula() | (sheet: string, address: string) => Promise<string | undefined> | — |
evaluate() | (formula: string, context?: { sheet?: string; address?: string }) => Promise<CellValue | CellValue[][]> | — |
toJSON() | () => Promise<WorkbookJSON> | — |
on() | <K extends keyof WorkerEngineEvents>(event: K, listener: (payload: WorkerEngineEvents[K]) => void) => () => void | — |
terminate() | () => void | — |
Defined in packages/spreadsheet/src/engine/worker/client.ts:37
WorkerEngineEventsinterface#
interface WorkerEngineEvents| Property | Type | Description |
|---|---|---|
recalculated | RecalculatedEvent | — |
circularReference | CircularReferenceEvent | — |
functionError | FunctionErrorEvent | — |
asyncResolved | AsyncResolvedEvent | — |
Defined in packages/spreadsheet/src/engine/worker/client.ts:24
WorkerEngineInitinterface#
interface WorkerEngineInit extends WorkerEngineOptions, ExposeOptions| Property | Type | Description |
|---|---|---|
calculationoptional | 'worker' | 'main' | — |
workeroptional | WorkerLike | (() => WorkerLike) | — |
functionsModuleoptional | string | URL | — |
sheetsoptional | string[] | undefined | Inherited from FormulaEngineOptions. |
dynamicArraysoptional | boolean | undefined | Inherited from FormulaEngineOptions. |
iterativeoptional | boolean | undefined | Inherited from FormulaEngineOptions. |
maxIterationsoptional | number | undefined | Inherited from FormulaEngineOptions. |
maxChangeoptional | number | undefined | Inherited from FormulaEngineOptions. |
importXlsxoptional | ((bytes: Uint8Array) => Promise<WorkbookJSON>) | undefined | Inherited from ExposeOptions. |
functionsoptional | CustomFunctionSet | undefined | Inherited from ExposeOptions. |
Defined in packages/spreadsheet/src/engine/worker/client.ts:18
WorkerLikeinterface#
interface WorkerLike extends MessageEndpoint| Property | Type | Description |
|---|---|---|
terminate()optional | () => void | — |
postMessage() | (message: unknown, transfer?: Transferable[]) => void | Inherited from MessageEndpoint. |
addEventListener() | (type: "message", listener: (event: { data: unknown; }) => void) => void | Inherited from MessageEndpoint. |
removeEventListener()optional | ((type: "message", listener: (event: { data: unknown; }) => void) => void) | undefined | Inherited from MessageEndpoint. |
Defined in packages/spreadsheet/src/engine/worker/protocol.ts:88
WriteOptionsinterface#
interface WriteOptions| Property | Type | Description |
|---|---|---|
forceoptional | boolean | — |
Defined in packages/spreadsheet/src/view/options.ts:161
XlsImportOptionsinterface#
interface XlsImportOptionsDefined in packages/spreadsheet/src/formats/xls.ts:34
XlsImportResultinterface#
interface XlsImportResult| Property | Type | Description |
|---|---|---|
workbook | WorkbookJSON | — |
report | XlsxImportReport | — |
Defined in packages/spreadsheet/src/formats/xls.ts:38
XlsLimitsinterface#
interface XlsLimits| Property | Type | Description |
|---|---|---|
maxRecords | number | — |
maxCells | number | — |
maxSharedStrings | number | — |
maxStringLength | number | — |
maxTextBytes | number | — |
Defined in packages/spreadsheet/src/formats/xls/records.ts:9
XlsxExportOptionsinterface#
interface XlsxExportOptions| Property | Type | Description |
|---|---|---|
compressoptional | boolean | — |
passwordoptional | string | — |
onReportoptional | (report: XlsxExportReport) => void | — |
Defined in packages/spreadsheet/src/view/options.ts:517
XlsxExportReportinterface#
interface XlsxExportReport| Property | Type | Description |
|---|---|---|
adjusted | XlsxReportEntry[] | — |
Defined in packages/spreadsheet/src/xlsx/export.ts:124
XlsxImportOptionsinterface#
interface XlsxImportOptions| Property | Type | Description |
|---|---|---|
licenseKeyoptional | string | — |
passwordoptional | string | — |
onProgressoptional | (progress: XlsxImportProgress) => void | — |
signaloptional | AbortSignal | — |
limitsoptional | Partial<ZipLimits> | — |
xlsLimitsoptional | Partial<XlsLimits> | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:82
XlsxImportProgressinterface#
interface XlsxImportProgress| Property | Type | Description |
|---|---|---|
phase | XlsxImportPhase | — |
fraction | number | — |
sheetoptional | string | — |
sheetIndexoptional | number | — |
sheetCountoptional | number | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:74
XlsxImportReportinterface#
interface XlsxImportReport| Property | Type | Description |
|---|---|---|
modelled | XlsxReportEntry[] | — |
preserved | XlsxReportEntry[] | — |
dropped | XlsxReportEntry[] | — |
adjusted | XlsxReportEntry[] | — |
Defined in packages/spreadsheet/src/xlsx/preserve-reader.ts:27
XlsxImportResultinterface#
interface XlsxImportResult| Property | Type | Description |
|---|---|---|
workbook | WorkbookJSON | — |
report | XlsxImportReport | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:816
XlsxOpenOptionsinterface#
interface XlsxOpenOptions| Property | Type | Description |
|---|---|---|
passwordoptional | string | — |
onProgressoptional | (progress: XlsxImportProgress) => void | — |
signaloptional | AbortSignal | — |
limitsoptional | Partial<ZipLimits> | — |
xlsLimitsoptional | Partial<XlsLimits> | — |
Defined in packages/spreadsheet/src/view/options.ts:523
XlsxReportEntryinterface#
interface XlsxReportEntry| Property | Type | Description |
|---|---|---|
feature | string | — |
sheetoptional | string | — |
countoptional | number | — |
partsoptional | string[] | — |
elementsoptional | string[] | — |
noteoptional | string | — |
Defined in packages/spreadsheet/src/xlsx/preserve-reader.ts:18
XlsxValidateOptionsinterface#
interface XlsxValidateOptionsDefined in packages/spreadsheet/src/xlsx/validate.ts:283
XlsxValidationIssueinterface#
interface XlsxValidationIssueDefined in packages/spreadsheet/src/xlsx/validate-xml.ts:10
ZipLimitsinterface#
interface ZipLimits| Property | Type | Description |
|---|---|---|
maxEntries | number | — |
maxEntryBytes | number | — |
maxTotalBytes | number | — |
maxRatio | number | — |
Defined in packages/excel/src/types.ts:90
BorderStyletype#
type BorderStyle =
| 'thin'
| 'medium'
| 'thick'
| 'dashed'
| 'dotted'
| 'double'
| 'hair'
| 'mediumDashed'
| 'dashDot'
| 'mediumDashDot'
| 'dashDotDot'
| 'mediumDashDotDot'
| 'slantDashDot';Defined in packages/spreadsheet/src/types.ts:9
CalculationModetype#
type CalculationMode = 'sync' | 'worker';Defined in packages/spreadsheet/src/view/options.ts:55
CellControltype#
type CellControl = 'checkbox' | 'dropdown';Defined in packages/spreadsheet/src/types.ts:138
CellInputtype#
type CellInput = CellValue | Date;Defined in packages/spreadsheet/src/types.ts:7
CellValuetype#
type CellValue = number | string | boolean | null | CellError;Defined in packages/spreadsheet/src/types.ts:5
ChangeSourcetype#
type ChangeSource =
'edit' | 'api' | 'paste' | 'fill' | 'undo' | 'redo' | 'replace' | 'clear' | 'sort' | 'remote';Defined in packages/spreadsheet/src/view/options.ts:200
ChartLabelPositiontype#
type ChartLabelPosition =
'center' | 'insideEnd' | 'insideBase' | 'outsideEnd' | 'above' | 'below' | 'left' | 'right' | 'bestFit';Defined in packages/spreadsheet/src/types.ts:644
ChartMarkerShapetype#
type ChartMarkerShape = 'none' | 'circle' | 'square' | 'diamond' | 'triangle' | 'x';Defined in packages/spreadsheet/src/types.ts:684
ChartTypetype#
type ChartType =
| 'column'
| 'bar'
| 'line'
| 'area'
| 'pie'
| 'doughnut'
| 'scatter'
| 'bubble'
| 'radar'
| 'combo'
| 'waterfall'
| 'histogram'
| 'treemap'
| 'sunburst'
| 'funnel'
| 'boxWhisker'
| 'stock';Defined in packages/spreadsheet/src/types.ts:597
ClientMessagetype#
type ClientMessage =
| { type: 'join'; clientId: string; revision: number; user: CollaborationUser }
| { type: 'operation'; clientId: string; id: string; revision: number; operation: SheetOperation }
| { type: 'presence'; clientId: string; presence: PresenceState | null }
| { type: 'resync'; clientId: string };Defined in packages/spreadsheet/src/collab/provider.ts:23
CollaborationStatustype#
type CollaborationStatus = 'connecting' | 'connected' | 'offline' | 'closed';Defined in packages/spreadsheet/src/collab/session.ts:35
ColumnFiltertype#
type ColumnFilter = ColorFilter | IconFilter | DateGroupFilter;Defined in packages/spreadsheet/src/types.ts:392
ComparisonOperatortype#
type ComparisonOperator =
| 'between'
| 'notBetween'
| 'equal'
| 'notEqual'
| 'greaterThan'
| 'lessThan'
| 'greaterThanOrEqual'
| 'lessThanOrEqual';Defined in packages/spreadsheet/src/types.ts:140
ConditionalFormattype#
type ConditionalFormat =
| CellValueRule
| FormulaRule
| TextRule
| ColorScaleRule
| DataBarRule
| TopBottomRule
| AverageRule
| DuplicateRule
| IconSetRule
| CellStateRule
| DateOccurringRule;Defined in packages/spreadsheet/src/types.ts:309
CsvDateOrdertype#
type CsvDateOrder = 'dmy' | 'mdy' | 'ymd';Defined in packages/spreadsheet/src/formats/csv.ts:17
CsvLineEndingtype#
type CsvLineEnding = '\r\n' | '\n' | '\r';Defined in packages/spreadsheet/src/formats/csv.ts:7
CustomFunctionArgumenttype#
type CustomFunctionArgument = CellValue | CellValue[][];Defined in packages/spreadsheet/src/engine/functions/custom.ts:20
CustomFunctionImpltype#
type CustomFunctionImpl = (
...args: CustomFunctionArgument[]
) => CustomFunctionResult | Promise<CustomFunctionResult>;Defined in packages/spreadsheet/src/engine/functions/custom.ts:24
CustomFunctionResulttype#
type CustomFunctionResult = CellInput | undefined | { error: string } | (CellInput | undefined)[][];Defined in packages/spreadsheet/src/engine/functions/custom.ts:22
CustomFunctionSettype#
type CustomFunctionSet =
| readonly CustomFunctionDefinition[]
| Readonly<Record<string, CustomFunctionImpl | Omit<CustomFunctionDefinition, 'name'>>>;Defined in packages/spreadsheet/src/engine/functions/custom.ts:41
DataBarBoundTypetype#
type DataBarBoundType = 'automatic' | 'min' | 'max' | 'number' | 'percent' | 'percentile' | 'formula';Defined in packages/spreadsheet/src/types.ts:217
DatePeriodtype#
type DatePeriod =
| 'yesterday'
| 'today'
| 'tomorrow'
| 'last7Days'
| 'lastWeek'
| 'thisWeek'
| 'nextWeek'
| 'lastMonth'
| 'thisMonth'
| 'nextMonth';Defined in packages/spreadsheet/src/types.ts:183
EmbeddedFileKindtype#
type EmbeddedFileKind =
| 'document'
| 'spreadsheet'
| 'presentation'
| 'pdf'
| 'message'
| 'email'
| 'image'
| 'text'
| 'csv'
| 'archive'
| 'audio'
| 'video'
| 'file';Defined in packages/spreadsheet/src/formats/file-type.ts:3
EncryptionErrorCodetype#
type EncryptionErrorCode = 'passwordRequired' | 'wrongPassword' | 'unsupported' | 'corrupt';Defined in packages/spreadsheet/src/formats/encryption.ts:4
EngineOperationtype#
type EngineOperation =
| { type: 'setCell'; sheet: string; address: string; input: CellInput }
| { type: 'setRange'; sheet: string; topLeft: string; rows: CellInput[][] }
| { type: 'clearRange'; sheet: string; range: string }
| { type: 'insertRows' | 'deleteRows'; sheet: string; row: number; count?: number }
| { type: 'insertColumns' | 'deleteColumns'; sheet: string; column: number | string; count?: number }
| { type: 'insertCells'; sheet: string; range: string; shift: 'right' | 'down' }
| { type: 'deleteCells'; sheet: string; range: string; shift: 'left' | 'up' }
| { type: 'sortRange'; sheet: string; range: string; keys: { column: number | string; descending?: boolean }[] }
| { type: 'addSheet'; name?: string; index?: number }
| { type: 'removeSheet'; name: string }
| { type: 'renameSheet'; from: string; to: string }
| { type: 'moveSheet'; name: string; index: number }
| { type: 'defineName'; name: string; formula: string; sheet?: string }
| { type: 'removeName'; name: string; sheet?: string }
| { type: 'addTable'; sheet: string; range: string; options?: CreateTableOptions }
| { type: 'removeTable'; name: string };Defined in packages/spreadsheet/src/engine/worker/protocol.ts:17
ErrorCheckKindtype#
type ErrorCheckKind =
| 'numberStoredAsText'
| 'formula'
| 'formulaRange'
| 'evalError'
| 'twoDigitTextYear'
| 'emptyCellReference'
| 'listDataValidation'
| 'calculatedColumn'
| 'unlockedFormula';Defined in packages/spreadsheet/src/types.ts:571
ErrorCodetype#
type ErrorCode =
| '#NULL!'
| '#DIV/0!'
| '#VALUE!'
| '#REF!'
| '#NAME?'
| '#NUM!'
| '#N/A'
| '#SPILL!'
| '#CALC!'
| '#GETTING_DATA'
| '#BLOCKED!'
| '#BUSY!';Defined in packages/spreadsheet/src/engine/values.ts:3
FileOpenFormattype#
type FileOpenFormat = 'xlsx' | 'xls' | 'csv' | 'ods';Defined in packages/spreadsheet/src/view/options.ts:137
FileOpenSourcetype#
type FileOpenSource = 'picker' | 'drop' | 'api';Defined in packages/spreadsheet/src/view/options.ts:139
FileSaveFormattype#
type FileSaveFormat = 'xlsx' | 'csv' | 'ods' | 'pdf';Defined in packages/spreadsheet/src/view/options.ts:138
FillPatterntype#
type FillPattern =
| 'darkGray'
| 'mediumGray'
| 'lightGray'
| 'gray125'
| 'gray0625'
| 'darkHorizontal'
| 'darkVertical'
| 'darkDown'
| 'darkUp'
| 'darkGrid'
| 'darkTrellis'
| 'lightHorizontal'
| 'lightVertical'
| 'lightDown'
| 'lightUp'
| 'lightGrid'
| 'lightTrellis';Defined in packages/spreadsheet/src/types.ts:44
FilterConditiontype#
type FilterCondition =
| {
kind: 'condition';
operator:
| 'equals'
| 'notEquals'
| 'greaterThan'
| 'greaterThanOrEqual'
| 'lessThan'
| 'lessThanOrEqual'
| 'between'
| 'contains'
| 'notContains'
| 'beginsWith'
| 'endsWith';
value: string | number;
value2?: string | number;
}
| { kind: 'top'; direction: 'top' | 'bottom'; count: number; percent?: boolean }
| { kind: 'color'; target: 'fill' | 'font'; color: string | null }
| { kind: 'dateGroup'; year: number; month?: number; day?: number }
| { kind: 'values'; values: string[] };Defined in packages/spreadsheet/src/view/options.ts:461
FilterCriteriatype#
type FilterCriteria = CustomFilterCriteria | TopFilterCriteria | DynamicFilterCriteria;Defined in packages/spreadsheet/src/types.ts:411
FilterOperatortype#
type FilterOperator =
'equal' | 'notEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'lessThan' | 'lessThanOrEqual';Defined in packages/spreadsheet/src/types.ts:340
FormatKindtype#
type FormatKind =
'general' | 'number' | 'percent' | 'scientific' | 'fraction' | 'currency' | 'date' | 'time' | 'text';Defined in packages/spreadsheet/src/engine/format/number-format.ts:24
FunctionCategorytype#
type FunctionCategory =
| 'math'
| 'statistical'
| 'logical'
| 'lookup'
| 'text'
| 'date'
| 'financial'
| 'information'
| 'engineering'
| 'database'
| 'custom';Defined in packages/spreadsheet/src/engine/functions/registry.ts:18
GoToSpecialKindtype#
type GoToSpecialKind =
| 'blanks'
| 'constants'
| 'formulas'
| 'errors'
| 'visibleCells'
| 'currentRegion'
| 'conditionalFormats'
| 'dataValidation'
| 'notes'
| 'lastCell';Defined in packages/spreadsheet/src/view/options.ts:388
IconSetNametype#
type IconSetName =
| '3Arrows'
| '3ArrowsGray'
| '3Flags'
| '3TrafficLights1'
| '3TrafficLights2'
| '3Signs'
| '3Symbols'
| '3Symbols2'
| '3Stars'
| '3Triangles'
| '4Arrows'
| '4ArrowsGray'
| '4RedToBlack'
| '4Rating'
| '4TrafficLights'
| '5Arrows'
| '5ArrowsGray'
| '5Rating'
| '5Quarters'
| '5Boxes';Defined in packages/spreadsheet/src/types.ts:265
ImageRasterizertype#
type ImageRasterizer = (image: RasterRequest) => Promise<string | undefined> | string | undefined;Defined in packages/spreadsheet/src/xlsx/image-raster.ts:10
MetafileShapeKindtype#
type MetafileShapeKind =
'line' | 'polyline' | 'polygon' | 'rectangle' | 'ellipse' | 'arc' | 'path' | 'text' | 'image';Defined in packages/spreadsheet/src/formats/metafile/canvas.ts:14
PaperSizetype#
type PaperSize = 'letter' | 'legal' | 'tabloid' | 'a3' | 'a4' | 'a5';Defined in packages/spreadsheet/src/types.ts:751
PasteOptiontype#
type PasteOption = 'all' | 'values' | 'formulas' | 'formats' | 'transpose' | 'columnWidths' | 'link';Defined in packages/spreadsheet/src/view/options.ts:400
PasteSpecialModetype#
type PasteSpecialMode = 'all' | 'values' | 'formulas' | 'formats';Defined in packages/spreadsheet/src/view/options.ts:386
PivotAggregatetype#
type PivotAggregate = 'sum' | 'count' | 'average' | 'min' | 'max' | 'distinctCount';Defined in packages/spreadsheet/src/types.ts:782
PivotDateFilterOperatortype#
type PivotDateFilterOperator =
| 'equals'
| 'doesNotEqual'
| 'before'
| 'beforeOrEqual'
| 'after'
| 'afterOrEqual'
| 'between'
| 'notBetween'
| PivotDatePeriod;Defined in packages/spreadsheet/src/types.ts:856
PivotDateGroupingtype#
type PivotDateGrouping = 'year' | 'quarter' | 'month';Defined in packages/spreadsheet/src/types.ts:786
PivotDatePeriodtype#
type PivotDatePeriod =
| 'today'
| 'yesterday'
| 'tomorrow'
| 'thisWeek'
| 'lastWeek'
| 'nextWeek'
| 'thisMonth'
| 'lastMonth'
| 'nextMonth'
| 'thisQuarter'
| 'lastQuarter'
| 'nextQuarter'
| 'thisYear'
| 'lastYear'
| 'nextYear'
| 'yearToDate';Defined in packages/spreadsheet/src/types.ts:838
PivotLabelFilterOperatortype#
type PivotLabelFilterOperator =
| 'equals'
| 'doesNotEqual'
| 'beginsWith'
| 'doesNotBeginWith'
| 'endsWith'
| 'doesNotEndWith'
| 'contains'
| 'doesNotContain'
| 'greaterThan'
| 'greaterThanOrEqual'
| 'lessThan'
| 'lessThanOrEqual'
| 'between'
| 'notBetween';Defined in packages/spreadsheet/src/types.ts:816
PivotLayouttype#
type PivotLayout = 'compact' | 'outline' | 'tabular';Defined in packages/spreadsheet/src/types.ts:873
PivotShowAstype#
type PivotShowAs = 'value' | 'percentOfTotal' | 'percentOfRow' | 'percentOfColumn';Defined in packages/spreadsheet/src/types.ts:784
PivotValueFilterOperatortype#
type PivotValueFilterOperator = FilterOperator | 'between' | 'top' | 'bottom';Defined in packages/spreadsheet/src/types.ts:798
RejectionReasontype#
type RejectionReason = 'conflict' | 'invalid' | 'reload';Defined in packages/spreadsheet/src/collab/session.ts:37
RibbonLayouttype#
type RibbonLayout = 'classic' | 'simplified' | 'collapsed';Defined in packages/spreadsheet/src/view/options.ts:60
RibbonModetype#
type RibbonMode = 'classic' | 'simplified' | 'collapsed' | 'auto';Defined in packages/spreadsheet/src/view/options.ts:59
RibbonModeChangeSourcetype#
type RibbonModeChangeSource = 'user' | 'resize';Defined in packages/spreadsheet/src/view/options.ts:61
ServerMessagetype#
type ServerMessage =
| { type: 'joined'; revision: number; operations: CommittedOperation[]; peers: CollaborationPeer[] }
| { type: 'reload'; revision: number; workbook: WorkbookJSON; peers: CollaborationPeer[] }
| ({ type: 'operation' } & CommittedOperation)
| { type: 'ack'; id: string; revision: number }
| { type: 'rejected'; id: string; message: string }
| { type: 'peer'; peer: CollaborationPeer }
| { type: 'peerLeft'; clientId: string };Defined in packages/spreadsheet/src/collab/provider.ts:29
ShapeDashtype#
type ShapeDash =
| 'dash'
| 'dot'
| 'dashDot'
| 'lgDash'
| 'lgDashDot'
| 'lgDashDotDot'
| 'sysDash'
| 'sysDot'
| 'sysDashDot'
| 'sysDashDotDot';Defined in packages/spreadsheet/src/types.ts:970
ShapeTypetype#
type ShapeType =
| 'rect'
| 'roundRect'
| 'ellipse'
| 'line'
| 'arrow'
| 'textBox'
| 'bentConnector3'
| 'curvedConnector3'
| 'triangle'
| 'rtTriangle'
| 'diamond'
| 'parallelogram'
| 'trapezoid'
| 'pentagon'
| 'hexagon'
| 'octagon'
| 'rightArrow'
| 'leftArrow'
| 'upArrow'
| 'downArrow'
| 'leftRightArrow'
| 'upDownArrow'
| 'chevron'
| 'homePlate'
| 'plus'
| 'star5'
| 'leftBrace'
| 'rightBrace'
| 'leftBracket'
| 'rightBracket'
| 'bracePair'
| 'bracketPair'
| 'wedgeRectCallout'
| 'wedgeRoundRectCallout'
| 'wedgeEllipseCallout'
| 'flowChartProcess'
| 'flowChartDecision'
| 'flowChartTerminator';Defined in packages/spreadsheet/src/types.ts:930
SheetActiontype#
type SheetAction = 'activate' | 'add' | 'remove' | 'rename' | 'move' | 'hide' | 'show';Defined in packages/spreadsheet/src/view/options.ts:218
SheetOperationtype#
type SheetOperation =
| CellsOperation
| RowsOperation
| ColumnsOperation
| ShiftCellsOperation
| AddSheetOperation
| RemoveSheetOperation
| RenameSheetOperation
| MoveSheetOperation
| DefineNameOperation
| RemoveNameOperation
| SnapshotOperation;Defined in packages/spreadsheet/src/collab/operations.ts:102
SheetOperationTypetype#
type SheetOperationType = SheetOperation['type'];Defined in packages/spreadsheet/src/collab/operations.ts:115
SheetThemetype#
type SheetTheme = 'light' | 'match';Defined in packages/spreadsheet/src/view/options.ts:53
SparklineTypetype#
type SparklineType = 'line' | 'column' | 'winLoss';Defined in packages/spreadsheet/src/types.ts:727
SpellCheckertype#
type SpellChecker = (
text: string,
language: string,
) => Promise<readonly SpellingIssue[]> | readonly SpellingIssue[];Defined in packages/spreadsheet/src/view/options.ts:354
SpreadsheetDialogtype#
type SpreadsheetDialog =
| 'formatCells'
| 'nameManager'
| 'cellStyles'
| 'note'
| 'hyperlink'
| 'evaluateFormula'
| 'pageSetup'
| 'createTable'
| 'find'
| 'replace'
| 'pasteSpecial'
| 'insertCells'
| 'deleteCells'
| 'goTo'
| 'goToSpecial'
| 'sort'
| 'removeDuplicates'
| 'textToColumns'
| 'subtotal'
| 'goalSeek'
| 'dataTable'
| 'dataValidation'
| 'conditionalFormat'
| 'conditionalRules'
| 'insertFunction'
| 'insertPivotTable'
| 'pivotFields'
| 'insertChart'
| 'formatChart'
| 'saveSheetView'
| 'spelling'
| 'insertSparkline'
| 'comments'
| 'notes'
| 'protectSheet'
| 'importReport'
| 'documentProperties'
| 'insertObject'
| 'objectProperties';Defined in packages/spreadsheet/src/view/options.ts:286
SpreadsheetErrorCodetype#
type SpreadsheetErrorCode =
| 'circularReference'
| 'validation'
| 'formula'
| 'import'
| 'export'
| 'readOnly'
| 'protected'
| 'table'
| 'dataTable'
| 'collaboration';Defined in packages/spreadsheet/src/view/options.ts:231
SpreadsheetThemetype#
type SpreadsheetTheme = 'light' | 'dark' | 'auto';Defined in packages/spreadsheet/src/view/options.ts:52
SubtotalFunctiontype#
type SubtotalFunction = 'sum' | 'count' | 'average' | 'max' | 'min';Defined in packages/spreadsheet/src/view/options.ts:436
TableTotalsFunctiontype#
type TableTotalsFunction =
'none' | 'sum' | 'average' | 'count' | 'countNums' | 'max' | 'min' | 'stdDev' | 'var' | 'custom';Defined in packages/spreadsheet/src/types.ts:483
ToolbarModetype#
type ToolbarMode = 'ribbon' | 'compact' | false;Defined in packages/spreadsheet/src/view/options.ts:57
ToolbarTabIdtype#
type ToolbarTabId = 'file' | 'home' | 'insert' | 'pageLayout' | 'formulas' | 'data' | 'review' | 'view';Defined in packages/spreadsheet/src/view/options.ts:73
TransformOrdertype#
type TransformOrder = 'after' | 'before';Defined in packages/spreadsheet/src/collab/transform.ts:32
ValidationModetype#
type ValidationMode = 'ui' | 'always';Defined in packages/spreadsheet/src/view/options.ts:159
ValidationTypetype#
type ValidationType = 'list' | 'whole' | 'decimal' | 'date' | 'time' | 'textLength' | 'custom';Defined in packages/spreadsheet/src/types.ts:322
WorkerEngineOptionstype#
type WorkerEngineOptions = Pick<
FormulaEngineOptions,
'sheets' | 'dynamicArrays' | 'iterative' | 'maxIterations' | 'maxChange'
>;Defined in packages/spreadsheet/src/engine/worker/protocol.ts:12
XlsxImportPhasetype#
type XlsxImportPhase = 'unzip' | 'styles' | 'sheets' | 'features' | 'done';Defined in packages/spreadsheet/src/xlsx/import.ts:72
ZipLimitCodetype#
type ZipLimitCode = 'too-many-entries' | 'entry-too-large' | 'archive-too-large' | 'ratio-too-high';Defined in packages/excel/src/types.ts:97
@birchui/spreadsheet/xlsx#
canvasImageRasterizerfunction#
function canvasImageRasterizer(image: RasterRequest): Promise<string | undefined>| Parameter | Type | Description |
|---|---|---|
image | RasterRequest | — |
Defined in packages/spreadsheet/src/xlsx/image-raster.ts:19
exportXlsxBytesfunction#
function exportXlsxBytes(source: WorkbookJSON, options: XlsxExportOptions = {}): Promise<Uint8Array>| Parameter | Type | Description |
|---|---|---|
source | WorkbookJSON | — |
optionsoptional | XlsxExportOptions | — |
Defined in packages/spreadsheet/src/xlsx/export.ts:1071
exportXlsxWithReportfunction#
function exportXlsxWithReport(source: WorkbookJSON, options: XlsxExportOptions = {}): Promise<{ bytes: Uint8Array; report: XlsxExportReport }>| Parameter | Type | Description |
|---|---|---|
source | WorkbookJSON | — |
optionsoptional | XlsxExportOptions | — |
Defined in packages/spreadsheet/src/xlsx/export.ts:1075
fromFileFormulafunction#
function fromFileFormula(formula: string, hostTable?: string): string| Parameter | Type | Description |
|---|---|---|
formula | string | — |
hostTableoptional | string | — |
Defined in packages/spreadsheet/src/xlsx/formula-text.ts:314
importXlsxfunction#
function importXlsx(data: Uint8Array | ArrayBuffer | Blob, options: XlsxImportOptions = {}): Promise<WorkbookJSON>| Parameter | Type | Description |
|---|---|---|
data | Uint8Array | ArrayBuffer | Blob | — |
optionsoptional | XlsxImportOptions | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:973
importXlsxWithReportfunction#
function importXlsxWithReport(data: Uint8Array | ArrayBuffer | Blob, options: XlsxImportOptions = {}): Promise<XlsxImportResult>| Parameter | Type | Description |
|---|---|---|
data | Uint8Array | ArrayBuffer | Blob | — |
optionsoptional | XlsxImportOptions | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:821
inspectXlsxfunction#
function inspectXlsx(data: Uint8Array | ArrayBuffer | Blob, options: XlsxImportOptions = {}): Promise<XlsxImportReport>| Parameter | Type | Description |
|---|---|---|
data | Uint8Array | ArrayBuffer | Blob | — |
optionsoptional | XlsxImportOptions | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:980
toFileFormulafunction#
function toFileFormula(formula: string, hostTable?: string): string| Parameter | Type | Description |
|---|---|---|
formula | string | — |
hostTableoptional | string | — |
Defined in packages/spreadsheet/src/xlsx/formula-text.ts:264
toXlsxStylefunction#
function toXlsxStyle(style: CellStyle | undefined): XlsxCellStyle | undefined| Parameter | Type | Description |
|---|---|---|
style | CellStyle | undefined | — |
Defined in packages/spreadsheet/src/xlsx/export-model.ts:23
validateXlsxPackagefunction#
function validateXlsxPackage(bytes: Uint8Array | ArrayBuffer, options: XlsxValidateOptions = {}): Promise<XlsxValidationIssue[]>| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | ArrayBuffer | — |
optionsoptional | XlsxValidateOptions | — |
Defined in packages/spreadsheet/src/xlsx/validate.ts:287
workbookToXlsxfunction#
function workbookToXlsx(json: WorkbookJSON): XlsxWorkbook| Parameter | Type | Description |
|---|---|---|
json | WorkbookJSON | — |
Defined in packages/spreadsheet/src/xlsx/export-model.ts:193
RasterRequestinterface#
interface RasterRequestDefined in packages/spreadsheet/src/xlsx/image-raster.ts:3
XlsxExportOptionsinterface#
interface XlsxExportOptions| Property | Type | Description |
|---|---|---|
compressoptional | boolean | — |
licenseKeyoptional | string | — |
rasterizeImageoptional | ImageRasterizer | — |
passwordoptional | string | — |
encryptionSpinCountoptional | number | — |
defaultColumnWidthoptional | number | — |
defaultRowHeightoptional | number | — |
onReportoptional | (report: XlsxExportReport) => void | — |
nowoptional | Date | — |
checkboxesoptional | 'values' | 'excel' | — |
Defined in packages/spreadsheet/src/xlsx/export.ts:111
XlsxExportReportinterface#
interface XlsxExportReport| Property | Type | Description |
|---|---|---|
adjusted | XlsxReportEntry[] | — |
Defined in packages/spreadsheet/src/xlsx/export.ts:124
XlsxImportOptionsinterface#
interface XlsxImportOptions| Property | Type | Description |
|---|---|---|
licenseKeyoptional | string | — |
passwordoptional | string | — |
onProgressoptional | (progress: XlsxImportProgress) => void | — |
signaloptional | AbortSignal | — |
limitsoptional | Partial<ZipLimits> | — |
xlsLimitsoptional | Partial<XlsLimits> | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:82
XlsxImportProgressinterface#
interface XlsxImportProgress| Property | Type | Description |
|---|---|---|
phase | XlsxImportPhase | — |
fraction | number | — |
sheetoptional | string | — |
sheetIndexoptional | number | — |
sheetCountoptional | number | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:74
XlsxImportReportinterface#
interface XlsxImportReport| Property | Type | Description |
|---|---|---|
modelled | XlsxReportEntry[] | — |
preserved | XlsxReportEntry[] | — |
dropped | XlsxReportEntry[] | — |
adjusted | XlsxReportEntry[] | — |
Defined in packages/spreadsheet/src/xlsx/preserve-reader.ts:27
XlsxImportResultinterface#
interface XlsxImportResult| Property | Type | Description |
|---|---|---|
workbook | WorkbookJSON | — |
report | XlsxImportReport | — |
Defined in packages/spreadsheet/src/xlsx/import.ts:816
XlsxReportEntryinterface#
interface XlsxReportEntry| Property | Type | Description |
|---|---|---|
feature | string | — |
sheetoptional | string | — |
countoptional | number | — |
partsoptional | string[] | — |
elementsoptional | string[] | — |
noteoptional | string | — |
Defined in packages/spreadsheet/src/xlsx/preserve-reader.ts:18
XlsxValidateOptionsinterface#
interface XlsxValidateOptionsDefined in packages/spreadsheet/src/xlsx/validate.ts:283
XlsxValidationIssueinterface#
interface XlsxValidationIssueDefined in packages/spreadsheet/src/xlsx/validate-xml.ts:10
ImageRasterizertype#
type ImageRasterizer = (image: RasterRequest) => Promise<string | undefined> | string | undefined;Defined in packages/spreadsheet/src/xlsx/image-raster.ts:10
XlsxImportPhasetype#
type XlsxImportPhase = 'unzip' | 'styles' | 'sheets' | 'features' | 'done';Defined in packages/spreadsheet/src/xlsx/import.ts:72