@univerjs/sheets-formula
Sheet formula services and calculation integration for Univer Sheets.
import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula'
univer.registerPlugin(UniverSheetsFormulaPlugin, IUniverSheetsFormulaBaseConfig)IUniverSheetsFormulaBaseConfig
import type { Ctor } from '@univerjs/core'
import type { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula'
export interface IUniverSheetsFormulaBaseConfig {
notExecuteFormula?: boolean
description?: IFunctionInfo[]
function?: Array<[Ctor<BaseFunction>, IFunctionNames]>
/**
* Define the calculation mode during initialization, default is `WHEN_EMPTY`
*/
initialFormulaComputing?: CalculationMode
/**
* If true, the plugin will write array formula results to the snapshot. Normally you should not set this value.
*/
writeArrayFormulaToSnapshot?: boolean
}IUniverSheetsFormulaRemoteConfig
import type { Ctor } from '@univerjs/core'
import type { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula'
export interface IUniverSheetsFormulaRemoteConfig {}