@univerjs/engine-formula 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -656
- package/lib/es/index.js +1 -33445
- package/lib/facade.js +1 -656
- package/lib/index.js +1 -33445
- package/lib/types/basics/cache-lru.d.ts +15 -0
- package/lib/types/basics/calculate.d.ts +15 -0
- package/lib/types/basics/common.d.ts +18 -3
- package/lib/types/basics/database.d.ts +17 -1
- package/lib/types/basics/date.d.ts +17 -1
- package/lib/types/basics/dirty.d.ts +16 -1
- package/lib/types/basics/financial.d.ts +15 -0
- package/lib/types/basics/format.d.ts +16 -1
- package/lib/types/basics/function.d.ts +32 -17
- package/lib/types/basics/inverted-index-cache.d.ts +16 -1
- package/lib/types/basics/is-null-cell.d.ts +16 -1
- package/lib/types/basics/match-token.d.ts +15 -0
- package/lib/types/basics/runtime.d.ts +16 -1
- package/lib/types/basics/statistical.d.ts +20 -4
- package/lib/types/commands/mutations/formula.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/register-function.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-array-formula-data.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-defined-name.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-feature-calculation.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +20 -5
- package/lib/types/commands/mutations/set-formula-data.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-image-formula-data.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-other-formula.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-super-table.mutation.d.ts +18 -3
- package/lib/types/config/config.d.ts +18 -3
- package/lib/types/controllers/calculate.controller.d.ts +15 -0
- package/lib/types/controllers/computing-status.controller.d.ts +15 -0
- package/lib/types/controllers/formula.controller.d.ts +15 -0
- package/lib/types/controllers/set-dependency.controller.d.ts +15 -0
- package/lib/types/controllers/set-feature-calculation.controller.d.ts +15 -0
- package/lib/types/controllers/set-other-formula.controller.d.ts +15 -0
- package/lib/types/controllers/set-super-table.controller.d.ts +15 -0
- package/lib/types/engine/analysis/lexer-node.d.ts +17 -2
- package/lib/types/engine/analysis/lexer-tree-builder.d.ts +21 -5
- package/lib/types/engine/analysis/lexer.d.ts +16 -1
- package/lib/types/engine/analysis/parser.d.ts +18 -2
- package/lib/types/engine/ast-node/ast-root-node.d.ts +15 -0
- package/lib/types/engine/ast-node/base-ast-node-factory.d.ts +16 -1
- package/lib/types/engine/ast-node/base-ast-node.d.ts +18 -3
- package/lib/types/engine/ast-node/function-node.d.ts +17 -2
- package/lib/types/engine/ast-node/lambda-node.d.ts +15 -0
- package/lib/types/engine/ast-node/lambda-parameter-node.d.ts +17 -1
- package/lib/types/engine/ast-node/null-node.d.ts +15 -0
- package/lib/types/engine/ast-node/operator-node.d.ts +16 -1
- package/lib/types/engine/ast-node/prefix-node.d.ts +17 -2
- package/lib/types/engine/ast-node/reference-node.d.ts +15 -0
- package/lib/types/engine/ast-node/suffix-node.d.ts +16 -1
- package/lib/types/engine/ast-node/union-node.d.ts +15 -0
- package/lib/types/engine/ast-node/value-node.d.ts +15 -0
- package/lib/types/engine/dependency/dependency-tree.d.ts +20 -5
- package/lib/types/engine/dependency/formula-dependency.d.ts +27 -9
- package/lib/types/engine/interpreter/interpreter.d.ts +21 -5
- package/lib/types/engine/reference-object/base-reference-object.d.ts +25 -9
- package/lib/types/engine/reference-object/cell-reference-object.d.ts +16 -1
- package/lib/types/engine/reference-object/column-reference-object.d.ts +15 -0
- package/lib/types/engine/reference-object/multi-area-reference-object.d.ts +21 -6
- package/lib/types/engine/reference-object/range-reference-object.d.ts +16 -1
- package/lib/types/engine/reference-object/row-reference-object.d.ts +15 -0
- package/lib/types/engine/reference-object/table-reference-object.d.ts +18 -2
- package/lib/types/engine/utils/array-object.d.ts +16 -1
- package/lib/types/engine/utils/ast-node-tool.d.ts +17 -2
- package/lib/types/engine/utils/cell.d.ts +18 -3
- package/lib/types/engine/utils/check-variant-error.d.ts +16 -1
- package/lib/types/engine/utils/compare.d.ts +15 -0
- package/lib/types/engine/utils/function-definition.d.ts +15 -0
- package/lib/types/engine/utils/generate-ast-node.d.ts +21 -6
- package/lib/types/engine/utils/get-runtime-feature-cell.d.ts +17 -2
- package/lib/types/engine/utils/node-type.d.ts +19 -4
- package/lib/types/engine/utils/numfmt-kit.d.ts +17 -1
- package/lib/types/engine/utils/object-compare.d.ts +17 -2
- package/lib/types/engine/utils/prefix-handler.d.ts +18 -3
- package/lib/types/engine/utils/r1c1-reference.d.ts +16 -1
- package/lib/types/engine/utils/reference-cache.d.ts +16 -1
- package/lib/types/engine/utils/reference.d.ts +17 -1
- package/lib/types/engine/utils/sequence.d.ts +16 -1
- package/lib/types/engine/utils/update-lambda-statement.d.ts +16 -1
- package/lib/types/engine/utils/value-object.d.ts +19 -3
- package/lib/types/engine/value-object/array-value-object.d.ts +18 -2
- package/lib/types/engine/value-object/base-value-object.d.ts +16 -1
- package/lib/types/engine/value-object/cube-value-object.d.ts +16 -1
- package/lib/types/engine/value-object/lambda-value-object.d.ts +21 -5
- package/lib/types/engine/value-object/primitive-object.d.ts +15 -0
- package/lib/types/facade/f-formula.d.ts +19 -2
- package/lib/types/facade/f-univer.d.ts +15 -0
- package/lib/types/functions/array/array-constrain/index.d.ts +16 -1
- package/lib/types/functions/array/flatten/index.d.ts +16 -1
- package/lib/types/functions/array/function-map.d.ts +15 -0
- package/lib/types/functions/base-function.d.ts +27 -10
- package/lib/types/functions/column-like-functions.d.ts +16 -1
- package/lib/types/functions/compatibility/betadist/index.d.ts +16 -1
- package/lib/types/functions/compatibility/function-map.d.ts +15 -0
- package/lib/types/functions/compatibility/hypgeomdist/index.d.ts +16 -1
- package/lib/types/functions/compatibility/lognormdist/index.d.ts +16 -1
- package/lib/types/functions/compatibility/negbinomdist/index.d.ts +16 -1
- package/lib/types/functions/compatibility/normsdist/index.d.ts +16 -1
- package/lib/types/functions/compatibility/rank/index.d.ts +17 -2
- package/lib/types/functions/compatibility/tdist/index.d.ts +16 -1
- package/lib/types/functions/custom-function.d.ts +15 -0
- package/lib/types/functions/database/daverage/index.d.ts +17 -1
- package/lib/types/functions/database/dcount/index.d.ts +16 -1
- package/lib/types/functions/database/dcounta/index.d.ts +16 -1
- package/lib/types/functions/database/dget/index.d.ts +16 -1
- package/lib/types/functions/database/dmax/index.d.ts +16 -1
- package/lib/types/functions/database/dmin/index.d.ts +16 -1
- package/lib/types/functions/database/dproduct/index.d.ts +16 -1
- package/lib/types/functions/database/dstdev/index.d.ts +17 -1
- package/lib/types/functions/database/dstdevp/index.d.ts +17 -1
- package/lib/types/functions/database/dsum/index.d.ts +16 -1
- package/lib/types/functions/database/dvar/index.d.ts +17 -1
- package/lib/types/functions/database/dvarp/index.d.ts +17 -1
- package/lib/types/functions/database/function-map.d.ts +15 -0
- package/lib/types/functions/date/date/index.d.ts +16 -1
- package/lib/types/functions/date/datedif/index.d.ts +16 -1
- package/lib/types/functions/date/datevalue/index.d.ts +16 -1
- package/lib/types/functions/date/day/index.d.ts +16 -1
- package/lib/types/functions/date/days/index.d.ts +16 -1
- package/lib/types/functions/date/days360/index.d.ts +16 -1
- package/lib/types/functions/date/edate/index.d.ts +16 -1
- package/lib/types/functions/date/eomonth/index.d.ts +16 -1
- package/lib/types/functions/date/epochtodate/index.d.ts +17 -2
- package/lib/types/functions/date/function-map.d.ts +15 -0
- package/lib/types/functions/date/hour/index.d.ts +16 -1
- package/lib/types/functions/date/isoweeknum/index.d.ts +16 -1
- package/lib/types/functions/date/minute/index.d.ts +16 -1
- package/lib/types/functions/date/month/index.d.ts +16 -1
- package/lib/types/functions/date/networkdays/index.d.ts +16 -1
- package/lib/types/functions/date/networkdays-intl/index.d.ts +16 -1
- package/lib/types/functions/date/now/index.d.ts +15 -0
- package/lib/types/functions/date/second/index.d.ts +16 -1
- package/lib/types/functions/date/time/index.d.ts +16 -1
- package/lib/types/functions/date/timevalue/index.d.ts +16 -1
- package/lib/types/functions/date/to-date/index.d.ts +17 -2
- package/lib/types/functions/date/today/index.d.ts +15 -0
- package/lib/types/functions/date/weekday/index.d.ts +16 -1
- package/lib/types/functions/date/weeknum/index.d.ts +16 -1
- package/lib/types/functions/date/workday/index.d.ts +16 -1
- package/lib/types/functions/date/workday-intl/index.d.ts +16 -1
- package/lib/types/functions/date/year/index.d.ts +16 -1
- package/lib/types/functions/date/yearfrac/index.d.ts +16 -1
- package/lib/types/functions/engineering/besseli/index.d.ts +16 -1
- package/lib/types/functions/engineering/besselj/index.d.ts +16 -1
- package/lib/types/functions/engineering/besselk/index.d.ts +16 -1
- package/lib/types/functions/engineering/bessely/index.d.ts +16 -1
- package/lib/types/functions/engineering/bin2dec/index.d.ts +16 -1
- package/lib/types/functions/engineering/bin2hex/index.d.ts +16 -1
- package/lib/types/functions/engineering/bin2oct/index.d.ts +16 -1
- package/lib/types/functions/engineering/bitand/index.d.ts +16 -1
- package/lib/types/functions/engineering/bitlshift/index.d.ts +16 -1
- package/lib/types/functions/engineering/bitor/index.d.ts +16 -1
- package/lib/types/functions/engineering/bitrshift/index.d.ts +16 -1
- package/lib/types/functions/engineering/bitxor/index.d.ts +16 -1
- package/lib/types/functions/engineering/complex/index.d.ts +16 -1
- package/lib/types/functions/engineering/convert/index.d.ts +16 -1
- package/lib/types/functions/engineering/dec2bin/index.d.ts +16 -1
- package/lib/types/functions/engineering/dec2hex/index.d.ts +16 -1
- package/lib/types/functions/engineering/dec2oct/index.d.ts +16 -1
- package/lib/types/functions/engineering/delta/index.d.ts +16 -1
- package/lib/types/functions/engineering/erf/index.d.ts +16 -1
- package/lib/types/functions/engineering/erf-precise/index.d.ts +16 -1
- package/lib/types/functions/engineering/erfc/index.d.ts +16 -1
- package/lib/types/functions/engineering/erfc-precise/index.d.ts +16 -1
- package/lib/types/functions/engineering/function-map.d.ts +15 -0
- package/lib/types/functions/engineering/gestep/index.d.ts +16 -1
- package/lib/types/functions/engineering/hex2bin/index.d.ts +16 -1
- package/lib/types/functions/engineering/hex2dec/index.d.ts +16 -1
- package/lib/types/functions/engineering/hex2oct/index.d.ts +16 -1
- package/lib/types/functions/engineering/imabs/index.d.ts +16 -1
- package/lib/types/functions/engineering/imaginary/index.d.ts +16 -1
- package/lib/types/functions/engineering/imargument/index.d.ts +16 -1
- package/lib/types/functions/engineering/imconjugate/index.d.ts +16 -1
- package/lib/types/functions/engineering/imcos/index.d.ts +16 -1
- package/lib/types/functions/engineering/imcosh/index.d.ts +16 -1
- package/lib/types/functions/engineering/imcot/index.d.ts +16 -1
- package/lib/types/functions/engineering/imcoth/index.d.ts +16 -1
- package/lib/types/functions/engineering/imcsc/index.d.ts +16 -1
- package/lib/types/functions/engineering/imcsch/index.d.ts +16 -1
- package/lib/types/functions/engineering/imdiv/index.d.ts +16 -1
- package/lib/types/functions/engineering/imexp/index.d.ts +16 -1
- package/lib/types/functions/engineering/imln/index.d.ts +16 -1
- package/lib/types/functions/engineering/imlog/index.d.ts +16 -1
- package/lib/types/functions/engineering/imlog10/index.d.ts +16 -1
- package/lib/types/functions/engineering/imlog2/index.d.ts +16 -1
- package/lib/types/functions/engineering/impower/index.d.ts +16 -1
- package/lib/types/functions/engineering/improduct/index.d.ts +16 -1
- package/lib/types/functions/engineering/imreal/index.d.ts +16 -1
- package/lib/types/functions/engineering/imsec/index.d.ts +16 -1
- package/lib/types/functions/engineering/imsech/index.d.ts +16 -1
- package/lib/types/functions/engineering/imsin/index.d.ts +16 -1
- package/lib/types/functions/engineering/imsinh/index.d.ts +16 -1
- package/lib/types/functions/engineering/imsqrt/index.d.ts +16 -1
- package/lib/types/functions/engineering/imsub/index.d.ts +16 -1
- package/lib/types/functions/engineering/imsum/index.d.ts +16 -1
- package/lib/types/functions/engineering/imtan/index.d.ts +16 -1
- package/lib/types/functions/engineering/imtanh/index.d.ts +16 -1
- package/lib/types/functions/engineering/oct2bin/index.d.ts +16 -1
- package/lib/types/functions/engineering/oct2dec/index.d.ts +16 -1
- package/lib/types/functions/engineering/oct2hex/index.d.ts +16 -1
- package/lib/types/functions/financial/accrint/index.d.ts +16 -1
- package/lib/types/functions/financial/accrintm/index.d.ts +16 -1
- package/lib/types/functions/financial/amorlinc/index.d.ts +16 -1
- package/lib/types/functions/financial/coupdaybs/index.d.ts +16 -1
- package/lib/types/functions/financial/coupdays/index.d.ts +16 -1
- package/lib/types/functions/financial/coupdaysnc/index.d.ts +16 -1
- package/lib/types/functions/financial/coupncd/index.d.ts +16 -1
- package/lib/types/functions/financial/coupnum/index.d.ts +16 -1
- package/lib/types/functions/financial/couppcd/index.d.ts +16 -1
- package/lib/types/functions/financial/cumipmt/index.d.ts +16 -1
- package/lib/types/functions/financial/cumprinc/index.d.ts +16 -1
- package/lib/types/functions/financial/db/index.d.ts +16 -1
- package/lib/types/functions/financial/ddb/index.d.ts +16 -1
- package/lib/types/functions/financial/disc/index.d.ts +16 -1
- package/lib/types/functions/financial/dollarde/index.d.ts +16 -1
- package/lib/types/functions/financial/dollarfr/index.d.ts +16 -1
- package/lib/types/functions/financial/duration/index.d.ts +16 -1
- package/lib/types/functions/financial/effect/index.d.ts +16 -1
- package/lib/types/functions/financial/function-map.d.ts +15 -0
- package/lib/types/functions/financial/fv/index.d.ts +16 -1
- package/lib/types/functions/financial/fvschedule/index.d.ts +16 -1
- package/lib/types/functions/financial/intrate/index.d.ts +16 -1
- package/lib/types/functions/financial/ipmt/index.d.ts +16 -1
- package/lib/types/functions/financial/irr/index.d.ts +16 -1
- package/lib/types/functions/financial/ispmt/index.d.ts +16 -1
- package/lib/types/functions/financial/mduration/index.d.ts +16 -1
- package/lib/types/functions/financial/mirr/index.d.ts +16 -1
- package/lib/types/functions/financial/nominal/index.d.ts +16 -1
- package/lib/types/functions/financial/nper/index.d.ts +16 -1
- package/lib/types/functions/financial/npv/index.d.ts +16 -1
- package/lib/types/functions/financial/oddfprice/index.d.ts +16 -1
- package/lib/types/functions/financial/oddfyield/index.d.ts +16 -1
- package/lib/types/functions/financial/oddlprice/index.d.ts +16 -1
- package/lib/types/functions/financial/oddlyield/index.d.ts +16 -1
- package/lib/types/functions/financial/pduration/index.d.ts +16 -1
- package/lib/types/functions/financial/pmt/index.d.ts +16 -1
- package/lib/types/functions/financial/ppmt/index.d.ts +16 -1
- package/lib/types/functions/financial/price/index.d.ts +16 -1
- package/lib/types/functions/financial/pricedisc/index.d.ts +16 -1
- package/lib/types/functions/financial/pricemat/index.d.ts +16 -1
- package/lib/types/functions/financial/pv/index.d.ts +16 -1
- package/lib/types/functions/financial/rate/index.d.ts +16 -1
- package/lib/types/functions/financial/received/index.d.ts +16 -1
- package/lib/types/functions/financial/rri/index.d.ts +16 -1
- package/lib/types/functions/financial/sln/index.d.ts +16 -1
- package/lib/types/functions/financial/syd/index.d.ts +16 -1
- package/lib/types/functions/financial/tbilleq/index.d.ts +16 -1
- package/lib/types/functions/financial/tbillprice/index.d.ts +16 -1
- package/lib/types/functions/financial/tbillyield/index.d.ts +16 -1
- package/lib/types/functions/financial/vdb/index.d.ts +16 -1
- package/lib/types/functions/financial/xirr/index.d.ts +16 -1
- package/lib/types/functions/financial/xnpv/index.d.ts +16 -1
- package/lib/types/functions/financial/yield/index.d.ts +16 -1
- package/lib/types/functions/financial/yielddisc/index.d.ts +16 -1
- package/lib/types/functions/financial/yieldmat/index.d.ts +16 -1
- package/lib/types/functions/information/cell/index.d.ts +16 -1
- package/lib/types/functions/information/error-type/index.d.ts +16 -1
- package/lib/types/functions/information/function-map.d.ts +15 -0
- package/lib/types/functions/information/isbetween/index.d.ts +16 -1
- package/lib/types/functions/information/isblank/index.d.ts +17 -2
- package/lib/types/functions/information/isdate/index.d.ts +16 -1
- package/lib/types/functions/information/isemail/index.d.ts +16 -1
- package/lib/types/functions/information/iserr/index.d.ts +17 -2
- package/lib/types/functions/information/iserror/index.d.ts +17 -2
- package/lib/types/functions/information/iseven/iseven.d.ts +16 -1
- package/lib/types/functions/information/isformula/index.d.ts +17 -2
- package/lib/types/functions/information/islogical/index.d.ts +17 -2
- package/lib/types/functions/information/isna/index.d.ts +17 -2
- package/lib/types/functions/information/isnontext/index.d.ts +17 -2
- package/lib/types/functions/information/isnumber/index.d.ts +17 -2
- package/lib/types/functions/information/isodd/isodd.d.ts +16 -1
- package/lib/types/functions/information/isref/index.d.ts +16 -1
- package/lib/types/functions/information/istext/index.d.ts +17 -2
- package/lib/types/functions/information/isurl/index.d.ts +16 -1
- package/lib/types/functions/information/n/index.d.ts +16 -1
- package/lib/types/functions/information/na/index.d.ts +15 -0
- package/lib/types/functions/information/sheet/index.d.ts +17 -2
- package/lib/types/functions/information/sheets/index.d.ts +16 -1
- package/lib/types/functions/information/type/index.d.ts +16 -1
- package/lib/types/functions/logical/and/index.d.ts +16 -1
- package/lib/types/functions/logical/bycol/index.d.ts +17 -2
- package/lib/types/functions/logical/byrow/index.d.ts +17 -2
- package/lib/types/functions/logical/false/index.d.ts +15 -0
- package/lib/types/functions/logical/function-map.d.ts +15 -0
- package/lib/types/functions/logical/if/index.d.ts +17 -2
- package/lib/types/functions/logical/iferror/index.d.ts +17 -2
- package/lib/types/functions/logical/ifna/index.d.ts +17 -2
- package/lib/types/functions/logical/ifs/index.d.ts +16 -1
- package/lib/types/functions/logical/lambda/index.d.ts +17 -1
- package/lib/types/functions/logical/let/index.d.ts +17 -1
- package/lib/types/functions/logical/makearray/index.d.ts +17 -1
- package/lib/types/functions/logical/map/index.d.ts +17 -2
- package/lib/types/functions/logical/not/index.d.ts +16 -1
- package/lib/types/functions/logical/or/index.d.ts +16 -1
- package/lib/types/functions/logical/reduce/index.d.ts +17 -2
- package/lib/types/functions/logical/scan/index.d.ts +17 -2
- package/lib/types/functions/logical/switch/index.d.ts +16 -1
- package/lib/types/functions/logical/true/index.d.ts +15 -0
- package/lib/types/functions/logical/xor/index.d.ts +16 -1
- package/lib/types/functions/lookup/address/index.d.ts +16 -1
- package/lib/types/functions/lookup/areas/index.d.ts +16 -1
- package/lib/types/functions/lookup/choose/index.d.ts +16 -1
- package/lib/types/functions/lookup/choosecols/index.d.ts +16 -1
- package/lib/types/functions/lookup/chooserows/index.d.ts +16 -1
- package/lib/types/functions/lookup/column/index.d.ts +16 -1
- package/lib/types/functions/lookup/columns/index.d.ts +16 -1
- package/lib/types/functions/lookup/drop/index.d.ts +16 -1
- package/lib/types/functions/lookup/expand/index.d.ts +16 -1
- package/lib/types/functions/lookup/filter/index.d.ts +16 -1
- package/lib/types/functions/lookup/formulatext/index.d.ts +18 -3
- package/lib/types/functions/lookup/function-map.d.ts +15 -0
- package/lib/types/functions/lookup/hlookup/index.d.ts +16 -1
- package/lib/types/functions/lookup/hstack/index.d.ts +16 -1
- package/lib/types/functions/lookup/hyperlink/index.d.ts +16 -1
- package/lib/types/functions/lookup/image/index.d.ts +16 -1
- package/lib/types/functions/lookup/index/index.d.ts +17 -2
- package/lib/types/functions/lookup/indirect/index.d.ts +17 -2
- package/lib/types/functions/lookup/lookup/index.d.ts +17 -2
- package/lib/types/functions/lookup/match/index.d.ts +17 -2
- package/lib/types/functions/lookup/offset/index.d.ts +16 -1
- package/lib/types/functions/lookup/row/index.d.ts +16 -1
- package/lib/types/functions/lookup/rows/index.d.ts +16 -1
- package/lib/types/functions/lookup/sort/index.d.ts +16 -1
- package/lib/types/functions/lookup/sortby/index.d.ts +17 -1
- package/lib/types/functions/lookup/take/index.d.ts +16 -1
- package/lib/types/functions/lookup/tocol/index.d.ts +16 -1
- package/lib/types/functions/lookup/torow/index.d.ts +16 -1
- package/lib/types/functions/lookup/transpose/index.d.ts +17 -2
- package/lib/types/functions/lookup/unique/index.d.ts +16 -1
- package/lib/types/functions/lookup/vlookup/index.d.ts +17 -2
- package/lib/types/functions/lookup/vstack/index.d.ts +16 -1
- package/lib/types/functions/lookup/wrapcols/index.d.ts +16 -1
- package/lib/types/functions/lookup/wraprows/index.d.ts +16 -1
- package/lib/types/functions/lookup/xlookup/index.d.ts +16 -1
- package/lib/types/functions/lookup/xmatch/index.d.ts +16 -1
- package/lib/types/functions/math/abs/index.d.ts +16 -1
- package/lib/types/functions/math/acos/index.d.ts +16 -1
- package/lib/types/functions/math/acosh/index.d.ts +16 -1
- package/lib/types/functions/math/acot/index.d.ts +16 -1
- package/lib/types/functions/math/acoth/index.d.ts +16 -1
- package/lib/types/functions/math/aggregate/index.d.ts +18 -3
- package/lib/types/functions/math/arabic/index.d.ts +16 -1
- package/lib/types/functions/math/asin/index.d.ts +16 -1
- package/lib/types/functions/math/asinh/index.d.ts +16 -1
- package/lib/types/functions/math/atan/index.d.ts +16 -1
- package/lib/types/functions/math/atan2/index.d.ts +16 -1
- package/lib/types/functions/math/atanh/index.d.ts +16 -1
- package/lib/types/functions/math/base/index.d.ts +16 -1
- package/lib/types/functions/math/ceiling/index.d.ts +16 -1
- package/lib/types/functions/math/ceiling-math/index.d.ts +16 -1
- package/lib/types/functions/math/ceiling-precise/index.d.ts +16 -1
- package/lib/types/functions/math/combin/index.d.ts +16 -1
- package/lib/types/functions/math/combina/index.d.ts +16 -1
- package/lib/types/functions/math/cos/index.d.ts +16 -1
- package/lib/types/functions/math/cosh/index.d.ts +16 -1
- package/lib/types/functions/math/cot/index.d.ts +16 -1
- package/lib/types/functions/math/coth/index.d.ts +16 -1
- package/lib/types/functions/math/csc/index.d.ts +16 -1
- package/lib/types/functions/math/csch/index.d.ts +16 -1
- package/lib/types/functions/math/decimal/index.d.ts +16 -1
- package/lib/types/functions/math/degrees/index.d.ts +16 -1
- package/lib/types/functions/math/even/index.d.ts +16 -1
- package/lib/types/functions/math/exp/index.d.ts +16 -1
- package/lib/types/functions/math/fact/index.d.ts +16 -1
- package/lib/types/functions/math/factdouble/index.d.ts +16 -1
- package/lib/types/functions/math/floor/index.d.ts +16 -1
- package/lib/types/functions/math/floor-math/index.d.ts +16 -1
- package/lib/types/functions/math/floor-precise/index.d.ts +16 -1
- package/lib/types/functions/math/function-map.d.ts +15 -0
- package/lib/types/functions/math/gcd/index.d.ts +16 -1
- package/lib/types/functions/math/int/index.d.ts +16 -1
- package/lib/types/functions/math/lcm/index.d.ts +16 -1
- package/lib/types/functions/math/ln/index.d.ts +16 -1
- package/lib/types/functions/math/log/index.d.ts +16 -1
- package/lib/types/functions/math/log10/index.d.ts +16 -1
- package/lib/types/functions/math/mdeterm/index.d.ts +16 -1
- package/lib/types/functions/math/minverse/index.d.ts +16 -1
- package/lib/types/functions/math/mmult/index.d.ts +16 -1
- package/lib/types/functions/math/mod/index.d.ts +16 -1
- package/lib/types/functions/math/mround/index.d.ts +16 -1
- package/lib/types/functions/math/multinomial/index.d.ts +16 -1
- package/lib/types/functions/math/munit/index.d.ts +16 -1
- package/lib/types/functions/math/odd/index.d.ts +16 -1
- package/lib/types/functions/math/pi/index.d.ts +15 -0
- package/lib/types/functions/math/power/index.d.ts +16 -1
- package/lib/types/functions/math/product/index.d.ts +16 -1
- package/lib/types/functions/math/quotient/index.d.ts +16 -1
- package/lib/types/functions/math/radians/index.d.ts +16 -1
- package/lib/types/functions/math/rand/index.d.ts +15 -0
- package/lib/types/functions/math/randarray/index.d.ts +16 -1
- package/lib/types/functions/math/randbetween/index.d.ts +16 -1
- package/lib/types/functions/math/roman/index.d.ts +16 -1
- package/lib/types/functions/math/round/index.d.ts +16 -1
- package/lib/types/functions/math/roundbank/index.d.ts +16 -1
- package/lib/types/functions/math/rounddown/index.d.ts +16 -1
- package/lib/types/functions/math/roundup/index.d.ts +16 -1
- package/lib/types/functions/math/sec/index.d.ts +16 -1
- package/lib/types/functions/math/sech/index.d.ts +16 -1
- package/lib/types/functions/math/sequence/index.d.ts +16 -1
- package/lib/types/functions/math/seriessum/index.d.ts +16 -1
- package/lib/types/functions/math/sign/index.d.ts +16 -1
- package/lib/types/functions/math/sin/index.d.ts +16 -1
- package/lib/types/functions/math/sinh/index.d.ts +16 -1
- package/lib/types/functions/math/sqrt/index.d.ts +16 -1
- package/lib/types/functions/math/sqrtpi/index.d.ts +16 -1
- package/lib/types/functions/math/subtotal/index.d.ts +18 -3
- package/lib/types/functions/math/sum/index.d.ts +16 -1
- package/lib/types/functions/math/sumif/index.d.ts +17 -2
- package/lib/types/functions/math/sumifs/index.d.ts +17 -2
- package/lib/types/functions/math/sumproduct/index.d.ts +16 -1
- package/lib/types/functions/math/sumsq/index.d.ts +16 -1
- package/lib/types/functions/math/sumx2my2/index.d.ts +16 -1
- package/lib/types/functions/math/sumx2py2/index.d.ts +16 -1
- package/lib/types/functions/math/sumxmy2/index.d.ts +16 -1
- package/lib/types/functions/math/tan/index.d.ts +16 -1
- package/lib/types/functions/math/tanh/index.d.ts +16 -1
- package/lib/types/functions/math/trunc/index.d.ts +16 -1
- package/lib/types/functions/meta/compare/index.d.ts +16 -1
- package/lib/types/functions/meta/cube/index.d.ts +16 -1
- package/lib/types/functions/meta/divided/index.d.ts +16 -1
- package/lib/types/functions/meta/function-map.d.ts +15 -0
- package/lib/types/functions/meta/minus/index.d.ts +16 -1
- package/lib/types/functions/meta/multiply/index.d.ts +16 -1
- package/lib/types/functions/meta/plus/index.d.ts +16 -1
- package/lib/types/functions/new-excel-functions.d.ts +16 -1
- package/lib/types/functions/statistical/avedev/index.d.ts +16 -1
- package/lib/types/functions/statistical/average/index.d.ts +16 -1
- package/lib/types/functions/statistical/average-weighted/index.d.ts +16 -1
- package/lib/types/functions/statistical/averagea/index.d.ts +16 -1
- package/lib/types/functions/statistical/averageif/index.d.ts +17 -2
- package/lib/types/functions/statistical/averageifs/index.d.ts +17 -2
- package/lib/types/functions/statistical/beta-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/beta-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/binom-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/binom-dist-range/index.d.ts +16 -1
- package/lib/types/functions/statistical/binom-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/chisq-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/chisq-dist-rt/index.d.ts +16 -1
- package/lib/types/functions/statistical/chisq-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/chisq-inv-rt/index.d.ts +16 -1
- package/lib/types/functions/statistical/chisq-test/index.d.ts +16 -1
- package/lib/types/functions/statistical/confidence-norm/index.d.ts +16 -1
- package/lib/types/functions/statistical/confidence-t/index.d.ts +16 -1
- package/lib/types/functions/statistical/correl/index.d.ts +16 -1
- package/lib/types/functions/statistical/count/index.d.ts +16 -1
- package/lib/types/functions/statistical/counta/index.d.ts +16 -1
- package/lib/types/functions/statistical/countblank/index.d.ts +16 -1
- package/lib/types/functions/statistical/countif/index.d.ts +17 -2
- package/lib/types/functions/statistical/countifs/index.d.ts +17 -2
- package/lib/types/functions/statistical/covariance-p/index.d.ts +16 -1
- package/lib/types/functions/statistical/covariance-s/index.d.ts +16 -1
- package/lib/types/functions/statistical/devsq/index.d.ts +16 -1
- package/lib/types/functions/statistical/expon-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/f-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/f-dist-rt/index.d.ts +16 -1
- package/lib/types/functions/statistical/f-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/f-inv-rt/index.d.ts +16 -1
- package/lib/types/functions/statistical/f-test/index.d.ts +16 -1
- package/lib/types/functions/statistical/fisher/index.d.ts +16 -1
- package/lib/types/functions/statistical/fisherinv/index.d.ts +16 -1
- package/lib/types/functions/statistical/forecast/index.d.ts +16 -1
- package/lib/types/functions/statistical/frequency/index.d.ts +16 -1
- package/lib/types/functions/statistical/function-map.d.ts +15 -0
- package/lib/types/functions/statistical/gamma/index.d.ts +16 -1
- package/lib/types/functions/statistical/gamma-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/gamma-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/gammaln/index.d.ts +16 -1
- package/lib/types/functions/statistical/gauss/index.d.ts +16 -1
- package/lib/types/functions/statistical/geomean/index.d.ts +16 -1
- package/lib/types/functions/statistical/growth/index.d.ts +16 -1
- package/lib/types/functions/statistical/harmean/index.d.ts +16 -1
- package/lib/types/functions/statistical/hypgeom-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/intercept/index.d.ts +16 -1
- package/lib/types/functions/statistical/kurt/index.d.ts +16 -1
- package/lib/types/functions/statistical/large/index.d.ts +16 -1
- package/lib/types/functions/statistical/linest/index.d.ts +16 -1
- package/lib/types/functions/statistical/logest/index.d.ts +16 -1
- package/lib/types/functions/statistical/lognorm-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/lognorm-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/marginoferror/index.d.ts +16 -1
- package/lib/types/functions/statistical/max/index.d.ts +16 -1
- package/lib/types/functions/statistical/maxa/index.d.ts +16 -1
- package/lib/types/functions/statistical/maxifs/index.d.ts +17 -2
- package/lib/types/functions/statistical/median/index.d.ts +16 -1
- package/lib/types/functions/statistical/min/index.d.ts +16 -1
- package/lib/types/functions/statistical/mina/index.d.ts +16 -1
- package/lib/types/functions/statistical/minifs/index.d.ts +17 -2
- package/lib/types/functions/statistical/mode-mult/index.d.ts +16 -1
- package/lib/types/functions/statistical/mode-sngl/index.d.ts +16 -1
- package/lib/types/functions/statistical/negbinom-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/norm-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/norm-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/norm-s-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/norm-s-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/pearson/index.d.ts +16 -1
- package/lib/types/functions/statistical/percentile-exc/index.d.ts +16 -1
- package/lib/types/functions/statistical/percentile-inc/index.d.ts +16 -1
- package/lib/types/functions/statistical/percentrank-exc/index.d.ts +16 -1
- package/lib/types/functions/statistical/percentrank-inc/index.d.ts +16 -1
- package/lib/types/functions/statistical/permut/index.d.ts +16 -1
- package/lib/types/functions/statistical/permutationa/index.d.ts +16 -1
- package/lib/types/functions/statistical/phi/index.d.ts +16 -1
- package/lib/types/functions/statistical/poisson-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/prob/index.d.ts +16 -1
- package/lib/types/functions/statistical/quartile-exc/index.d.ts +16 -1
- package/lib/types/functions/statistical/quartile-inc/index.d.ts +16 -1
- package/lib/types/functions/statistical/rank-avg/index.d.ts +17 -2
- package/lib/types/functions/statistical/rank-eq/index.d.ts +17 -2
- package/lib/types/functions/statistical/rsq/index.d.ts +16 -1
- package/lib/types/functions/statistical/skew/index.d.ts +16 -1
- package/lib/types/functions/statistical/skew-p/index.d.ts +16 -1
- package/lib/types/functions/statistical/slope/index.d.ts +16 -1
- package/lib/types/functions/statistical/small/index.d.ts +16 -1
- package/lib/types/functions/statistical/standardize/index.d.ts +16 -1
- package/lib/types/functions/statistical/stdev-p/index.d.ts +17 -2
- package/lib/types/functions/statistical/stdev-s/index.d.ts +17 -2
- package/lib/types/functions/statistical/stdeva/index.d.ts +17 -2
- package/lib/types/functions/statistical/stdevpa/index.d.ts +17 -2
- package/lib/types/functions/statistical/steyx/index.d.ts +16 -1
- package/lib/types/functions/statistical/t-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/t-dist-2t/index.d.ts +16 -1
- package/lib/types/functions/statistical/t-dist-rt/index.d.ts +16 -1
- package/lib/types/functions/statistical/t-inv/index.d.ts +16 -1
- package/lib/types/functions/statistical/t-inv-2t/index.d.ts +16 -1
- package/lib/types/functions/statistical/t-test/index.d.ts +16 -1
- package/lib/types/functions/statistical/trend/index.d.ts +16 -1
- package/lib/types/functions/statistical/trimmean/index.d.ts +16 -1
- package/lib/types/functions/statistical/var-p/index.d.ts +17 -2
- package/lib/types/functions/statistical/var-s/index.d.ts +17 -2
- package/lib/types/functions/statistical/vara/index.d.ts +17 -2
- package/lib/types/functions/statistical/varpa/index.d.ts +17 -2
- package/lib/types/functions/statistical/weibull-dist/index.d.ts +16 -1
- package/lib/types/functions/statistical/z-test/index.d.ts +16 -1
- package/lib/types/functions/text/arraytotext/index.d.ts +16 -1
- package/lib/types/functions/text/asc/index.d.ts +16 -1
- package/lib/types/functions/text/bahttext/index.d.ts +16 -1
- package/lib/types/functions/text/char/index.d.ts +16 -1
- package/lib/types/functions/text/clean/index.d.ts +16 -1
- package/lib/types/functions/text/code/index.d.ts +16 -1
- package/lib/types/functions/text/concat/index.d.ts +16 -1
- package/lib/types/functions/text/concatenate/index.d.ts +16 -1
- package/lib/types/functions/text/dbcs/index.d.ts +16 -1
- package/lib/types/functions/text/dollar/index.d.ts +16 -1
- package/lib/types/functions/text/exact/index.d.ts +16 -1
- package/lib/types/functions/text/find/index.d.ts +16 -1
- package/lib/types/functions/text/findb/index.d.ts +16 -1
- package/lib/types/functions/text/fixed/index.d.ts +16 -1
- package/lib/types/functions/text/function-map.d.ts +15 -0
- package/lib/types/functions/text/left/index.d.ts +16 -1
- package/lib/types/functions/text/leftb/index.d.ts +16 -1
- package/lib/types/functions/text/len/index.d.ts +16 -1
- package/lib/types/functions/text/lenb/index.d.ts +16 -1
- package/lib/types/functions/text/lower/index.d.ts +16 -1
- package/lib/types/functions/text/mid/index.d.ts +16 -1
- package/lib/types/functions/text/midb/index.d.ts +16 -1
- package/lib/types/functions/text/numberstring/index.d.ts +16 -1
- package/lib/types/functions/text/numbervalue/index.d.ts +16 -1
- package/lib/types/functions/text/proper/index.d.ts +16 -1
- package/lib/types/functions/text/regexextract/index.d.ts +16 -1
- package/lib/types/functions/text/regexmatch/index.d.ts +16 -1
- package/lib/types/functions/text/regexreplace/index.d.ts +16 -1
- package/lib/types/functions/text/replace/index.d.ts +16 -1
- package/lib/types/functions/text/replaceb/index.d.ts +16 -1
- package/lib/types/functions/text/rept/index.d.ts +16 -1
- package/lib/types/functions/text/right/index.d.ts +16 -1
- package/lib/types/functions/text/rightb/index.d.ts +16 -1
- package/lib/types/functions/text/search/index.d.ts +16 -1
- package/lib/types/functions/text/searchb/index.d.ts +16 -1
- package/lib/types/functions/text/substitute/index.d.ts +16 -1
- package/lib/types/functions/text/t/index.d.ts +17 -2
- package/lib/types/functions/text/text/index.d.ts +16 -1
- package/lib/types/functions/text/textafter/index.d.ts +17 -2
- package/lib/types/functions/text/textbefore/index.d.ts +17 -2
- package/lib/types/functions/text/textjoin/index.d.ts +16 -1
- package/lib/types/functions/text/textsplit/index.d.ts +16 -1
- package/lib/types/functions/text/trim/index.d.ts +16 -1
- package/lib/types/functions/text/unichar/index.d.ts +16 -1
- package/lib/types/functions/text/unicode/index.d.ts +16 -1
- package/lib/types/functions/text/upper/index.d.ts +16 -1
- package/lib/types/functions/text/value/index.d.ts +16 -1
- package/lib/types/functions/text/valuetotext/index.d.ts +16 -1
- package/lib/types/functions/util.d.ts +17 -1
- package/lib/types/functions/web/encodeurl/index.d.ts +16 -1
- package/lib/types/functions/web/function-map.d.ts +15 -0
- package/lib/types/models/formula-data.model.d.ts +18 -2
- package/lib/types/models/utils/formula-data-util.d.ts +17 -2
- package/lib/types/plugin.d.ts +16 -1
- package/lib/types/services/active-dirty-manager.service.d.ts +19 -3
- package/lib/types/services/calculate-formula.service.d.ts +25 -7
- package/lib/types/services/current-data.service.d.ts +19 -3
- package/lib/types/services/defined-names.service.d.ts +19 -3
- package/lib/types/services/dependency-manager.service.d.ts +20 -4
- package/lib/types/services/feature-calculation-manager.service.d.ts +23 -7
- package/lib/types/services/formula-common.d.ts +16 -1
- package/lib/types/services/function.service.d.ts +20 -4
- package/lib/types/services/global-computing-status.service.d.ts +18 -2
- package/lib/types/services/hyperlink-engine-formula.service.d.ts +18 -2
- package/lib/types/services/other-formula-manager.service.d.ts +19 -3
- package/lib/types/services/register-other-formula.service.d.ts +20 -4
- package/lib/types/services/runtime.service.d.ts +22 -6
- package/lib/types/services/sheet-row-filtered.service.d.ts +16 -1
- package/lib/types/services/super-table.service.d.ts +21 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +9 -1
- package/package.json +8 -7
- package/lib/types/functions/logical/bycol/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/logical/byrow/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/logical/makearray/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/logical/map/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/logical/reduce/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/logical/scan/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/lookup/index/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/lookup/indirect/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/arraytotext/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/asc/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/bahttext/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/char/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/clean/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/code/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/dbcs/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/dollar/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/exact/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/find/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/findb/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/fixed/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/left/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/leftb/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/len/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/lenb/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/lower/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/mid/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/midb/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/numberstring/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/numbervalue/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/proper/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/regexextract/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/regexmatch/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/regexreplace/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/replace/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/replaceb/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/rept/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/right/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/rightb/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/search/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/searchb/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/substitute/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/t/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/text/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/textafter/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/textbefore/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/textjoin/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/textsplit/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/trim/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/unichar/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/unicode/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/upper/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/value/__test__/index.spec.d.ts +0 -16
- package/lib/types/functions/text/valuetotext/__test__/index.spec.d.ts +0 -16
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { GlobalComputingStatusService } from '../services/global-computing-status.service';
|
|
3
18
|
/**
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IConfigService } from '@univerjs/core';
|
|
2
17
|
import { DataSyncPrimaryController } from '@univerjs/rpc';
|
|
3
18
|
import { IFunctionService } from '../services/function.service';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { IDependencyManagerService } from '../services/dependency-manager.service';
|
|
3
18
|
import { IFeatureCalculationManagerService } from '../services/feature-calculation-manager.service';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { IFeatureCalculationManagerService } from '../services/feature-calculation-manager.service';
|
|
3
18
|
export declare class SetFeatureCalculationController extends Disposable {
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { IDependencyManagerService } from '../services/dependency-manager.service';
|
|
3
18
|
import { IOtherFormulaManagerService } from '../services/other-formula-manager.service';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { ISuperTableService } from '../services/super-table.service';
|
|
3
18
|
export declare class SetSuperTableController extends Disposable {
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { Nullable } from '@univerjs/core';
|
|
17
|
+
import type { LambdaPrivacyVarType } from '../ast-node/base-ast-node';
|
|
3
18
|
interface LexerNodeJson {
|
|
4
19
|
token: string;
|
|
5
20
|
children: Array<LexerNodeJson | string>;
|
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { Nullable } from '@univerjs/core';
|
|
17
|
+
import type { IDirtyUnitSheetDefinedNameMap, IExprTreeNode, ISuperTable } from '../../basics/common';
|
|
18
|
+
import type { IFunctionNames } from '../../basics/function';
|
|
19
|
+
import type { IDefinedNamesServiceParam } from '../../services/defined-names.service';
|
|
20
|
+
import type { ISequenceArray, ISequenceNode } from '../utils/sequence';
|
|
21
|
+
import { AbsoluteRefType, Disposable } from '@univerjs/core';
|
|
6
22
|
import { FormulaAstLRU } from '../../basics/cache-lru';
|
|
7
23
|
import { ErrorType } from '../../basics/error-type';
|
|
8
24
|
import { LexerNode } from './lexer-node';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable } from '@univerjs/core';
|
|
2
17
|
import { IFormulaCurrentConfigService } from '../../services/current-data.service';
|
|
3
18
|
import { IDefinedNamesService } from '../../services/defined-names.service';
|
|
@@ -7,6 +22,6 @@ export declare class Lexer extends Disposable {
|
|
|
7
22
|
private readonly _lexerTreeBuilder;
|
|
8
23
|
private readonly _formulaCurrentConfigService;
|
|
9
24
|
constructor(_definedNamesService: IDefinedNamesService, _lexerTreeBuilder: LexerTreeBuilder, _formulaCurrentConfigService: IFormulaCurrentConfigService);
|
|
10
|
-
treeBuilder(formulaString: string, transformSuffix?: boolean): import("../..").ErrorType.VALUE | import(
|
|
25
|
+
treeBuilder(formulaString: string, transformSuffix?: boolean): import("../..").ErrorType.VALUE | import("./lexer-node").LexerNode | (string | import("./lexer-node").LexerNode)[] | undefined;
|
|
11
26
|
private _isDeepDefinedNameMapEmpty;
|
|
12
27
|
}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { Nullable } from '@univerjs/core';
|
|
17
|
+
import type { BaseAstNode } from '../ast-node/base-ast-node';
|
|
18
|
+
import { Disposable } from '@univerjs/core';
|
|
3
19
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
4
20
|
import { AstRootNodeFactory } from '../ast-node/ast-root-node';
|
|
5
21
|
import { FunctionNodeFactory } from '../ast-node/function-node';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { LexerNode } from '../analysis/lexer-node';
|
|
2
17
|
import { BaseAstNode } from './base-ast-node';
|
|
3
18
|
import { BaseAstNodeFactory } from './base-ast-node-factory';
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { Nullable } from '@univerjs/core';
|
|
2
17
|
import { LexerNode } from '../analysis/lexer-node';
|
|
3
18
|
import { BaseAstNode } from './base-ast-node';
|
|
4
19
|
export declare const DEFAULT_AST_NODE_FACTORY_Z_INDEX = 100;
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { Nullable } from '@univerjs/core';
|
|
17
|
+
import type { ErrorType } from '../../basics/error-type';
|
|
18
|
+
import type { FunctionVariantType } from '../reference-object/base-reference-object';
|
|
4
19
|
import { AstNodePromiseType } from '../../basics/common';
|
|
5
20
|
import { ErrorValueObject } from '../value-object/base-value-object';
|
|
6
21
|
import { NodeType } from './node-type';
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { BaseFunction } from '../../functions/base-function';
|
|
17
|
+
import type { LexerNode } from '../analysis/lexer-node';
|
|
3
18
|
import { Injector } from '@univerjs/core';
|
|
4
19
|
import { AstNodePromiseType } from '../../basics/common';
|
|
5
20
|
import { FormulaDataModel } from '../../models/formula-data.model';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
2
17
|
import { LexerNode } from '../analysis/lexer-node';
|
|
3
18
|
import { Interpreter } from '../interpreter/interpreter';
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { LambdaPrivacyVarType } from './base-ast-node';
|
|
2
17
|
import { LexerNode } from '../analysis/lexer-node';
|
|
18
|
+
import { BaseAstNode } from './base-ast-node';
|
|
3
19
|
import { BaseAstNodeFactory } from './base-ast-node-factory';
|
|
4
20
|
import { NodeType } from './node-type';
|
|
5
21
|
export declare class LambdaParameterNode extends BaseAstNode {
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { BaseAstNode } from './base-ast-node';
|
|
2
17
|
import { NodeType } from './node-type';
|
|
3
18
|
export declare class NullNode extends BaseAstNode {
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { BaseFunction } from '../../functions/base-function';
|
|
2
17
|
import { IFunctionService } from '../../services/function.service';
|
|
3
18
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
4
19
|
import { LexerNode } from '../analysis/lexer-node';
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { Nullable } from '@univerjs/core';
|
|
17
|
+
import type { BaseFunction } from '../../functions/base-function';
|
|
3
18
|
import { IFunctionService } from '../../services/function.service';
|
|
4
19
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
5
20
|
import { LexerNode } from '../analysis/lexer-node';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { IFormulaCurrentConfigService } from '../../services/current-data.service';
|
|
2
17
|
import { IFunctionService } from '../../services/function.service';
|
|
3
18
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { BaseFunction } from '../../functions/base-function';
|
|
2
17
|
import { IFormulaCurrentConfigService } from '../../services/current-data.service';
|
|
3
18
|
import { IFunctionService } from '../../services/function.service';
|
|
4
19
|
import { Lexer } from '../analysis/lexer';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { IFunctionService } from '../../services/function.service';
|
|
2
17
|
import { LexerNode } from '../analysis/lexer-node';
|
|
3
18
|
import { BaseAstNode } from './base-ast-node';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { LexerNode } from '../analysis/lexer-node';
|
|
2
17
|
import { BaseAstNode } from './base-ast-node';
|
|
3
18
|
import { BaseAstNodeFactory } from './base-ast-node-factory';
|
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IRange, IUnitRange, Nullable } from '@univerjs/core';
|
|
17
|
+
import type { IDirtyUnitSheetNameMap, IFeatureDirtyRangeType, IRuntimeUnitDataType, IUnitExcludedCell } from '../../basics/common';
|
|
18
|
+
import type { IFormulaDirtyData } from '../../services/current-data.service';
|
|
19
|
+
import type { IAllRuntimeData } from '../../services/runtime.service';
|
|
20
|
+
import type { AstRootNode, FunctionNode } from '../ast-node';
|
|
6
21
|
export declare enum FDtreeStateType {
|
|
7
22
|
DEFAULT = 0,
|
|
8
23
|
ADDED = 1,
|
|
@@ -1,18 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IRange, IUnitRange, Nullable } from '@univerjs/core';
|
|
17
|
+
import type { IFeatureDirtyRangeType, IFormulaData, IFormulaDataItem, IOtherFormulaData, IUnitData } from '../../basics/common';
|
|
18
|
+
import type { IFeatureCalculationManagerParam } from '../../services/feature-calculation-manager.service';
|
|
19
|
+
import type { FunctionNode } from '../ast-node';
|
|
20
|
+
import type { BaseAstNode } from '../ast-node/base-ast-node';
|
|
21
|
+
import type { IExecuteAstNodeData } from '../utils/ast-node-tool';
|
|
22
|
+
import type { IFormulaDependencyTree, IFormulaDependencyTreeFullJson, IFormulaDependencyTreeJson, IFormulaDependentsAndInRangeResults } from './dependency-tree';
|
|
23
|
+
import { Disposable, IUniverInstanceService, RTree } from '@univerjs/core';
|
|
8
24
|
import { IFormulaCurrentConfigService } from '../../services/current-data.service';
|
|
9
25
|
import { IDependencyManagerService } from '../../services/dependency-manager.service';
|
|
26
|
+
import { IFeatureCalculationManagerService } from '../../services/feature-calculation-manager.service';
|
|
10
27
|
import { IOtherFormulaManagerService } from '../../services/other-formula-manager.service';
|
|
11
28
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
12
29
|
import { Lexer } from '../analysis/lexer';
|
|
13
30
|
import { LexerTreeBuilder } from '../analysis/lexer-tree-builder';
|
|
14
31
|
import { AstTreeBuilder } from '../analysis/parser';
|
|
15
32
|
import { Interpreter } from '../interpreter/interpreter';
|
|
33
|
+
import { FormulaDependencyTree, FormulaDependencyTreeModel, FormulaDependencyTreeVirtual } from './dependency-tree';
|
|
16
34
|
export declare function generateRandomDependencyTreeId(dependencyManagerService: IDependencyManagerService): number;
|
|
17
35
|
export interface IFormulaDependencyGenerator {
|
|
18
36
|
generate(isCalculateTreeModel?: boolean): Promise<IFormulaDependencyTree[]>;
|
|
@@ -22,7 +40,7 @@ export interface IFormulaDependencyGenerator {
|
|
|
22
40
|
getInRangeFormulas(unitRanges: IUnitRange[]): Promise<IFormulaDependencyTreeJson[]>;
|
|
23
41
|
getRangeDependentsAndInRangeFormulas(unitRanges: IUnitRange[]): Promise<IFormulaDependentsAndInRangeResults>;
|
|
24
42
|
}
|
|
25
|
-
export declare const IFormulaDependencyGenerator: import(
|
|
43
|
+
export declare const IFormulaDependencyGenerator: import("@wendellhu/redi").IdentifierDecorator<IFormulaDependencyGenerator>;
|
|
26
44
|
export declare class FormulaDependencyGenerator extends Disposable implements IFormulaDependencyGenerator {
|
|
27
45
|
protected readonly _currentConfigService: IFormulaCurrentConfigService;
|
|
28
46
|
protected readonly _runtimeService: IFormulaRuntimeService;
|
|
@@ -84,7 +102,7 @@ export declare class FormulaDependencyGenerator extends Disposable implements IF
|
|
|
84
102
|
*/
|
|
85
103
|
protected _getRangeListByNode(nodeData: IExecuteAstNodeData): Promise<IUnitRange[]>;
|
|
86
104
|
protected _getAddressFunctionNodeList(node: Nullable<BaseAstNode>): FunctionNode[];
|
|
87
|
-
protected _getTreeNode(tree: IFormulaDependencyTree): import(
|
|
105
|
+
protected _getTreeNode(tree: IFormulaDependencyTree): import("../ast-node").AstRootNode;
|
|
88
106
|
protected _buildDirtyRangesByAddressFunction(treeDependencyCache: RTree, tree: IFormulaDependencyTree): Promise<void>;
|
|
89
107
|
private _executedAddressFunctionNodeIds;
|
|
90
108
|
protected _calculateListByFunctionRefNode(treeList: IFormulaDependencyTree[]): Promise<void>;
|
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { Nullable } from '@univerjs/core';
|
|
17
|
+
import type { BaseAstNode } from '../ast-node/base-ast-node';
|
|
18
|
+
import type { FunctionVariantType } from '../reference-object/base-reference-object';
|
|
19
|
+
import type { IExecuteAstNodeData } from '../utils/ast-node-tool';
|
|
20
|
+
import type { PreCalculateNodeType } from '../utils/node-type';
|
|
21
|
+
import { Disposable } from '@univerjs/core';
|
|
6
22
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
7
23
|
export declare class Interpreter extends Disposable {
|
|
8
24
|
private readonly _runtimeService;
|