@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.
Files changed (661) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/es/facade.js +1 -656
  4. package/lib/es/index.js +1 -33445
  5. package/lib/facade.js +1 -656
  6. package/lib/index.js +1 -33445
  7. package/lib/types/basics/cache-lru.d.ts +15 -0
  8. package/lib/types/basics/calculate.d.ts +15 -0
  9. package/lib/types/basics/common.d.ts +18 -3
  10. package/lib/types/basics/database.d.ts +17 -1
  11. package/lib/types/basics/date.d.ts +17 -1
  12. package/lib/types/basics/dirty.d.ts +16 -1
  13. package/lib/types/basics/financial.d.ts +15 -0
  14. package/lib/types/basics/format.d.ts +16 -1
  15. package/lib/types/basics/function.d.ts +32 -17
  16. package/lib/types/basics/inverted-index-cache.d.ts +16 -1
  17. package/lib/types/basics/is-null-cell.d.ts +16 -1
  18. package/lib/types/basics/match-token.d.ts +15 -0
  19. package/lib/types/basics/runtime.d.ts +16 -1
  20. package/lib/types/basics/statistical.d.ts +20 -4
  21. package/lib/types/commands/mutations/formula.mutation.d.ts +16 -1
  22. package/lib/types/commands/mutations/register-function.mutation.d.ts +16 -1
  23. package/lib/types/commands/mutations/set-array-formula-data.mutation.d.ts +17 -2
  24. package/lib/types/commands/mutations/set-defined-name.mutation.d.ts +16 -1
  25. package/lib/types/commands/mutations/set-feature-calculation.mutation.d.ts +17 -2
  26. package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +20 -5
  27. package/lib/types/commands/mutations/set-formula-data.mutation.d.ts +17 -2
  28. package/lib/types/commands/mutations/set-image-formula-data.mutation.d.ts +17 -2
  29. package/lib/types/commands/mutations/set-other-formula.mutation.d.ts +17 -2
  30. package/lib/types/commands/mutations/set-super-table.mutation.d.ts +18 -3
  31. package/lib/types/config/config.d.ts +18 -3
  32. package/lib/types/controllers/calculate.controller.d.ts +15 -0
  33. package/lib/types/controllers/computing-status.controller.d.ts +15 -0
  34. package/lib/types/controllers/formula.controller.d.ts +15 -0
  35. package/lib/types/controllers/set-dependency.controller.d.ts +15 -0
  36. package/lib/types/controllers/set-feature-calculation.controller.d.ts +15 -0
  37. package/lib/types/controllers/set-other-formula.controller.d.ts +15 -0
  38. package/lib/types/controllers/set-super-table.controller.d.ts +15 -0
  39. package/lib/types/engine/analysis/lexer-node.d.ts +17 -2
  40. package/lib/types/engine/analysis/lexer-tree-builder.d.ts +21 -5
  41. package/lib/types/engine/analysis/lexer.d.ts +16 -1
  42. package/lib/types/engine/analysis/parser.d.ts +18 -2
  43. package/lib/types/engine/ast-node/ast-root-node.d.ts +15 -0
  44. package/lib/types/engine/ast-node/base-ast-node-factory.d.ts +16 -1
  45. package/lib/types/engine/ast-node/base-ast-node.d.ts +18 -3
  46. package/lib/types/engine/ast-node/function-node.d.ts +17 -2
  47. package/lib/types/engine/ast-node/lambda-node.d.ts +15 -0
  48. package/lib/types/engine/ast-node/lambda-parameter-node.d.ts +17 -1
  49. package/lib/types/engine/ast-node/null-node.d.ts +15 -0
  50. package/lib/types/engine/ast-node/operator-node.d.ts +16 -1
  51. package/lib/types/engine/ast-node/prefix-node.d.ts +17 -2
  52. package/lib/types/engine/ast-node/reference-node.d.ts +15 -0
  53. package/lib/types/engine/ast-node/suffix-node.d.ts +16 -1
  54. package/lib/types/engine/ast-node/union-node.d.ts +15 -0
  55. package/lib/types/engine/ast-node/value-node.d.ts +15 -0
  56. package/lib/types/engine/dependency/dependency-tree.d.ts +20 -5
  57. package/lib/types/engine/dependency/formula-dependency.d.ts +27 -9
  58. package/lib/types/engine/interpreter/interpreter.d.ts +21 -5
  59. package/lib/types/engine/reference-object/base-reference-object.d.ts +25 -9
  60. package/lib/types/engine/reference-object/cell-reference-object.d.ts +16 -1
  61. package/lib/types/engine/reference-object/column-reference-object.d.ts +15 -0
  62. package/lib/types/engine/reference-object/multi-area-reference-object.d.ts +21 -6
  63. package/lib/types/engine/reference-object/range-reference-object.d.ts +16 -1
  64. package/lib/types/engine/reference-object/row-reference-object.d.ts +15 -0
  65. package/lib/types/engine/reference-object/table-reference-object.d.ts +18 -2
  66. package/lib/types/engine/utils/array-object.d.ts +16 -1
  67. package/lib/types/engine/utils/ast-node-tool.d.ts +17 -2
  68. package/lib/types/engine/utils/cell.d.ts +18 -3
  69. package/lib/types/engine/utils/check-variant-error.d.ts +16 -1
  70. package/lib/types/engine/utils/compare.d.ts +15 -0
  71. package/lib/types/engine/utils/function-definition.d.ts +15 -0
  72. package/lib/types/engine/utils/generate-ast-node.d.ts +21 -6
  73. package/lib/types/engine/utils/get-runtime-feature-cell.d.ts +17 -2
  74. package/lib/types/engine/utils/node-type.d.ts +19 -4
  75. package/lib/types/engine/utils/numfmt-kit.d.ts +17 -1
  76. package/lib/types/engine/utils/object-compare.d.ts +17 -2
  77. package/lib/types/engine/utils/prefix-handler.d.ts +18 -3
  78. package/lib/types/engine/utils/r1c1-reference.d.ts +16 -1
  79. package/lib/types/engine/utils/reference-cache.d.ts +16 -1
  80. package/lib/types/engine/utils/reference.d.ts +17 -1
  81. package/lib/types/engine/utils/sequence.d.ts +16 -1
  82. package/lib/types/engine/utils/update-lambda-statement.d.ts +16 -1
  83. package/lib/types/engine/utils/value-object.d.ts +19 -3
  84. package/lib/types/engine/value-object/array-value-object.d.ts +18 -2
  85. package/lib/types/engine/value-object/base-value-object.d.ts +16 -1
  86. package/lib/types/engine/value-object/cube-value-object.d.ts +16 -1
  87. package/lib/types/engine/value-object/lambda-value-object.d.ts +21 -5
  88. package/lib/types/engine/value-object/primitive-object.d.ts +15 -0
  89. package/lib/types/facade/f-formula.d.ts +19 -2
  90. package/lib/types/facade/f-univer.d.ts +15 -0
  91. package/lib/types/functions/array/array-constrain/index.d.ts +16 -1
  92. package/lib/types/functions/array/flatten/index.d.ts +16 -1
  93. package/lib/types/functions/array/function-map.d.ts +15 -0
  94. package/lib/types/functions/base-function.d.ts +27 -10
  95. package/lib/types/functions/column-like-functions.d.ts +16 -1
  96. package/lib/types/functions/compatibility/betadist/index.d.ts +16 -1
  97. package/lib/types/functions/compatibility/function-map.d.ts +15 -0
  98. package/lib/types/functions/compatibility/hypgeomdist/index.d.ts +16 -1
  99. package/lib/types/functions/compatibility/lognormdist/index.d.ts +16 -1
  100. package/lib/types/functions/compatibility/negbinomdist/index.d.ts +16 -1
  101. package/lib/types/functions/compatibility/normsdist/index.d.ts +16 -1
  102. package/lib/types/functions/compatibility/rank/index.d.ts +17 -2
  103. package/lib/types/functions/compatibility/tdist/index.d.ts +16 -1
  104. package/lib/types/functions/custom-function.d.ts +15 -0
  105. package/lib/types/functions/database/daverage/index.d.ts +17 -1
  106. package/lib/types/functions/database/dcount/index.d.ts +16 -1
  107. package/lib/types/functions/database/dcounta/index.d.ts +16 -1
  108. package/lib/types/functions/database/dget/index.d.ts +16 -1
  109. package/lib/types/functions/database/dmax/index.d.ts +16 -1
  110. package/lib/types/functions/database/dmin/index.d.ts +16 -1
  111. package/lib/types/functions/database/dproduct/index.d.ts +16 -1
  112. package/lib/types/functions/database/dstdev/index.d.ts +17 -1
  113. package/lib/types/functions/database/dstdevp/index.d.ts +17 -1
  114. package/lib/types/functions/database/dsum/index.d.ts +16 -1
  115. package/lib/types/functions/database/dvar/index.d.ts +17 -1
  116. package/lib/types/functions/database/dvarp/index.d.ts +17 -1
  117. package/lib/types/functions/database/function-map.d.ts +15 -0
  118. package/lib/types/functions/date/date/index.d.ts +16 -1
  119. package/lib/types/functions/date/datedif/index.d.ts +16 -1
  120. package/lib/types/functions/date/datevalue/index.d.ts +16 -1
  121. package/lib/types/functions/date/day/index.d.ts +16 -1
  122. package/lib/types/functions/date/days/index.d.ts +16 -1
  123. package/lib/types/functions/date/days360/index.d.ts +16 -1
  124. package/lib/types/functions/date/edate/index.d.ts +16 -1
  125. package/lib/types/functions/date/eomonth/index.d.ts +16 -1
  126. package/lib/types/functions/date/epochtodate/index.d.ts +17 -2
  127. package/lib/types/functions/date/function-map.d.ts +15 -0
  128. package/lib/types/functions/date/hour/index.d.ts +16 -1
  129. package/lib/types/functions/date/isoweeknum/index.d.ts +16 -1
  130. package/lib/types/functions/date/minute/index.d.ts +16 -1
  131. package/lib/types/functions/date/month/index.d.ts +16 -1
  132. package/lib/types/functions/date/networkdays/index.d.ts +16 -1
  133. package/lib/types/functions/date/networkdays-intl/index.d.ts +16 -1
  134. package/lib/types/functions/date/now/index.d.ts +15 -0
  135. package/lib/types/functions/date/second/index.d.ts +16 -1
  136. package/lib/types/functions/date/time/index.d.ts +16 -1
  137. package/lib/types/functions/date/timevalue/index.d.ts +16 -1
  138. package/lib/types/functions/date/to-date/index.d.ts +17 -2
  139. package/lib/types/functions/date/today/index.d.ts +15 -0
  140. package/lib/types/functions/date/weekday/index.d.ts +16 -1
  141. package/lib/types/functions/date/weeknum/index.d.ts +16 -1
  142. package/lib/types/functions/date/workday/index.d.ts +16 -1
  143. package/lib/types/functions/date/workday-intl/index.d.ts +16 -1
  144. package/lib/types/functions/date/year/index.d.ts +16 -1
  145. package/lib/types/functions/date/yearfrac/index.d.ts +16 -1
  146. package/lib/types/functions/engineering/besseli/index.d.ts +16 -1
  147. package/lib/types/functions/engineering/besselj/index.d.ts +16 -1
  148. package/lib/types/functions/engineering/besselk/index.d.ts +16 -1
  149. package/lib/types/functions/engineering/bessely/index.d.ts +16 -1
  150. package/lib/types/functions/engineering/bin2dec/index.d.ts +16 -1
  151. package/lib/types/functions/engineering/bin2hex/index.d.ts +16 -1
  152. package/lib/types/functions/engineering/bin2oct/index.d.ts +16 -1
  153. package/lib/types/functions/engineering/bitand/index.d.ts +16 -1
  154. package/lib/types/functions/engineering/bitlshift/index.d.ts +16 -1
  155. package/lib/types/functions/engineering/bitor/index.d.ts +16 -1
  156. package/lib/types/functions/engineering/bitrshift/index.d.ts +16 -1
  157. package/lib/types/functions/engineering/bitxor/index.d.ts +16 -1
  158. package/lib/types/functions/engineering/complex/index.d.ts +16 -1
  159. package/lib/types/functions/engineering/convert/index.d.ts +16 -1
  160. package/lib/types/functions/engineering/dec2bin/index.d.ts +16 -1
  161. package/lib/types/functions/engineering/dec2hex/index.d.ts +16 -1
  162. package/lib/types/functions/engineering/dec2oct/index.d.ts +16 -1
  163. package/lib/types/functions/engineering/delta/index.d.ts +16 -1
  164. package/lib/types/functions/engineering/erf/index.d.ts +16 -1
  165. package/lib/types/functions/engineering/erf-precise/index.d.ts +16 -1
  166. package/lib/types/functions/engineering/erfc/index.d.ts +16 -1
  167. package/lib/types/functions/engineering/erfc-precise/index.d.ts +16 -1
  168. package/lib/types/functions/engineering/function-map.d.ts +15 -0
  169. package/lib/types/functions/engineering/gestep/index.d.ts +16 -1
  170. package/lib/types/functions/engineering/hex2bin/index.d.ts +16 -1
  171. package/lib/types/functions/engineering/hex2dec/index.d.ts +16 -1
  172. package/lib/types/functions/engineering/hex2oct/index.d.ts +16 -1
  173. package/lib/types/functions/engineering/imabs/index.d.ts +16 -1
  174. package/lib/types/functions/engineering/imaginary/index.d.ts +16 -1
  175. package/lib/types/functions/engineering/imargument/index.d.ts +16 -1
  176. package/lib/types/functions/engineering/imconjugate/index.d.ts +16 -1
  177. package/lib/types/functions/engineering/imcos/index.d.ts +16 -1
  178. package/lib/types/functions/engineering/imcosh/index.d.ts +16 -1
  179. package/lib/types/functions/engineering/imcot/index.d.ts +16 -1
  180. package/lib/types/functions/engineering/imcoth/index.d.ts +16 -1
  181. package/lib/types/functions/engineering/imcsc/index.d.ts +16 -1
  182. package/lib/types/functions/engineering/imcsch/index.d.ts +16 -1
  183. package/lib/types/functions/engineering/imdiv/index.d.ts +16 -1
  184. package/lib/types/functions/engineering/imexp/index.d.ts +16 -1
  185. package/lib/types/functions/engineering/imln/index.d.ts +16 -1
  186. package/lib/types/functions/engineering/imlog/index.d.ts +16 -1
  187. package/lib/types/functions/engineering/imlog10/index.d.ts +16 -1
  188. package/lib/types/functions/engineering/imlog2/index.d.ts +16 -1
  189. package/lib/types/functions/engineering/impower/index.d.ts +16 -1
  190. package/lib/types/functions/engineering/improduct/index.d.ts +16 -1
  191. package/lib/types/functions/engineering/imreal/index.d.ts +16 -1
  192. package/lib/types/functions/engineering/imsec/index.d.ts +16 -1
  193. package/lib/types/functions/engineering/imsech/index.d.ts +16 -1
  194. package/lib/types/functions/engineering/imsin/index.d.ts +16 -1
  195. package/lib/types/functions/engineering/imsinh/index.d.ts +16 -1
  196. package/lib/types/functions/engineering/imsqrt/index.d.ts +16 -1
  197. package/lib/types/functions/engineering/imsub/index.d.ts +16 -1
  198. package/lib/types/functions/engineering/imsum/index.d.ts +16 -1
  199. package/lib/types/functions/engineering/imtan/index.d.ts +16 -1
  200. package/lib/types/functions/engineering/imtanh/index.d.ts +16 -1
  201. package/lib/types/functions/engineering/oct2bin/index.d.ts +16 -1
  202. package/lib/types/functions/engineering/oct2dec/index.d.ts +16 -1
  203. package/lib/types/functions/engineering/oct2hex/index.d.ts +16 -1
  204. package/lib/types/functions/financial/accrint/index.d.ts +16 -1
  205. package/lib/types/functions/financial/accrintm/index.d.ts +16 -1
  206. package/lib/types/functions/financial/amorlinc/index.d.ts +16 -1
  207. package/lib/types/functions/financial/coupdaybs/index.d.ts +16 -1
  208. package/lib/types/functions/financial/coupdays/index.d.ts +16 -1
  209. package/lib/types/functions/financial/coupdaysnc/index.d.ts +16 -1
  210. package/lib/types/functions/financial/coupncd/index.d.ts +16 -1
  211. package/lib/types/functions/financial/coupnum/index.d.ts +16 -1
  212. package/lib/types/functions/financial/couppcd/index.d.ts +16 -1
  213. package/lib/types/functions/financial/cumipmt/index.d.ts +16 -1
  214. package/lib/types/functions/financial/cumprinc/index.d.ts +16 -1
  215. package/lib/types/functions/financial/db/index.d.ts +16 -1
  216. package/lib/types/functions/financial/ddb/index.d.ts +16 -1
  217. package/lib/types/functions/financial/disc/index.d.ts +16 -1
  218. package/lib/types/functions/financial/dollarde/index.d.ts +16 -1
  219. package/lib/types/functions/financial/dollarfr/index.d.ts +16 -1
  220. package/lib/types/functions/financial/duration/index.d.ts +16 -1
  221. package/lib/types/functions/financial/effect/index.d.ts +16 -1
  222. package/lib/types/functions/financial/function-map.d.ts +15 -0
  223. package/lib/types/functions/financial/fv/index.d.ts +16 -1
  224. package/lib/types/functions/financial/fvschedule/index.d.ts +16 -1
  225. package/lib/types/functions/financial/intrate/index.d.ts +16 -1
  226. package/lib/types/functions/financial/ipmt/index.d.ts +16 -1
  227. package/lib/types/functions/financial/irr/index.d.ts +16 -1
  228. package/lib/types/functions/financial/ispmt/index.d.ts +16 -1
  229. package/lib/types/functions/financial/mduration/index.d.ts +16 -1
  230. package/lib/types/functions/financial/mirr/index.d.ts +16 -1
  231. package/lib/types/functions/financial/nominal/index.d.ts +16 -1
  232. package/lib/types/functions/financial/nper/index.d.ts +16 -1
  233. package/lib/types/functions/financial/npv/index.d.ts +16 -1
  234. package/lib/types/functions/financial/oddfprice/index.d.ts +16 -1
  235. package/lib/types/functions/financial/oddfyield/index.d.ts +16 -1
  236. package/lib/types/functions/financial/oddlprice/index.d.ts +16 -1
  237. package/lib/types/functions/financial/oddlyield/index.d.ts +16 -1
  238. package/lib/types/functions/financial/pduration/index.d.ts +16 -1
  239. package/lib/types/functions/financial/pmt/index.d.ts +16 -1
  240. package/lib/types/functions/financial/ppmt/index.d.ts +16 -1
  241. package/lib/types/functions/financial/price/index.d.ts +16 -1
  242. package/lib/types/functions/financial/pricedisc/index.d.ts +16 -1
  243. package/lib/types/functions/financial/pricemat/index.d.ts +16 -1
  244. package/lib/types/functions/financial/pv/index.d.ts +16 -1
  245. package/lib/types/functions/financial/rate/index.d.ts +16 -1
  246. package/lib/types/functions/financial/received/index.d.ts +16 -1
  247. package/lib/types/functions/financial/rri/index.d.ts +16 -1
  248. package/lib/types/functions/financial/sln/index.d.ts +16 -1
  249. package/lib/types/functions/financial/syd/index.d.ts +16 -1
  250. package/lib/types/functions/financial/tbilleq/index.d.ts +16 -1
  251. package/lib/types/functions/financial/tbillprice/index.d.ts +16 -1
  252. package/lib/types/functions/financial/tbillyield/index.d.ts +16 -1
  253. package/lib/types/functions/financial/vdb/index.d.ts +16 -1
  254. package/lib/types/functions/financial/xirr/index.d.ts +16 -1
  255. package/lib/types/functions/financial/xnpv/index.d.ts +16 -1
  256. package/lib/types/functions/financial/yield/index.d.ts +16 -1
  257. package/lib/types/functions/financial/yielddisc/index.d.ts +16 -1
  258. package/lib/types/functions/financial/yieldmat/index.d.ts +16 -1
  259. package/lib/types/functions/information/cell/index.d.ts +16 -1
  260. package/lib/types/functions/information/error-type/index.d.ts +16 -1
  261. package/lib/types/functions/information/function-map.d.ts +15 -0
  262. package/lib/types/functions/information/isbetween/index.d.ts +16 -1
  263. package/lib/types/functions/information/isblank/index.d.ts +17 -2
  264. package/lib/types/functions/information/isdate/index.d.ts +16 -1
  265. package/lib/types/functions/information/isemail/index.d.ts +16 -1
  266. package/lib/types/functions/information/iserr/index.d.ts +17 -2
  267. package/lib/types/functions/information/iserror/index.d.ts +17 -2
  268. package/lib/types/functions/information/iseven/iseven.d.ts +16 -1
  269. package/lib/types/functions/information/isformula/index.d.ts +17 -2
  270. package/lib/types/functions/information/islogical/index.d.ts +17 -2
  271. package/lib/types/functions/information/isna/index.d.ts +17 -2
  272. package/lib/types/functions/information/isnontext/index.d.ts +17 -2
  273. package/lib/types/functions/information/isnumber/index.d.ts +17 -2
  274. package/lib/types/functions/information/isodd/isodd.d.ts +16 -1
  275. package/lib/types/functions/information/isref/index.d.ts +16 -1
  276. package/lib/types/functions/information/istext/index.d.ts +17 -2
  277. package/lib/types/functions/information/isurl/index.d.ts +16 -1
  278. package/lib/types/functions/information/n/index.d.ts +16 -1
  279. package/lib/types/functions/information/na/index.d.ts +15 -0
  280. package/lib/types/functions/information/sheet/index.d.ts +17 -2
  281. package/lib/types/functions/information/sheets/index.d.ts +16 -1
  282. package/lib/types/functions/information/type/index.d.ts +16 -1
  283. package/lib/types/functions/logical/and/index.d.ts +16 -1
  284. package/lib/types/functions/logical/bycol/index.d.ts +17 -2
  285. package/lib/types/functions/logical/byrow/index.d.ts +17 -2
  286. package/lib/types/functions/logical/false/index.d.ts +15 -0
  287. package/lib/types/functions/logical/function-map.d.ts +15 -0
  288. package/lib/types/functions/logical/if/index.d.ts +17 -2
  289. package/lib/types/functions/logical/iferror/index.d.ts +17 -2
  290. package/lib/types/functions/logical/ifna/index.d.ts +17 -2
  291. package/lib/types/functions/logical/ifs/index.d.ts +16 -1
  292. package/lib/types/functions/logical/lambda/index.d.ts +17 -1
  293. package/lib/types/functions/logical/let/index.d.ts +17 -1
  294. package/lib/types/functions/logical/makearray/index.d.ts +17 -1
  295. package/lib/types/functions/logical/map/index.d.ts +17 -2
  296. package/lib/types/functions/logical/not/index.d.ts +16 -1
  297. package/lib/types/functions/logical/or/index.d.ts +16 -1
  298. package/lib/types/functions/logical/reduce/index.d.ts +17 -2
  299. package/lib/types/functions/logical/scan/index.d.ts +17 -2
  300. package/lib/types/functions/logical/switch/index.d.ts +16 -1
  301. package/lib/types/functions/logical/true/index.d.ts +15 -0
  302. package/lib/types/functions/logical/xor/index.d.ts +16 -1
  303. package/lib/types/functions/lookup/address/index.d.ts +16 -1
  304. package/lib/types/functions/lookup/areas/index.d.ts +16 -1
  305. package/lib/types/functions/lookup/choose/index.d.ts +16 -1
  306. package/lib/types/functions/lookup/choosecols/index.d.ts +16 -1
  307. package/lib/types/functions/lookup/chooserows/index.d.ts +16 -1
  308. package/lib/types/functions/lookup/column/index.d.ts +16 -1
  309. package/lib/types/functions/lookup/columns/index.d.ts +16 -1
  310. package/lib/types/functions/lookup/drop/index.d.ts +16 -1
  311. package/lib/types/functions/lookup/expand/index.d.ts +16 -1
  312. package/lib/types/functions/lookup/filter/index.d.ts +16 -1
  313. package/lib/types/functions/lookup/formulatext/index.d.ts +18 -3
  314. package/lib/types/functions/lookup/function-map.d.ts +15 -0
  315. package/lib/types/functions/lookup/hlookup/index.d.ts +16 -1
  316. package/lib/types/functions/lookup/hstack/index.d.ts +16 -1
  317. package/lib/types/functions/lookup/hyperlink/index.d.ts +16 -1
  318. package/lib/types/functions/lookup/image/index.d.ts +16 -1
  319. package/lib/types/functions/lookup/index/index.d.ts +17 -2
  320. package/lib/types/functions/lookup/indirect/index.d.ts +17 -2
  321. package/lib/types/functions/lookup/lookup/index.d.ts +17 -2
  322. package/lib/types/functions/lookup/match/index.d.ts +17 -2
  323. package/lib/types/functions/lookup/offset/index.d.ts +16 -1
  324. package/lib/types/functions/lookup/row/index.d.ts +16 -1
  325. package/lib/types/functions/lookup/rows/index.d.ts +16 -1
  326. package/lib/types/functions/lookup/sort/index.d.ts +16 -1
  327. package/lib/types/functions/lookup/sortby/index.d.ts +17 -1
  328. package/lib/types/functions/lookup/take/index.d.ts +16 -1
  329. package/lib/types/functions/lookup/tocol/index.d.ts +16 -1
  330. package/lib/types/functions/lookup/torow/index.d.ts +16 -1
  331. package/lib/types/functions/lookup/transpose/index.d.ts +17 -2
  332. package/lib/types/functions/lookup/unique/index.d.ts +16 -1
  333. package/lib/types/functions/lookup/vlookup/index.d.ts +17 -2
  334. package/lib/types/functions/lookup/vstack/index.d.ts +16 -1
  335. package/lib/types/functions/lookup/wrapcols/index.d.ts +16 -1
  336. package/lib/types/functions/lookup/wraprows/index.d.ts +16 -1
  337. package/lib/types/functions/lookup/xlookup/index.d.ts +16 -1
  338. package/lib/types/functions/lookup/xmatch/index.d.ts +16 -1
  339. package/lib/types/functions/math/abs/index.d.ts +16 -1
  340. package/lib/types/functions/math/acos/index.d.ts +16 -1
  341. package/lib/types/functions/math/acosh/index.d.ts +16 -1
  342. package/lib/types/functions/math/acot/index.d.ts +16 -1
  343. package/lib/types/functions/math/acoth/index.d.ts +16 -1
  344. package/lib/types/functions/math/aggregate/index.d.ts +18 -3
  345. package/lib/types/functions/math/arabic/index.d.ts +16 -1
  346. package/lib/types/functions/math/asin/index.d.ts +16 -1
  347. package/lib/types/functions/math/asinh/index.d.ts +16 -1
  348. package/lib/types/functions/math/atan/index.d.ts +16 -1
  349. package/lib/types/functions/math/atan2/index.d.ts +16 -1
  350. package/lib/types/functions/math/atanh/index.d.ts +16 -1
  351. package/lib/types/functions/math/base/index.d.ts +16 -1
  352. package/lib/types/functions/math/ceiling/index.d.ts +16 -1
  353. package/lib/types/functions/math/ceiling-math/index.d.ts +16 -1
  354. package/lib/types/functions/math/ceiling-precise/index.d.ts +16 -1
  355. package/lib/types/functions/math/combin/index.d.ts +16 -1
  356. package/lib/types/functions/math/combina/index.d.ts +16 -1
  357. package/lib/types/functions/math/cos/index.d.ts +16 -1
  358. package/lib/types/functions/math/cosh/index.d.ts +16 -1
  359. package/lib/types/functions/math/cot/index.d.ts +16 -1
  360. package/lib/types/functions/math/coth/index.d.ts +16 -1
  361. package/lib/types/functions/math/csc/index.d.ts +16 -1
  362. package/lib/types/functions/math/csch/index.d.ts +16 -1
  363. package/lib/types/functions/math/decimal/index.d.ts +16 -1
  364. package/lib/types/functions/math/degrees/index.d.ts +16 -1
  365. package/lib/types/functions/math/even/index.d.ts +16 -1
  366. package/lib/types/functions/math/exp/index.d.ts +16 -1
  367. package/lib/types/functions/math/fact/index.d.ts +16 -1
  368. package/lib/types/functions/math/factdouble/index.d.ts +16 -1
  369. package/lib/types/functions/math/floor/index.d.ts +16 -1
  370. package/lib/types/functions/math/floor-math/index.d.ts +16 -1
  371. package/lib/types/functions/math/floor-precise/index.d.ts +16 -1
  372. package/lib/types/functions/math/function-map.d.ts +15 -0
  373. package/lib/types/functions/math/gcd/index.d.ts +16 -1
  374. package/lib/types/functions/math/int/index.d.ts +16 -1
  375. package/lib/types/functions/math/lcm/index.d.ts +16 -1
  376. package/lib/types/functions/math/ln/index.d.ts +16 -1
  377. package/lib/types/functions/math/log/index.d.ts +16 -1
  378. package/lib/types/functions/math/log10/index.d.ts +16 -1
  379. package/lib/types/functions/math/mdeterm/index.d.ts +16 -1
  380. package/lib/types/functions/math/minverse/index.d.ts +16 -1
  381. package/lib/types/functions/math/mmult/index.d.ts +16 -1
  382. package/lib/types/functions/math/mod/index.d.ts +16 -1
  383. package/lib/types/functions/math/mround/index.d.ts +16 -1
  384. package/lib/types/functions/math/multinomial/index.d.ts +16 -1
  385. package/lib/types/functions/math/munit/index.d.ts +16 -1
  386. package/lib/types/functions/math/odd/index.d.ts +16 -1
  387. package/lib/types/functions/math/pi/index.d.ts +15 -0
  388. package/lib/types/functions/math/power/index.d.ts +16 -1
  389. package/lib/types/functions/math/product/index.d.ts +16 -1
  390. package/lib/types/functions/math/quotient/index.d.ts +16 -1
  391. package/lib/types/functions/math/radians/index.d.ts +16 -1
  392. package/lib/types/functions/math/rand/index.d.ts +15 -0
  393. package/lib/types/functions/math/randarray/index.d.ts +16 -1
  394. package/lib/types/functions/math/randbetween/index.d.ts +16 -1
  395. package/lib/types/functions/math/roman/index.d.ts +16 -1
  396. package/lib/types/functions/math/round/index.d.ts +16 -1
  397. package/lib/types/functions/math/roundbank/index.d.ts +16 -1
  398. package/lib/types/functions/math/rounddown/index.d.ts +16 -1
  399. package/lib/types/functions/math/roundup/index.d.ts +16 -1
  400. package/lib/types/functions/math/sec/index.d.ts +16 -1
  401. package/lib/types/functions/math/sech/index.d.ts +16 -1
  402. package/lib/types/functions/math/sequence/index.d.ts +16 -1
  403. package/lib/types/functions/math/seriessum/index.d.ts +16 -1
  404. package/lib/types/functions/math/sign/index.d.ts +16 -1
  405. package/lib/types/functions/math/sin/index.d.ts +16 -1
  406. package/lib/types/functions/math/sinh/index.d.ts +16 -1
  407. package/lib/types/functions/math/sqrt/index.d.ts +16 -1
  408. package/lib/types/functions/math/sqrtpi/index.d.ts +16 -1
  409. package/lib/types/functions/math/subtotal/index.d.ts +18 -3
  410. package/lib/types/functions/math/sum/index.d.ts +16 -1
  411. package/lib/types/functions/math/sumif/index.d.ts +17 -2
  412. package/lib/types/functions/math/sumifs/index.d.ts +17 -2
  413. package/lib/types/functions/math/sumproduct/index.d.ts +16 -1
  414. package/lib/types/functions/math/sumsq/index.d.ts +16 -1
  415. package/lib/types/functions/math/sumx2my2/index.d.ts +16 -1
  416. package/lib/types/functions/math/sumx2py2/index.d.ts +16 -1
  417. package/lib/types/functions/math/sumxmy2/index.d.ts +16 -1
  418. package/lib/types/functions/math/tan/index.d.ts +16 -1
  419. package/lib/types/functions/math/tanh/index.d.ts +16 -1
  420. package/lib/types/functions/math/trunc/index.d.ts +16 -1
  421. package/lib/types/functions/meta/compare/index.d.ts +16 -1
  422. package/lib/types/functions/meta/cube/index.d.ts +16 -1
  423. package/lib/types/functions/meta/divided/index.d.ts +16 -1
  424. package/lib/types/functions/meta/function-map.d.ts +15 -0
  425. package/lib/types/functions/meta/minus/index.d.ts +16 -1
  426. package/lib/types/functions/meta/multiply/index.d.ts +16 -1
  427. package/lib/types/functions/meta/plus/index.d.ts +16 -1
  428. package/lib/types/functions/new-excel-functions.d.ts +16 -1
  429. package/lib/types/functions/statistical/avedev/index.d.ts +16 -1
  430. package/lib/types/functions/statistical/average/index.d.ts +16 -1
  431. package/lib/types/functions/statistical/average-weighted/index.d.ts +16 -1
  432. package/lib/types/functions/statistical/averagea/index.d.ts +16 -1
  433. package/lib/types/functions/statistical/averageif/index.d.ts +17 -2
  434. package/lib/types/functions/statistical/averageifs/index.d.ts +17 -2
  435. package/lib/types/functions/statistical/beta-dist/index.d.ts +16 -1
  436. package/lib/types/functions/statistical/beta-inv/index.d.ts +16 -1
  437. package/lib/types/functions/statistical/binom-dist/index.d.ts +16 -1
  438. package/lib/types/functions/statistical/binom-dist-range/index.d.ts +16 -1
  439. package/lib/types/functions/statistical/binom-inv/index.d.ts +16 -1
  440. package/lib/types/functions/statistical/chisq-dist/index.d.ts +16 -1
  441. package/lib/types/functions/statistical/chisq-dist-rt/index.d.ts +16 -1
  442. package/lib/types/functions/statistical/chisq-inv/index.d.ts +16 -1
  443. package/lib/types/functions/statistical/chisq-inv-rt/index.d.ts +16 -1
  444. package/lib/types/functions/statistical/chisq-test/index.d.ts +16 -1
  445. package/lib/types/functions/statistical/confidence-norm/index.d.ts +16 -1
  446. package/lib/types/functions/statistical/confidence-t/index.d.ts +16 -1
  447. package/lib/types/functions/statistical/correl/index.d.ts +16 -1
  448. package/lib/types/functions/statistical/count/index.d.ts +16 -1
  449. package/lib/types/functions/statistical/counta/index.d.ts +16 -1
  450. package/lib/types/functions/statistical/countblank/index.d.ts +16 -1
  451. package/lib/types/functions/statistical/countif/index.d.ts +17 -2
  452. package/lib/types/functions/statistical/countifs/index.d.ts +17 -2
  453. package/lib/types/functions/statistical/covariance-p/index.d.ts +16 -1
  454. package/lib/types/functions/statistical/covariance-s/index.d.ts +16 -1
  455. package/lib/types/functions/statistical/devsq/index.d.ts +16 -1
  456. package/lib/types/functions/statistical/expon-dist/index.d.ts +16 -1
  457. package/lib/types/functions/statistical/f-dist/index.d.ts +16 -1
  458. package/lib/types/functions/statistical/f-dist-rt/index.d.ts +16 -1
  459. package/lib/types/functions/statistical/f-inv/index.d.ts +16 -1
  460. package/lib/types/functions/statistical/f-inv-rt/index.d.ts +16 -1
  461. package/lib/types/functions/statistical/f-test/index.d.ts +16 -1
  462. package/lib/types/functions/statistical/fisher/index.d.ts +16 -1
  463. package/lib/types/functions/statistical/fisherinv/index.d.ts +16 -1
  464. package/lib/types/functions/statistical/forecast/index.d.ts +16 -1
  465. package/lib/types/functions/statistical/frequency/index.d.ts +16 -1
  466. package/lib/types/functions/statistical/function-map.d.ts +15 -0
  467. package/lib/types/functions/statistical/gamma/index.d.ts +16 -1
  468. package/lib/types/functions/statistical/gamma-dist/index.d.ts +16 -1
  469. package/lib/types/functions/statistical/gamma-inv/index.d.ts +16 -1
  470. package/lib/types/functions/statistical/gammaln/index.d.ts +16 -1
  471. package/lib/types/functions/statistical/gauss/index.d.ts +16 -1
  472. package/lib/types/functions/statistical/geomean/index.d.ts +16 -1
  473. package/lib/types/functions/statistical/growth/index.d.ts +16 -1
  474. package/lib/types/functions/statistical/harmean/index.d.ts +16 -1
  475. package/lib/types/functions/statistical/hypgeom-dist/index.d.ts +16 -1
  476. package/lib/types/functions/statistical/intercept/index.d.ts +16 -1
  477. package/lib/types/functions/statistical/kurt/index.d.ts +16 -1
  478. package/lib/types/functions/statistical/large/index.d.ts +16 -1
  479. package/lib/types/functions/statistical/linest/index.d.ts +16 -1
  480. package/lib/types/functions/statistical/logest/index.d.ts +16 -1
  481. package/lib/types/functions/statistical/lognorm-dist/index.d.ts +16 -1
  482. package/lib/types/functions/statistical/lognorm-inv/index.d.ts +16 -1
  483. package/lib/types/functions/statistical/marginoferror/index.d.ts +16 -1
  484. package/lib/types/functions/statistical/max/index.d.ts +16 -1
  485. package/lib/types/functions/statistical/maxa/index.d.ts +16 -1
  486. package/lib/types/functions/statistical/maxifs/index.d.ts +17 -2
  487. package/lib/types/functions/statistical/median/index.d.ts +16 -1
  488. package/lib/types/functions/statistical/min/index.d.ts +16 -1
  489. package/lib/types/functions/statistical/mina/index.d.ts +16 -1
  490. package/lib/types/functions/statistical/minifs/index.d.ts +17 -2
  491. package/lib/types/functions/statistical/mode-mult/index.d.ts +16 -1
  492. package/lib/types/functions/statistical/mode-sngl/index.d.ts +16 -1
  493. package/lib/types/functions/statistical/negbinom-dist/index.d.ts +16 -1
  494. package/lib/types/functions/statistical/norm-dist/index.d.ts +16 -1
  495. package/lib/types/functions/statistical/norm-inv/index.d.ts +16 -1
  496. package/lib/types/functions/statistical/norm-s-dist/index.d.ts +16 -1
  497. package/lib/types/functions/statistical/norm-s-inv/index.d.ts +16 -1
  498. package/lib/types/functions/statistical/pearson/index.d.ts +16 -1
  499. package/lib/types/functions/statistical/percentile-exc/index.d.ts +16 -1
  500. package/lib/types/functions/statistical/percentile-inc/index.d.ts +16 -1
  501. package/lib/types/functions/statistical/percentrank-exc/index.d.ts +16 -1
  502. package/lib/types/functions/statistical/percentrank-inc/index.d.ts +16 -1
  503. package/lib/types/functions/statistical/permut/index.d.ts +16 -1
  504. package/lib/types/functions/statistical/permutationa/index.d.ts +16 -1
  505. package/lib/types/functions/statistical/phi/index.d.ts +16 -1
  506. package/lib/types/functions/statistical/poisson-dist/index.d.ts +16 -1
  507. package/lib/types/functions/statistical/prob/index.d.ts +16 -1
  508. package/lib/types/functions/statistical/quartile-exc/index.d.ts +16 -1
  509. package/lib/types/functions/statistical/quartile-inc/index.d.ts +16 -1
  510. package/lib/types/functions/statistical/rank-avg/index.d.ts +17 -2
  511. package/lib/types/functions/statistical/rank-eq/index.d.ts +17 -2
  512. package/lib/types/functions/statistical/rsq/index.d.ts +16 -1
  513. package/lib/types/functions/statistical/skew/index.d.ts +16 -1
  514. package/lib/types/functions/statistical/skew-p/index.d.ts +16 -1
  515. package/lib/types/functions/statistical/slope/index.d.ts +16 -1
  516. package/lib/types/functions/statistical/small/index.d.ts +16 -1
  517. package/lib/types/functions/statistical/standardize/index.d.ts +16 -1
  518. package/lib/types/functions/statistical/stdev-p/index.d.ts +17 -2
  519. package/lib/types/functions/statistical/stdev-s/index.d.ts +17 -2
  520. package/lib/types/functions/statistical/stdeva/index.d.ts +17 -2
  521. package/lib/types/functions/statistical/stdevpa/index.d.ts +17 -2
  522. package/lib/types/functions/statistical/steyx/index.d.ts +16 -1
  523. package/lib/types/functions/statistical/t-dist/index.d.ts +16 -1
  524. package/lib/types/functions/statistical/t-dist-2t/index.d.ts +16 -1
  525. package/lib/types/functions/statistical/t-dist-rt/index.d.ts +16 -1
  526. package/lib/types/functions/statistical/t-inv/index.d.ts +16 -1
  527. package/lib/types/functions/statistical/t-inv-2t/index.d.ts +16 -1
  528. package/lib/types/functions/statistical/t-test/index.d.ts +16 -1
  529. package/lib/types/functions/statistical/trend/index.d.ts +16 -1
  530. package/lib/types/functions/statistical/trimmean/index.d.ts +16 -1
  531. package/lib/types/functions/statistical/var-p/index.d.ts +17 -2
  532. package/lib/types/functions/statistical/var-s/index.d.ts +17 -2
  533. package/lib/types/functions/statistical/vara/index.d.ts +17 -2
  534. package/lib/types/functions/statistical/varpa/index.d.ts +17 -2
  535. package/lib/types/functions/statistical/weibull-dist/index.d.ts +16 -1
  536. package/lib/types/functions/statistical/z-test/index.d.ts +16 -1
  537. package/lib/types/functions/text/arraytotext/index.d.ts +16 -1
  538. package/lib/types/functions/text/asc/index.d.ts +16 -1
  539. package/lib/types/functions/text/bahttext/index.d.ts +16 -1
  540. package/lib/types/functions/text/char/index.d.ts +16 -1
  541. package/lib/types/functions/text/clean/index.d.ts +16 -1
  542. package/lib/types/functions/text/code/index.d.ts +16 -1
  543. package/lib/types/functions/text/concat/index.d.ts +16 -1
  544. package/lib/types/functions/text/concatenate/index.d.ts +16 -1
  545. package/lib/types/functions/text/dbcs/index.d.ts +16 -1
  546. package/lib/types/functions/text/dollar/index.d.ts +16 -1
  547. package/lib/types/functions/text/exact/index.d.ts +16 -1
  548. package/lib/types/functions/text/find/index.d.ts +16 -1
  549. package/lib/types/functions/text/findb/index.d.ts +16 -1
  550. package/lib/types/functions/text/fixed/index.d.ts +16 -1
  551. package/lib/types/functions/text/function-map.d.ts +15 -0
  552. package/lib/types/functions/text/left/index.d.ts +16 -1
  553. package/lib/types/functions/text/leftb/index.d.ts +16 -1
  554. package/lib/types/functions/text/len/index.d.ts +16 -1
  555. package/lib/types/functions/text/lenb/index.d.ts +16 -1
  556. package/lib/types/functions/text/lower/index.d.ts +16 -1
  557. package/lib/types/functions/text/mid/index.d.ts +16 -1
  558. package/lib/types/functions/text/midb/index.d.ts +16 -1
  559. package/lib/types/functions/text/numberstring/index.d.ts +16 -1
  560. package/lib/types/functions/text/numbervalue/index.d.ts +16 -1
  561. package/lib/types/functions/text/proper/index.d.ts +16 -1
  562. package/lib/types/functions/text/regexextract/index.d.ts +16 -1
  563. package/lib/types/functions/text/regexmatch/index.d.ts +16 -1
  564. package/lib/types/functions/text/regexreplace/index.d.ts +16 -1
  565. package/lib/types/functions/text/replace/index.d.ts +16 -1
  566. package/lib/types/functions/text/replaceb/index.d.ts +16 -1
  567. package/lib/types/functions/text/rept/index.d.ts +16 -1
  568. package/lib/types/functions/text/right/index.d.ts +16 -1
  569. package/lib/types/functions/text/rightb/index.d.ts +16 -1
  570. package/lib/types/functions/text/search/index.d.ts +16 -1
  571. package/lib/types/functions/text/searchb/index.d.ts +16 -1
  572. package/lib/types/functions/text/substitute/index.d.ts +16 -1
  573. package/lib/types/functions/text/t/index.d.ts +17 -2
  574. package/lib/types/functions/text/text/index.d.ts +16 -1
  575. package/lib/types/functions/text/textafter/index.d.ts +17 -2
  576. package/lib/types/functions/text/textbefore/index.d.ts +17 -2
  577. package/lib/types/functions/text/textjoin/index.d.ts +16 -1
  578. package/lib/types/functions/text/textsplit/index.d.ts +16 -1
  579. package/lib/types/functions/text/trim/index.d.ts +16 -1
  580. package/lib/types/functions/text/unichar/index.d.ts +16 -1
  581. package/lib/types/functions/text/unicode/index.d.ts +16 -1
  582. package/lib/types/functions/text/upper/index.d.ts +16 -1
  583. package/lib/types/functions/text/value/index.d.ts +16 -1
  584. package/lib/types/functions/text/valuetotext/index.d.ts +16 -1
  585. package/lib/types/functions/util.d.ts +17 -1
  586. package/lib/types/functions/web/encodeurl/index.d.ts +16 -1
  587. package/lib/types/functions/web/function-map.d.ts +15 -0
  588. package/lib/types/models/formula-data.model.d.ts +18 -2
  589. package/lib/types/models/utils/formula-data-util.d.ts +17 -2
  590. package/lib/types/plugin.d.ts +16 -1
  591. package/lib/types/services/active-dirty-manager.service.d.ts +19 -3
  592. package/lib/types/services/calculate-formula.service.d.ts +25 -7
  593. package/lib/types/services/current-data.service.d.ts +19 -3
  594. package/lib/types/services/defined-names.service.d.ts +19 -3
  595. package/lib/types/services/dependency-manager.service.d.ts +20 -4
  596. package/lib/types/services/feature-calculation-manager.service.d.ts +23 -7
  597. package/lib/types/services/formula-common.d.ts +16 -1
  598. package/lib/types/services/function.service.d.ts +20 -4
  599. package/lib/types/services/global-computing-status.service.d.ts +18 -2
  600. package/lib/types/services/hyperlink-engine-formula.service.d.ts +18 -2
  601. package/lib/types/services/other-formula-manager.service.d.ts +19 -3
  602. package/lib/types/services/register-other-formula.service.d.ts +20 -4
  603. package/lib/types/services/runtime.service.d.ts +22 -6
  604. package/lib/types/services/sheet-row-filtered.service.d.ts +16 -1
  605. package/lib/types/services/super-table.service.d.ts +21 -4
  606. package/lib/umd/facade.js +1 -1
  607. package/lib/umd/index.js +9 -1
  608. package/package.json +8 -7
  609. package/lib/types/functions/logical/bycol/__test__/index.spec.d.ts +0 -16
  610. package/lib/types/functions/logical/byrow/__test__/index.spec.d.ts +0 -16
  611. package/lib/types/functions/logical/makearray/__test__/index.spec.d.ts +0 -16
  612. package/lib/types/functions/logical/map/__test__/index.spec.d.ts +0 -16
  613. package/lib/types/functions/logical/reduce/__test__/index.spec.d.ts +0 -16
  614. package/lib/types/functions/logical/scan/__test__/index.spec.d.ts +0 -16
  615. package/lib/types/functions/lookup/index/__test__/index.spec.d.ts +0 -16
  616. package/lib/types/functions/lookup/indirect/__test__/index.spec.d.ts +0 -16
  617. package/lib/types/functions/text/arraytotext/__test__/index.spec.d.ts +0 -16
  618. package/lib/types/functions/text/asc/__test__/index.spec.d.ts +0 -16
  619. package/lib/types/functions/text/bahttext/__test__/index.spec.d.ts +0 -16
  620. package/lib/types/functions/text/char/__test__/index.spec.d.ts +0 -16
  621. package/lib/types/functions/text/clean/__test__/index.spec.d.ts +0 -16
  622. package/lib/types/functions/text/code/__test__/index.spec.d.ts +0 -16
  623. package/lib/types/functions/text/dbcs/__test__/index.spec.d.ts +0 -16
  624. package/lib/types/functions/text/dollar/__test__/index.spec.d.ts +0 -16
  625. package/lib/types/functions/text/exact/__test__/index.spec.d.ts +0 -16
  626. package/lib/types/functions/text/find/__test__/index.spec.d.ts +0 -16
  627. package/lib/types/functions/text/findb/__test__/index.spec.d.ts +0 -16
  628. package/lib/types/functions/text/fixed/__test__/index.spec.d.ts +0 -16
  629. package/lib/types/functions/text/left/__test__/index.spec.d.ts +0 -16
  630. package/lib/types/functions/text/leftb/__test__/index.spec.d.ts +0 -16
  631. package/lib/types/functions/text/len/__test__/index.spec.d.ts +0 -16
  632. package/lib/types/functions/text/lenb/__test__/index.spec.d.ts +0 -16
  633. package/lib/types/functions/text/lower/__test__/index.spec.d.ts +0 -16
  634. package/lib/types/functions/text/mid/__test__/index.spec.d.ts +0 -16
  635. package/lib/types/functions/text/midb/__test__/index.spec.d.ts +0 -16
  636. package/lib/types/functions/text/numberstring/__test__/index.spec.d.ts +0 -16
  637. package/lib/types/functions/text/numbervalue/__test__/index.spec.d.ts +0 -16
  638. package/lib/types/functions/text/proper/__test__/index.spec.d.ts +0 -16
  639. package/lib/types/functions/text/regexextract/__test__/index.spec.d.ts +0 -16
  640. package/lib/types/functions/text/regexmatch/__test__/index.spec.d.ts +0 -16
  641. package/lib/types/functions/text/regexreplace/__test__/index.spec.d.ts +0 -16
  642. package/lib/types/functions/text/replace/__test__/index.spec.d.ts +0 -16
  643. package/lib/types/functions/text/replaceb/__test__/index.spec.d.ts +0 -16
  644. package/lib/types/functions/text/rept/__test__/index.spec.d.ts +0 -16
  645. package/lib/types/functions/text/right/__test__/index.spec.d.ts +0 -16
  646. package/lib/types/functions/text/rightb/__test__/index.spec.d.ts +0 -16
  647. package/lib/types/functions/text/search/__test__/index.spec.d.ts +0 -16
  648. package/lib/types/functions/text/searchb/__test__/index.spec.d.ts +0 -16
  649. package/lib/types/functions/text/substitute/__test__/index.spec.d.ts +0 -16
  650. package/lib/types/functions/text/t/__test__/index.spec.d.ts +0 -16
  651. package/lib/types/functions/text/text/__test__/index.spec.d.ts +0 -16
  652. package/lib/types/functions/text/textafter/__test__/index.spec.d.ts +0 -16
  653. package/lib/types/functions/text/textbefore/__test__/index.spec.d.ts +0 -16
  654. package/lib/types/functions/text/textjoin/__test__/index.spec.d.ts +0 -16
  655. package/lib/types/functions/text/textsplit/__test__/index.spec.d.ts +0 -16
  656. package/lib/types/functions/text/trim/__test__/index.spec.d.ts +0 -16
  657. package/lib/types/functions/text/unichar/__test__/index.spec.d.ts +0 -16
  658. package/lib/types/functions/text/unicode/__test__/index.spec.d.ts +0 -16
  659. package/lib/types/functions/text/upper/__test__/index.spec.d.ts +0 -16
  660. package/lib/types/functions/text/value/__test__/index.spec.d.ts +0 -16
  661. 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 { LRUMap } from '@univerjs/core';
2
17
  export declare class FormulaAstLRU<T> {
3
18
  private _cache;
@@ -1,2 +1,17 @@
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 { compareToken } from './token';
2
17
  export declare function reverseCompareOperator(operator: compareToken): compareToken;
@@ -1,6 +1,21 @@
1
- import { ICellData, IColumnData, IObjectArrayPrimitiveType, IObjectMatrixPrimitiveType, IRange, IRowData, IUnitRange, Nullable, ObjectMatrix, Styles } from '@univerjs/core';
2
- import { sequenceNodeType } from '../engine/utils/sequence';
3
- import { IImageFormulaInfo } from '../engine/value-object/primitive-object';
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 { ICellData, IColumnData, IObjectArrayPrimitiveType, IObjectMatrixPrimitiveType, IRange, IRowData, IUnitRange, Nullable, ObjectMatrix, Styles } from '@univerjs/core';
17
+ import type { sequenceNodeType } from '../engine/utils/sequence';
18
+ import type { IImageFormulaInfo } from '../engine/value-object/primitive-object';
4
19
  export declare const ERROR_VALUE_OBJECT_CLASS_TYPE = "errorValueObject";
5
20
  export declare const ASYNC_OBJECT_CLASS_TYPE = "asyncObject";
6
21
  export declare const REFERENCE_OBJECT_CLASS_TYPE = "referenceObject";
@@ -1,4 +1,20 @@
1
- import { BaseValueObject, ErrorValueObject } from '../engine/value-object/base-value-object';
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 { BaseValueObject } from '../engine/value-object/base-value-object';
17
+ import { ErrorValueObject } from '../engine/value-object/base-value-object';
2
18
  type DatabaseValueType = string | number | null;
3
19
  export declare function checkDatabase(database: BaseValueObject): {
4
20
  isError: boolean;
@@ -1,5 +1,21 @@
1
- import { BaseValueObject, ErrorValueObject } from '../engine/value-object/base-value-object';
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 { BaseValueObject } from '../engine/value-object/base-value-object';
2
17
  import { numfmt } from '@univerjs/core';
18
+ import { ErrorValueObject } from '../engine/value-object/base-value-object';
3
19
  export declare const DEFAULT_DATE_FORMAT = "yyyy/mm/dd;@";
4
20
  export declare const DEFAULT_NOW_FORMAT = "yyyy/mm/dd hh:mm";
5
21
  export declare const DEFAULT_TIME_FORMAT = "h:mm A/P";
@@ -1,2 +1,17 @@
1
- import { IUnitRange } from '@univerjs/core';
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 { IUnitRange } from '@univerjs/core';
2
17
  export declare function isInDirtyRange(dirtyRanges: IUnitRange[], unitId: string, sheetId: string, row: number, column: number): boolean;
@@ -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 { ErrorValueObject } from '../engine/value-object/base-value-object';
2
17
  export declare function calculateCoupdaybs(settlementSerialNumber: number, maturitySerialNumber: number, frequency: number, basis: number): number;
3
18
  export declare function calculateCoupdays(settlementSerialNumber: number, maturitySerialNumber: number, frequency: number, basis: number): number;
@@ -1,4 +1,19 @@
1
- import { BaseValueObject } from '../engine/value-object/base-value-object';
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 { BaseValueObject } from '../engine/value-object/base-value-object';
2
17
  /**
3
18
  * covert number to preview string by pattern
4
19
  * @TODODushusir: Internationalization, reuse with numfmt
@@ -1,20 +1,35 @@
1
- import { BooleanNumber } from '@univerjs/core';
2
- import { FUNCTION_NAMES_ARRAY } from '../functions/array/function-names';
3
- import { FUNCTION_NAMES_COMPATIBILITY } from '../functions/compatibility/function-names';
4
- import { FUNCTION_NAMES_CUBE } from '../functions/cube/function-names';
5
- import { FUNCTION_NAMES_DATABASE } from '../functions/database/function-names';
6
- import { FUNCTION_NAMES_DATE } from '../functions/date/function-names';
7
- import { FUNCTION_NAMES_ENGINEERING } from '../functions/engineering/function-names';
8
- import { FUNCTION_NAMES_FINANCIAL } from '../functions/financial/function-names';
9
- import { FUNCTION_NAMES_INFORMATION } from '../functions/information/function-names';
10
- import { FUNCTION_NAMES_LOGICAL } from '../functions/logical/function-names';
11
- import { FUNCTION_NAMES_LOOKUP } from '../functions/lookup/function-names';
12
- import { FUNCTION_NAMES_MATH } from '../functions/math/function-names';
13
- import { FUNCTION_NAMES_META } from '../functions/meta/function-names';
14
- import { FUNCTION_NAMES_STATISTICAL } from '../functions/statistical/function-names';
15
- import { FUNCTION_NAMES_TEXT } from '../functions/text/function-names';
16
- import { FUNCTION_NAMES_UNIVER } from '../functions/univer/function-names';
17
- import { FUNCTION_NAMES_WEB } from '../functions/web/function-names';
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 { BooleanNumber } from '@univerjs/core';
17
+ import type { FUNCTION_NAMES_ARRAY } from '../functions/array/function-names';
18
+ import type { FUNCTION_NAMES_COMPATIBILITY } from '../functions/compatibility/function-names';
19
+ import type { FUNCTION_NAMES_CUBE } from '../functions/cube/function-names';
20
+ import type { FUNCTION_NAMES_DATABASE } from '../functions/database/function-names';
21
+ import type { FUNCTION_NAMES_DATE } from '../functions/date/function-names';
22
+ import type { FUNCTION_NAMES_ENGINEERING } from '../functions/engineering/function-names';
23
+ import type { FUNCTION_NAMES_FINANCIAL } from '../functions/financial/function-names';
24
+ import type { FUNCTION_NAMES_INFORMATION } from '../functions/information/function-names';
25
+ import type { FUNCTION_NAMES_LOGICAL } from '../functions/logical/function-names';
26
+ import type { FUNCTION_NAMES_LOOKUP } from '../functions/lookup/function-names';
27
+ import type { FUNCTION_NAMES_MATH } from '../functions/math/function-names';
28
+ import type { FUNCTION_NAMES_META } from '../functions/meta/function-names';
29
+ import type { FUNCTION_NAMES_STATISTICAL } from '../functions/statistical/function-names';
30
+ import type { FUNCTION_NAMES_TEXT } from '../functions/text/function-names';
31
+ import type { FUNCTION_NAMES_UNIVER } from '../functions/univer/function-names';
32
+ import type { FUNCTION_NAMES_WEB } from '../functions/web/function-names';
18
33
  /**
19
34
  * Function type, refer to https://support.microsoft.com/en-us/office/excel-functions-by-category-5f91f4e9-7b42-46d2-9bd1-63f26a86c0eb
20
35
  */
@@ -1,4 +1,19 @@
1
- import { NumericTuple } from '@flatten-js/interval-tree';
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 { NumericTuple } from '@flatten-js/interval-tree';
2
17
  export declare const DEFAULT_EMPTY_CELL_KEY: unique symbol;
3
18
  export declare class InvertedIndexCache {
4
19
  /**
@@ -1,4 +1,19 @@
1
- import { ICellData, Nullable } from '@univerjs/core';
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 { ICellData, Nullable } from '@univerjs/core';
2
17
  /**
3
18
  * Examine if a cell is empty (null) in the formula-related modules. This is not
4
19
  * interchangable with {@link isNullCell} from the core package, because for
@@ -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 { compareToken, matchToken, operatorToken, prefixToken, suffixToken } from './token';
2
17
  export declare const FORMULA_LEXER_TOKENS: (operatorToken | suffixToken | compareToken | prefixToken | matchToken)[];
3
18
  export declare function isFormulaLexerToken(str: string): boolean;
@@ -1,3 +1,18 @@
1
- import { IArrayFormulaUnitCellType, IRuntimeUnitDataPrimitiveType, IRuntimeUnitDataType } from './common';
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 { IArrayFormulaUnitCellType, IRuntimeUnitDataPrimitiveType, IRuntimeUnitDataType } from './common';
2
17
  export declare function convertUnitDataToRuntime(unitData: IArrayFormulaUnitCellType): IRuntimeUnitDataType;
3
18
  export declare function convertRuntimeToUnitData(unitData: IRuntimeUnitDataType): IRuntimeUnitDataPrimitiveType;
@@ -1,7 +1,23 @@
1
- import { BaseReferenceObject, FunctionVariantType } from '../engine/reference-object/base-reference-object';
2
- import { MultiAreaReferenceObject } from '../engine/reference-object/multi-area-reference-object';
3
- import { BaseValueObject, ErrorValueObject } from '../engine/value-object/base-value-object';
4
- import { FormulaDataModel } from '../models/formula-data.model';
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 { BaseReferenceObject, FunctionVariantType } from '../engine/reference-object/base-reference-object';
17
+ import type { MultiAreaReferenceObject } from '../engine/reference-object/multi-area-reference-object';
18
+ import type { BaseValueObject } from '../engine/value-object/base-value-object';
19
+ import type { FormulaDataModel } from '../models/formula-data.model';
20
+ import { ErrorValueObject } from '../engine/value-object/base-value-object';
5
21
  export declare function betaCDF(x: number, alpha: number, beta: number): number;
6
22
  export declare function betaPDF(x: number, alpha: number, beta: number): number;
7
23
  export declare function betaINV(probability: number, alpha: number, beta: number): number;
@@ -1,4 +1,19 @@
1
- import { IMutation } from '@univerjs/core';
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 { IMutation } from '@univerjs/core';
2
17
  export interface IOtherFormulaMarkDirtyParams {
3
18
  [unitId: string]: {
4
19
  [sunUnitId: string]: {
@@ -1,4 +1,19 @@
1
- import { IMutation } from '@univerjs/core';
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 { IMutation } from '@univerjs/core';
2
17
  /**
3
18
  *
4
19
  * Register function in main thread, then send function to worker thread.
@@ -1,5 +1,20 @@
1
- import { IMutation } from '@univerjs/core';
2
- import { IArrayFormulaEmbeddedMap, IArrayFormulaRangeType, IArrayFormulaUnitCellType } from '../../basics/common';
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 { IMutation } from '@univerjs/core';
17
+ import type { IArrayFormulaEmbeddedMap, IArrayFormulaRangeType, IArrayFormulaUnitCellType } from '../../basics/common';
3
18
  export interface ISetArrayFormulaDataMutationParams {
4
19
  arrayFormulaRange: IArrayFormulaRangeType;
5
20
  arrayFormulaCellData: IArrayFormulaUnitCellType;
@@ -1,4 +1,19 @@
1
- import { IAccessor, IMutation } from '@univerjs/core';
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 { IAccessor, IMutation } from '@univerjs/core';
2
17
  export interface ISetDefinedNameMutationSearchParam {
3
18
  unitId: string;
4
19
  id: string;
@@ -1,5 +1,20 @@
1
- import { IMutation } from '@univerjs/core';
2
- import { IFeatureCalculationManagerParam } from '../../services/feature-calculation-manager.service';
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 { IMutation } from '@univerjs/core';
17
+ import type { IFeatureCalculationManagerParam } from '../../services/feature-calculation-manager.service';
3
18
  export interface ISetFeatureCalculationMutation {
4
19
  featureId: string;
5
20
  calculationParam: IFeatureCalculationManagerParam;
@@ -1,8 +1,23 @@
1
- import { IExecutionOptions, IMutation, IUnitRange, Nullable } from '@univerjs/core';
2
- import { IFormulaExecuteResultMap, IFormulaStringMap, IRuntimeOtherUnitDataType, IRuntimeUnitDataPrimitiveType } from '../../basics/common';
3
- import { IFormulaDependencyTreeFullJson, IFormulaDependencyTreeJson, IFormulaDependentsAndInRangeResults } from '../../engine/dependency/dependency-tree';
4
- import { IFormulaDirtyData } from '../../services/current-data.service';
5
- import { FormulaExecutedStateType, IExecutionInProgressParams } from '../../services/runtime.service';
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 { IExecutionOptions, IMutation, IUnitRange, Nullable } from '@univerjs/core';
17
+ import type { IFormulaExecuteResultMap, IFormulaStringMap, IRuntimeOtherUnitDataType, IRuntimeUnitDataPrimitiveType } from '../../basics/common';
18
+ import type { IFormulaDependencyTreeFullJson, IFormulaDependencyTreeJson, IFormulaDependentsAndInRangeResults } from '../../engine/dependency/dependency-tree';
19
+ import type { IFormulaDirtyData } from '../../services/current-data.service';
20
+ import type { FormulaExecutedStateType, IExecutionInProgressParams } from '../../services/runtime.service';
6
21
  export interface ISetFormulaCalculationStartMutation extends IFormulaDirtyData {
7
22
  options: Nullable<IExecutionOptions>;
8
23
  }
@@ -1,5 +1,20 @@
1
- import { IMutation } from '@univerjs/core';
2
- import { IFormulaData } from '../../basics/common';
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 { IMutation } from '@univerjs/core';
17
+ import type { IFormulaData } from '../../basics/common';
3
18
  export interface ISetFormulaDataMutationParams {
4
19
  formulaData: IFormulaData;
5
20
  }
@@ -1,5 +1,20 @@
1
- import { IMutation } from '@univerjs/core';
2
- import { IRuntimeImageFormulaDataType } from '../../basics/common';
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 { IMutation } from '@univerjs/core';
17
+ import type { IRuntimeImageFormulaDataType } from '../../basics/common';
3
18
  export interface ISetImageFormulaDataMutationParams {
4
19
  imageFormulaData: IRuntimeImageFormulaDataType[];
5
20
  }
@@ -1,5 +1,20 @@
1
- import { IMutation } from '@univerjs/core';
2
- import { IOtherFormulaDataItem } from '../../basics/common';
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 { IMutation } from '@univerjs/core';
17
+ import type { IOtherFormulaDataItem } from '../../basics/common';
3
18
  export interface ISetOtherFormulaMutationParams {
4
19
  unitId: string;
5
20
  subUnitId: string;
@@ -1,6 +1,21 @@
1
- import { IMutation } from '@univerjs/core';
2
- import { ISuperTable } from '../../basics/common';
3
- import { ISuperTableOptionParam } from '../../services/super-table.service';
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 { IMutation } from '@univerjs/core';
17
+ import type { ISuperTable } from '../../basics/common';
18
+ import type { ISuperTableOptionParam } from '../../services/super-table.service';
4
19
  export interface ISetSuperTableMutationSearchParam {
5
20
  unitId: string;
6
21
  tableName: string;
@@ -1,6 +1,21 @@
1
- import { Ctor } from '@univerjs/core';
2
- import { IFunctionNames } from '../basics/function';
3
- import { BaseFunction } from '../functions/base-function';
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 { Ctor } from '@univerjs/core';
17
+ import type { IFunctionNames } from '../basics/function';
18
+ import type { BaseFunction } from '../functions/base-function';
4
19
  export declare const ENGINE_FORMULA_PLUGIN_CONFIG_KEY = "engine-formula.config";
5
20
  export declare const DEFAULT_CYCLE_REFERENCE_COUNT = 1;
6
21
  export declare const ENGINE_FORMULA_CYCLE_REFERENCE_COUNT = "CYCLE_REFERENCE_COUNT";
@@ -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 { FormulaDataModel } from '../models/formula-data.model';
3
18
  import { ICalculateFormulaService } from '../services/calculate-formula.service';