@univerjs/engine-formula 0.5.4 → 0.5.5-experimental.20250123-34738ff

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 (474) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/es/facade.js +57 -50
  4. package/lib/es/index.js +25077 -23679
  5. package/lib/types/facade/f-formula.d.ts +4 -0
  6. package/lib/types/facade/f-univer.d.ts +3 -0
  7. package/lib/types/functions/text/t/index.d.ts +4 -1
  8. package/lib/umd/facade.js +1 -1
  9. package/lib/umd/index.js +2 -2
  10. package/package.json +5 -5
  11. package/LICENSE +0 -176
  12. package/lib/types/basics/__tests__/date.spec.d.ts +0 -16
  13. package/lib/types/basics/__tests__/engineering.spec.d.ts +0 -16
  14. package/lib/types/basics/__tests__/math.spec.d.ts +0 -16
  15. package/lib/types/basics/__tests__/regex.spec.d.ts +0 -16
  16. package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +0 -17
  17. package/lib/types/engine/analysis/__tests__/dependency.spec.d.ts +0 -16
  18. package/lib/types/engine/analysis/__tests__/lexer-tree-builder.spec.d.ts +0 -16
  19. package/lib/types/engine/analysis/__tests__/lexer.spec.d.ts +0 -16
  20. package/lib/types/engine/analysis/__tests__/parser.spec.d.ts +0 -16
  21. package/lib/types/engine/utils/__tests__/cell.spec.d.ts +0 -16
  22. package/lib/types/engine/utils/__tests__/compare.spec.d.ts +0 -16
  23. package/lib/types/engine/utils/__tests__/math-kit.spec.d.ts +0 -16
  24. package/lib/types/engine/utils/__tests__/numfmt-kit.spec.d.ts +0 -16
  25. package/lib/types/engine/utils/__tests__/object-compare.spec.d.ts +0 -16
  26. package/lib/types/engine/utils/__tests__/r1c1-reference.spec.d.ts +0 -16
  27. package/lib/types/engine/utils/__tests__/reference.spec.d.ts +0 -16
  28. package/lib/types/engine/utils/__tests__/value-object.spec.d.ts +0 -16
  29. package/lib/types/engine/value-object/__tests__/array-inverted-index-cache.spec.d.ts +0 -16
  30. package/lib/types/engine/value-object/__tests__/array-inverted-index-cache2.spec.d.ts +0 -16
  31. package/lib/types/engine/value-object/__tests__/array-value-abs.spec.d.ts +0 -16
  32. package/lib/types/engine/value-object/__tests__/array-value-acos.spec.d.ts +0 -16
  33. package/lib/types/engine/value-object/__tests__/array-value-acosh.spec.d.ts +0 -16
  34. package/lib/types/engine/value-object/__tests__/array-value-asin.spec.d.ts +0 -16
  35. package/lib/types/engine/value-object/__tests__/array-value-asinh.spec.d.ts +0 -16
  36. package/lib/types/engine/value-object/__tests__/array-value-atan.spec.d.ts +0 -16
  37. package/lib/types/engine/value-object/__tests__/array-value-atan2.spec.d.ts +0 -16
  38. package/lib/types/engine/value-object/__tests__/array-value-atanh.spec.d.ts +0 -16
  39. package/lib/types/engine/value-object/__tests__/array-value-cbrt.spec.d.ts +0 -16
  40. package/lib/types/engine/value-object/__tests__/array-value-ceil.spec.d.ts +0 -16
  41. package/lib/types/engine/value-object/__tests__/array-value-cos.spec.d.ts +0 -16
  42. package/lib/types/engine/value-object/__tests__/array-value-divided.spec.d.ts +0 -16
  43. package/lib/types/engine/value-object/__tests__/array-value-exp.spec.d.ts +0 -16
  44. package/lib/types/engine/value-object/__tests__/array-value-floor.spec.d.ts +0 -16
  45. package/lib/types/engine/value-object/__tests__/array-value-log.spec.d.ts +0 -16
  46. package/lib/types/engine/value-object/__tests__/array-value-log10.spec.d.ts +0 -16
  47. package/lib/types/engine/value-object/__tests__/array-value-minus.spec.d.ts +0 -16
  48. package/lib/types/engine/value-object/__tests__/array-value-multiply.spec.d.ts +0 -16
  49. package/lib/types/engine/value-object/__tests__/array-value-object.spec.d.ts +0 -16
  50. package/lib/types/engine/value-object/__tests__/array-value-plus.spec.d.ts +0 -16
  51. package/lib/types/engine/value-object/__tests__/array-value-pow.spec.d.ts +0 -16
  52. package/lib/types/engine/value-object/__tests__/array-value-round.spec.d.ts +0 -16
  53. package/lib/types/engine/value-object/__tests__/array-value-sin.spec.d.ts +0 -16
  54. package/lib/types/engine/value-object/__tests__/array-value-tan.spec.d.ts +0 -16
  55. package/lib/types/engine/value-object/__tests__/array-value-tanh.spec.d.ts +0 -16
  56. package/lib/types/functions/__tests__/create-function-test-bed.d.ts +0 -20
  57. package/lib/types/functions/__tests__/nested-functions.spec.d.ts +0 -16
  58. package/lib/types/functions/array/array-constrain/__tests__/index.spec.d.ts +0 -16
  59. package/lib/types/functions/array/flatten/__tests__/index.spec.d.ts +0 -16
  60. package/lib/types/functions/compatibility/betadist/__tests__/index.spec.d.ts +0 -16
  61. package/lib/types/functions/compatibility/hypgeomdist/__tests__/index.spec.d.ts +0 -16
  62. package/lib/types/functions/compatibility/lognormdist/__tests__/index.spec.d.ts +0 -16
  63. package/lib/types/functions/compatibility/negbinomdist/__tests__/index.spec.d.ts +0 -16
  64. package/lib/types/functions/compatibility/normsdist/__tests__/index.spec.d.ts +0 -16
  65. package/lib/types/functions/compatibility/rank/__tests__/index.spec.d.ts +0 -16
  66. package/lib/types/functions/compatibility/tdist/__tests__/index.spec.d.ts +0 -16
  67. package/lib/types/functions/database/daverage/__tests__/index.spec.d.ts +0 -16
  68. package/lib/types/functions/database/dcount/__tests__/index.spec.d.ts +0 -16
  69. package/lib/types/functions/database/dcounta/__tests__/index.spec.d.ts +0 -16
  70. package/lib/types/functions/database/dget/__tests__/index.spec.d.ts +0 -16
  71. package/lib/types/functions/database/dmax/__tests__/index.spec.d.ts +0 -16
  72. package/lib/types/functions/database/dmin/__tests__/index.spec.d.ts +0 -16
  73. package/lib/types/functions/database/dproduct/__tests__/index.spec.d.ts +0 -16
  74. package/lib/types/functions/database/dstdev/__tests__/index.spec.d.ts +0 -16
  75. package/lib/types/functions/database/dstdevp/__tests__/index.spec.d.ts +0 -16
  76. package/lib/types/functions/database/dsum/__tests__/index.spec.d.ts +0 -16
  77. package/lib/types/functions/database/dvar/__tests__/index.spec.d.ts +0 -16
  78. package/lib/types/functions/database/dvarp/__tests__/index.spec.d.ts +0 -16
  79. package/lib/types/functions/date/date/__tests__/index.spec.d.ts +0 -16
  80. package/lib/types/functions/date/datedif/__tests__/index.spec.d.ts +0 -16
  81. package/lib/types/functions/date/datevalue/__tests__/index.spec.d.ts +0 -16
  82. package/lib/types/functions/date/day/__tests__/index.spec.d.ts +0 -16
  83. package/lib/types/functions/date/days/__tests__/index.spec.d.ts +0 -16
  84. package/lib/types/functions/date/days360/__tests__/index.spec.d.ts +0 -16
  85. package/lib/types/functions/date/edate/__tests__/index.spec.d.ts +0 -16
  86. package/lib/types/functions/date/eomonth/__tests__/index.spec.d.ts +0 -16
  87. package/lib/types/functions/date/epochtodate/__tests__/index.spec.d.ts +0 -16
  88. package/lib/types/functions/date/hour/__tests__/index.spec.d.ts +0 -16
  89. package/lib/types/functions/date/isoweeknum/__tests__/index.spec.d.ts +0 -16
  90. package/lib/types/functions/date/minute/__tests__/index.spec.d.ts +0 -16
  91. package/lib/types/functions/date/month/__tests__/index.spec.d.ts +0 -16
  92. package/lib/types/functions/date/networkdays/__tests__/index.spec.d.ts +0 -16
  93. package/lib/types/functions/date/networkdays-intl/__tests__/index.spec.d.ts +0 -16
  94. package/lib/types/functions/date/now/__tests__/index.spec.d.ts +0 -16
  95. package/lib/types/functions/date/second/__tests__/index.spec.d.ts +0 -16
  96. package/lib/types/functions/date/time/__tests__/index.spec.d.ts +0 -16
  97. package/lib/types/functions/date/timevalue/__tests__/index.spec.d.ts +0 -16
  98. package/lib/types/functions/date/to-date/__tests__/index.spec.d.ts +0 -16
  99. package/lib/types/functions/date/today/__tests__/index.spec.d.ts +0 -16
  100. package/lib/types/functions/date/weekday/__tests__/index.spec.d.ts +0 -16
  101. package/lib/types/functions/date/weeknum/__tests__/index.spec.d.ts +0 -16
  102. package/lib/types/functions/date/workday/__tests__/index.spec.d.ts +0 -16
  103. package/lib/types/functions/date/workday-intl/__tests__/index.spec.d.ts +0 -16
  104. package/lib/types/functions/date/year/__tests__/index.spec.d.ts +0 -16
  105. package/lib/types/functions/date/yearfrac/__tests__/index.spec.d.ts +0 -16
  106. package/lib/types/functions/engineering/besseli/__tests__/index.spec.d.ts +0 -16
  107. package/lib/types/functions/engineering/besselj/__tests__/index.spec.d.ts +0 -16
  108. package/lib/types/functions/engineering/besselk/__tests__/index.spec.d.ts +0 -16
  109. package/lib/types/functions/engineering/bessely/__tests__/index.spec.d.ts +0 -16
  110. package/lib/types/functions/engineering/bin2dec/__tests__/index.spec.d.ts +0 -16
  111. package/lib/types/functions/engineering/bin2hex/__tests__/index.spec.d.ts +0 -16
  112. package/lib/types/functions/engineering/bin2oct/__tests__/index.spec.d.ts +0 -16
  113. package/lib/types/functions/engineering/bitand/__tests__/index.spec.d.ts +0 -16
  114. package/lib/types/functions/engineering/bitlshift/__tests__/index.spec.d.ts +0 -16
  115. package/lib/types/functions/engineering/bitor/__tests__/index.spec.d.ts +0 -16
  116. package/lib/types/functions/engineering/bitrshift/__tests__/index.spec.d.ts +0 -16
  117. package/lib/types/functions/engineering/bitxor/__tests__/index.spec.d.ts +0 -16
  118. package/lib/types/functions/engineering/complex/__tests__/index.spec.d.ts +0 -16
  119. package/lib/types/functions/engineering/convert/__tests__/index.spec.d.ts +0 -16
  120. package/lib/types/functions/engineering/dec2bin/__tests__/index.spec.d.ts +0 -16
  121. package/lib/types/functions/engineering/dec2hex/__tests__/index.spec.d.ts +0 -16
  122. package/lib/types/functions/engineering/dec2oct/__tests__/index.spec.d.ts +0 -16
  123. package/lib/types/functions/engineering/delta/__tests__/index.spec.d.ts +0 -16
  124. package/lib/types/functions/engineering/erf/__tests__/index.spec.d.ts +0 -16
  125. package/lib/types/functions/engineering/erf-precise/__tests__/index.spec.d.ts +0 -16
  126. package/lib/types/functions/engineering/erfc/__tests__/index.spec.d.ts +0 -16
  127. package/lib/types/functions/engineering/erfc-precise/__tests__/index.spec.d.ts +0 -16
  128. package/lib/types/functions/engineering/gestep/__tests__/index.spec.d.ts +0 -16
  129. package/lib/types/functions/engineering/hex2bin/__tests__/index.spec.d.ts +0 -16
  130. package/lib/types/functions/engineering/hex2dec/__tests__/index.spec.d.ts +0 -16
  131. package/lib/types/functions/engineering/hex2oct/__tests__/index.spec.d.ts +0 -16
  132. package/lib/types/functions/engineering/imabs/__tests__/index.spec.d.ts +0 -16
  133. package/lib/types/functions/engineering/imaginary/__tests__/index.spec.d.ts +0 -16
  134. package/lib/types/functions/engineering/imargument/__tests__/index.spec.d.ts +0 -16
  135. package/lib/types/functions/engineering/imconjugate/__tests__/index.spec.d.ts +0 -16
  136. package/lib/types/functions/engineering/imcos/__tests__/index.spec.d.ts +0 -16
  137. package/lib/types/functions/engineering/imcosh/__tests__/index.spec.d.ts +0 -16
  138. package/lib/types/functions/engineering/imcot/__tests__/index.spec.d.ts +0 -16
  139. package/lib/types/functions/engineering/imcoth/__tests__/index.spec.d.ts +0 -16
  140. package/lib/types/functions/engineering/imcsc/__tests__/index.spec.d.ts +0 -16
  141. package/lib/types/functions/engineering/imcsch/__tests__/index.spec.d.ts +0 -16
  142. package/lib/types/functions/engineering/imdiv/__tests__/index.spec.d.ts +0 -16
  143. package/lib/types/functions/engineering/imexp/__tests__/index.spec.d.ts +0 -16
  144. package/lib/types/functions/engineering/imln/__tests__/index.spec.d.ts +0 -16
  145. package/lib/types/functions/engineering/imlog/__tests__/index.spec.d.ts +0 -16
  146. package/lib/types/functions/engineering/imlog10/__tests__/index.spec.d.ts +0 -16
  147. package/lib/types/functions/engineering/imlog2/__tests__/index.spec.d.ts +0 -16
  148. package/lib/types/functions/engineering/impower/__tests__/index.spec.d.ts +0 -16
  149. package/lib/types/functions/engineering/improduct/__tests__/index.spec.d.ts +0 -16
  150. package/lib/types/functions/engineering/imreal/__tests__/index.spec.d.ts +0 -16
  151. package/lib/types/functions/engineering/imsec/__tests__/index.spec.d.ts +0 -16
  152. package/lib/types/functions/engineering/imsech/__tests__/index.spec.d.ts +0 -16
  153. package/lib/types/functions/engineering/imsin/__tests__/index.spec.d.ts +0 -16
  154. package/lib/types/functions/engineering/imsinh/__tests__/index.spec.d.ts +0 -16
  155. package/lib/types/functions/engineering/imsqrt/__tests__/index.spec.d.ts +0 -16
  156. package/lib/types/functions/engineering/imsub/__tests__/index.spec.d.ts +0 -16
  157. package/lib/types/functions/engineering/imsum/__tests__/index.spec.d.ts +0 -16
  158. package/lib/types/functions/engineering/imtan/__tests__/index.spec.d.ts +0 -16
  159. package/lib/types/functions/engineering/imtanh/__tests__/index.spec.d.ts +0 -16
  160. package/lib/types/functions/engineering/oct2bin/__tests__/index.spec.d.ts +0 -16
  161. package/lib/types/functions/engineering/oct2dec/__tests__/index.spec.d.ts +0 -16
  162. package/lib/types/functions/engineering/oct2hex/__tests__/index.spec.d.ts +0 -16
  163. package/lib/types/functions/financial/accrint/__tests__/index.spec.d.ts +0 -16
  164. package/lib/types/functions/financial/accrintm/__tests__/index.spec.d.ts +0 -16
  165. package/lib/types/functions/financial/amorlinc/__tests__/index.spec.d.ts +0 -16
  166. package/lib/types/functions/financial/coupdaybs/__tests__/index.spec.d.ts +0 -16
  167. package/lib/types/functions/financial/coupdays/__tests__/index.spec.d.ts +0 -16
  168. package/lib/types/functions/financial/coupdaysnc/__tests__/index.spec.d.ts +0 -16
  169. package/lib/types/functions/financial/coupncd/__tests__/index.spec.d.ts +0 -16
  170. package/lib/types/functions/financial/coupnum/__tests__/index.spec.d.ts +0 -16
  171. package/lib/types/functions/financial/couppcd/__tests__/index.spec.d.ts +0 -16
  172. package/lib/types/functions/financial/cumipmt/__tests__/index.spec.d.ts +0 -16
  173. package/lib/types/functions/financial/cumprinc/__tests__/index.spec.d.ts +0 -16
  174. package/lib/types/functions/financial/db/__tests__/index.spec.d.ts +0 -16
  175. package/lib/types/functions/financial/ddb/__tests__/index.spec.d.ts +0 -16
  176. package/lib/types/functions/financial/disc/__tests__/index.spec.d.ts +0 -16
  177. package/lib/types/functions/financial/dollarde/__tests__/index.spec.d.ts +0 -16
  178. package/lib/types/functions/financial/dollarfr/__tests__/index.spec.d.ts +0 -16
  179. package/lib/types/functions/financial/duration/__tests__/index.spec.d.ts +0 -16
  180. package/lib/types/functions/financial/effect/__tests__/index.spec.d.ts +0 -16
  181. package/lib/types/functions/financial/fv/__tests__/index.spec.d.ts +0 -16
  182. package/lib/types/functions/financial/fvschedule/__tests__/index.spec.d.ts +0 -16
  183. package/lib/types/functions/financial/intrate/__tests__/index.spec.d.ts +0 -16
  184. package/lib/types/functions/financial/ipmt/__tests__/index.spec.d.ts +0 -16
  185. package/lib/types/functions/financial/irr/__tests__/index.spec.d.ts +0 -16
  186. package/lib/types/functions/financial/ispmt/__tests__/index.spec.d.ts +0 -16
  187. package/lib/types/functions/financial/mduration/__tests__/index.spec.d.ts +0 -16
  188. package/lib/types/functions/financial/mirr/__tests__/index.spec.d.ts +0 -16
  189. package/lib/types/functions/financial/nominal/__tests__/index.spec.d.ts +0 -16
  190. package/lib/types/functions/financial/nper/__tests__/index.spec.d.ts +0 -16
  191. package/lib/types/functions/financial/npv/__tests__/index.spec.d.ts +0 -16
  192. package/lib/types/functions/financial/oddfprice/__tests__/index.spec.d.ts +0 -16
  193. package/lib/types/functions/financial/oddfyield/__tests__/index.spec.d.ts +0 -16
  194. package/lib/types/functions/financial/oddlprice/__tests__/index.spec.d.ts +0 -16
  195. package/lib/types/functions/financial/oddlyield/__tests__/index.spec.d.ts +0 -16
  196. package/lib/types/functions/financial/pduration/__tests__/index.spec.d.ts +0 -16
  197. package/lib/types/functions/financial/pmt/__tests__/index.spec.d.ts +0 -16
  198. package/lib/types/functions/financial/ppmt/__tests__/index.spec.d.ts +0 -16
  199. package/lib/types/functions/financial/price/__tests__/index.spec.d.ts +0 -16
  200. package/lib/types/functions/financial/pricedisc/__tests__/index.spec.d.ts +0 -16
  201. package/lib/types/functions/financial/pricemat/__tests__/index.spec.d.ts +0 -16
  202. package/lib/types/functions/financial/pv/__tests__/index.spec.d.ts +0 -16
  203. package/lib/types/functions/financial/rate/__tests__/index.spec.d.ts +0 -16
  204. package/lib/types/functions/financial/received/__tests__/index.spec.d.ts +0 -16
  205. package/lib/types/functions/financial/rri/__tests__/index.spec.d.ts +0 -16
  206. package/lib/types/functions/financial/sln/__tests__/index.spec.d.ts +0 -16
  207. package/lib/types/functions/financial/syd/__tests__/index.spec.d.ts +0 -16
  208. package/lib/types/functions/financial/tbilleq/__tests__/index.spec.d.ts +0 -16
  209. package/lib/types/functions/financial/tbillprice/__tests__/index.spec.d.ts +0 -16
  210. package/lib/types/functions/financial/tbillyield/__tests__/index.spec.d.ts +0 -16
  211. package/lib/types/functions/financial/vdb/__tests__/index.spec.d.ts +0 -16
  212. package/lib/types/functions/financial/xirr/__tests__/index.spec.d.ts +0 -16
  213. package/lib/types/functions/financial/xnpv/__tests__/index.spec.d.ts +0 -16
  214. package/lib/types/functions/financial/yield/__tests__/index.spec.d.ts +0 -16
  215. package/lib/types/functions/financial/yielddisc/__tests__/index.spec.d.ts +0 -16
  216. package/lib/types/functions/financial/yieldmat/__tests__/index.spec.d.ts +0 -16
  217. package/lib/types/functions/information/cell/__tests__/index.spec.d.ts +0 -16
  218. package/lib/types/functions/information/error-type/__tests__/index.spec.d.ts +0 -16
  219. package/lib/types/functions/information/isbetween/__tests__/index.spec.d.ts +0 -16
  220. package/lib/types/functions/information/isblank/__tests__/index.spec.d.ts +0 -16
  221. package/lib/types/functions/information/isdate/__tests__/index.spec.d.ts +0 -16
  222. package/lib/types/functions/information/isemail/__tests__/index.spec.d.ts +0 -16
  223. package/lib/types/functions/information/iserr/__tests__/index.spec.d.ts +0 -16
  224. package/lib/types/functions/information/iserror/__tests__/index.spec.d.ts +0 -16
  225. package/lib/types/functions/information/iseven/__tests__/iseven.spec.d.ts +0 -16
  226. package/lib/types/functions/information/isformula/__tests__/index.spec.d.ts +0 -16
  227. package/lib/types/functions/information/islogical/__tests__/index.spec.d.ts +0 -16
  228. package/lib/types/functions/information/isna/__tests__/index.spec.d.ts +0 -16
  229. package/lib/types/functions/information/isnontext/__tests__/index.spec.d.ts +0 -16
  230. package/lib/types/functions/information/isnumber/__tests__/index.spec.d.ts +0 -16
  231. package/lib/types/functions/information/isodd/__tests__/isodd.spec.d.ts +0 -16
  232. package/lib/types/functions/information/isref/__tests__/index.spec.d.ts +0 -16
  233. package/lib/types/functions/information/istext/__tests__/index.spec.d.ts +0 -16
  234. package/lib/types/functions/information/isurl/__tests__/index.spec.d.ts +0 -16
  235. package/lib/types/functions/information/n/__tests__/index.spec.d.ts +0 -16
  236. package/lib/types/functions/information/na/__tests__/index.spec.d.ts +0 -16
  237. package/lib/types/functions/information/sheet/__tests__/index.spec.d.ts +0 -16
  238. package/lib/types/functions/information/sheets/__tests__/index.spec.d.ts +0 -16
  239. package/lib/types/functions/information/type/__tests__/index.spec.d.ts +0 -16
  240. package/lib/types/functions/logical/and/__tests__/index.spec.d.ts +0 -16
  241. package/lib/types/functions/logical/false/__tests__/index.spec.d.ts +0 -16
  242. package/lib/types/functions/logical/if/__tests__/index.spec.d.ts +0 -16
  243. package/lib/types/functions/logical/iferror/__tests__/index.spec.d.ts +0 -16
  244. package/lib/types/functions/logical/ifna/__tests__/index.spec.d.ts +0 -16
  245. package/lib/types/functions/logical/ifs/__tests__/index.spec.d.ts +0 -16
  246. package/lib/types/functions/logical/not/__tests__/index.spec.d.ts +0 -16
  247. package/lib/types/functions/logical/or/__tests__/index.spec.d.ts +0 -16
  248. package/lib/types/functions/logical/switch/__tests__/index.spec.d.ts +0 -16
  249. package/lib/types/functions/logical/true/__tests__/index.spec.d.ts +0 -16
  250. package/lib/types/functions/logical/xor/__tests__/index.spec.d.ts +0 -16
  251. package/lib/types/functions/lookup/address/__tests__/index.spec.d.ts +0 -16
  252. package/lib/types/functions/lookup/areas/__tests__/index.spec.d.ts +0 -16
  253. package/lib/types/functions/lookup/choose/__tests__/index.spec.d.ts +0 -16
  254. package/lib/types/functions/lookup/choosecols/__tests__/index.spec.d.ts +0 -16
  255. package/lib/types/functions/lookup/chooserows/__tests__/index.spec.d.ts +0 -16
  256. package/lib/types/functions/lookup/column/__tests__/index.spec.d.ts +0 -16
  257. package/lib/types/functions/lookup/columns/__tests__/index.spec.d.ts +0 -16
  258. package/lib/types/functions/lookup/drop/__tests__/index.spec.d.ts +0 -16
  259. package/lib/types/functions/lookup/expand/__tests__/index.spec.d.ts +0 -16
  260. package/lib/types/functions/lookup/filter/__tests__/index.spec.d.ts +0 -16
  261. package/lib/types/functions/lookup/formulatext/__tests__/index.spec.d.ts +0 -16
  262. package/lib/types/functions/lookup/hlookup/__tests__/index.spec.d.ts +0 -16
  263. package/lib/types/functions/lookup/hstack/__tests__/index.spec.d.ts +0 -16
  264. package/lib/types/functions/lookup/lookup/__tests__/index.spec.d.ts +0 -16
  265. package/lib/types/functions/lookup/match/__tests__/index.spec.d.ts +0 -16
  266. package/lib/types/functions/lookup/offset/__tests__/index.spec.d.ts +0 -16
  267. package/lib/types/functions/lookup/row/__tests__/index.spec.d.ts +0 -16
  268. package/lib/types/functions/lookup/rows/__tests__/index.spec.d.ts +0 -16
  269. package/lib/types/functions/lookup/sort/__tests__/index.spec.d.ts +0 -16
  270. package/lib/types/functions/lookup/sortby/__tests__/index.spec.d.ts +0 -16
  271. package/lib/types/functions/lookup/take/__tests__/index.spec.d.ts +0 -16
  272. package/lib/types/functions/lookup/tocol/__tests__/index.spec.d.ts +0 -16
  273. package/lib/types/functions/lookup/torow/__tests__/index.spec.d.ts +0 -16
  274. package/lib/types/functions/lookup/transpose/__tests__/index.spec.d.ts +0 -16
  275. package/lib/types/functions/lookup/unique/__tests__/index.spec.d.ts +0 -16
  276. package/lib/types/functions/lookup/vlookup/__tests__/index.spec.d.ts +0 -16
  277. package/lib/types/functions/lookup/vstack/__tests__/index.spec.d.ts +0 -16
  278. package/lib/types/functions/lookup/wrapcols/__tests__/index.spec.d.ts +0 -16
  279. package/lib/types/functions/lookup/wraprows/__tests__/index.spec.d.ts +0 -16
  280. package/lib/types/functions/lookup/xlookup/__tests__/index.spec.d.ts +0 -16
  281. package/lib/types/functions/lookup/xmatch/__tests__/index.spec.d.ts +0 -16
  282. package/lib/types/functions/math/abs/__tests__/index.spec.d.ts +0 -16
  283. package/lib/types/functions/math/acos/__tests__/index.spec.d.ts +0 -16
  284. package/lib/types/functions/math/acosh/__tests__/index.spec.d.ts +0 -16
  285. package/lib/types/functions/math/acot/__tests__/index.spec.d.ts +0 -16
  286. package/lib/types/functions/math/acoth/__tests__/index.spec.d.ts +0 -16
  287. package/lib/types/functions/math/arabic/__tests__/index.spec.d.ts +0 -16
  288. package/lib/types/functions/math/asin/__tests__/index.spec.d.ts +0 -16
  289. package/lib/types/functions/math/asinh/__tests__/index.spec.d.ts +0 -16
  290. package/lib/types/functions/math/atan/__tests__/index.spec.d.ts +0 -16
  291. package/lib/types/functions/math/atan2/__tests__/index.spec.d.ts +0 -16
  292. package/lib/types/functions/math/atanh/__tests__/index.spec.d.ts +0 -16
  293. package/lib/types/functions/math/base/__tests__/index.spec.d.ts +0 -16
  294. package/lib/types/functions/math/ceiling/__tests__/index.spec.d.ts +0 -16
  295. package/lib/types/functions/math/ceiling-math/__tests__/index.spec.d.ts +0 -16
  296. package/lib/types/functions/math/ceiling-precise/__tests__/index.spec.d.ts +0 -16
  297. package/lib/types/functions/math/combin/__tests__/index.spec.d.ts +0 -16
  298. package/lib/types/functions/math/combina/__tests__/index.spec.d.ts +0 -16
  299. package/lib/types/functions/math/cos/__tests__/index.spec.d.ts +0 -16
  300. package/lib/types/functions/math/cosh/__tests__/index.spec.d.ts +0 -16
  301. package/lib/types/functions/math/cot/__tests__/index.spec.d.ts +0 -16
  302. package/lib/types/functions/math/coth/__tests__/index.spec.d.ts +0 -16
  303. package/lib/types/functions/math/csc/__tests__/index.spec.d.ts +0 -16
  304. package/lib/types/functions/math/csch/__tests__/index.spec.d.ts +0 -16
  305. package/lib/types/functions/math/decimal/__tests__/index.spec.d.ts +0 -16
  306. package/lib/types/functions/math/degrees/__tests__/index.spec.d.ts +0 -16
  307. package/lib/types/functions/math/even/__tests__/index.spec.d.ts +0 -16
  308. package/lib/types/functions/math/exp/__tests__/index.spec.d.ts +0 -16
  309. package/lib/types/functions/math/fact/__tests__/index.spec.d.ts +0 -16
  310. package/lib/types/functions/math/factdouble/__tests__/index.spec.d.ts +0 -16
  311. package/lib/types/functions/math/floor/__tests__/index.spec.d.ts +0 -16
  312. package/lib/types/functions/math/floor-math/__tests__/index.spec.d.ts +0 -16
  313. package/lib/types/functions/math/floor-precise/__tests__/index.spec.d.ts +0 -16
  314. package/lib/types/functions/math/gcd/__tests__/index.spec.d.ts +0 -16
  315. package/lib/types/functions/math/int/__tests__/index.spec.d.ts +0 -16
  316. package/lib/types/functions/math/lcm/__tests__/index.spec.d.ts +0 -16
  317. package/lib/types/functions/math/ln/__tests__/index.spec.d.ts +0 -16
  318. package/lib/types/functions/math/log/__tests__/index.spec.d.ts +0 -16
  319. package/lib/types/functions/math/log10/__tests__/index.spec.d.ts +0 -16
  320. package/lib/types/functions/math/mdeterm/__tests__/index.spec.d.ts +0 -16
  321. package/lib/types/functions/math/minverse/__tests__/index.spec.d.ts +0 -16
  322. package/lib/types/functions/math/mmult/__tests__/index.spec.d.ts +0 -16
  323. package/lib/types/functions/math/mod/__tests__/index.spec.d.ts +0 -16
  324. package/lib/types/functions/math/mround/__tests__/index.spec.d.ts +0 -16
  325. package/lib/types/functions/math/multinomial/__tests__/index.spec.d.ts +0 -16
  326. package/lib/types/functions/math/munit/__tests__/index.spec.d.ts +0 -16
  327. package/lib/types/functions/math/odd/__tests__/index.spec.d.ts +0 -16
  328. package/lib/types/functions/math/pi/__tests__/index.spec.d.ts +0 -16
  329. package/lib/types/functions/math/power/__tests__/index.spec.d.ts +0 -16
  330. package/lib/types/functions/math/product/__tests__/index.spec.d.ts +0 -16
  331. package/lib/types/functions/math/quotient/__tests__/index.spec.d.ts +0 -16
  332. package/lib/types/functions/math/radians/__tests__/index.spec.d.ts +0 -16
  333. package/lib/types/functions/math/rand/__tests__/index.spec.d.ts +0 -16
  334. package/lib/types/functions/math/randarray/__tests__/index.spec.d.ts +0 -16
  335. package/lib/types/functions/math/randbetween/__tests__/index.spec.d.ts +0 -16
  336. package/lib/types/functions/math/roman/__tests__/index.spec.d.ts +0 -16
  337. package/lib/types/functions/math/round/__tests__/index.spec.d.ts +0 -16
  338. package/lib/types/functions/math/roundbank/__tests__/index.spec.d.ts +0 -16
  339. package/lib/types/functions/math/rounddown/__tests__/index.spec.d.ts +0 -16
  340. package/lib/types/functions/math/roundup/__tests__/index.spec.d.ts +0 -16
  341. package/lib/types/functions/math/sec/__tests__/index.spec.d.ts +0 -16
  342. package/lib/types/functions/math/sech/__tests__/index.spec.d.ts +0 -16
  343. package/lib/types/functions/math/sequence/__tests__/index.spec.d.ts +0 -16
  344. package/lib/types/functions/math/seriessum/__tests__/index.spec.d.ts +0 -16
  345. package/lib/types/functions/math/sign/__tests__/index.spec.d.ts +0 -16
  346. package/lib/types/functions/math/sin/__tests__/index.spec.d.ts +0 -16
  347. package/lib/types/functions/math/sinh/__tests__/index.spec.d.ts +0 -16
  348. package/lib/types/functions/math/sqrt/__tests__/index.spec.d.ts +0 -16
  349. package/lib/types/functions/math/sqrtpi/__tests__/index.spec.d.ts +0 -16
  350. package/lib/types/functions/math/subtotal/__tests__/index.spec.d.ts +0 -16
  351. package/lib/types/functions/math/sum/__tests__/index.spec.d.ts +0 -16
  352. package/lib/types/functions/math/sumif/__tests__/index.spec.d.ts +0 -16
  353. package/lib/types/functions/math/sumifs/__tests__/index.spec.d.ts +0 -16
  354. package/lib/types/functions/math/sumproduct/__tests__/index.spec.d.ts +0 -16
  355. package/lib/types/functions/math/sumsq/__tests__/index.spec.d.ts +0 -16
  356. package/lib/types/functions/math/sumx2my2/__tests__/index.spec.d.ts +0 -16
  357. package/lib/types/functions/math/sumx2py2/__tests__/index.spec.d.ts +0 -16
  358. package/lib/types/functions/math/sumxmy2/__tests__/index.spec.d.ts +0 -16
  359. package/lib/types/functions/math/tan/__tests__/index.spec.d.ts +0 -16
  360. package/lib/types/functions/math/tanh/__tests__/index.spec.d.ts +0 -16
  361. package/lib/types/functions/math/trunc/__tests__/index.spec.d.ts +0 -16
  362. package/lib/types/functions/meta/compare/__tests__/index.spec.d.ts +0 -16
  363. package/lib/types/functions/statistical/avedev/__tests__/index.spec.d.ts +0 -16
  364. package/lib/types/functions/statistical/average/__tests__/index.spec.d.ts +0 -16
  365. package/lib/types/functions/statistical/average-weighted/__tests__/index.spec.d.ts +0 -16
  366. package/lib/types/functions/statistical/averagea/__tests__/index.spec.d.ts +0 -16
  367. package/lib/types/functions/statistical/averageif/__tests__/index.spec.d.ts +0 -16
  368. package/lib/types/functions/statistical/averageifs/__tests__/index.spec.d.ts +0 -16
  369. package/lib/types/functions/statistical/beta-dist/__tests__/index.spec.d.ts +0 -16
  370. package/lib/types/functions/statistical/beta-inv/__tests__/index.spec.d.ts +0 -16
  371. package/lib/types/functions/statistical/binom-dist/__tests__/index.spec.d.ts +0 -16
  372. package/lib/types/functions/statistical/binom-dist-range/__tests__/index.spec.d.ts +0 -16
  373. package/lib/types/functions/statistical/binom-inv/__tests__/index.spec.d.ts +0 -16
  374. package/lib/types/functions/statistical/chisq-dist/__tests__/index.spec.d.ts +0 -16
  375. package/lib/types/functions/statistical/chisq-dist-rt/__tests__/index.spec.d.ts +0 -16
  376. package/lib/types/functions/statistical/chisq-inv/__tests__/index.spec.d.ts +0 -16
  377. package/lib/types/functions/statistical/chisq-inv-rt/__tests__/index.spec.d.ts +0 -16
  378. package/lib/types/functions/statistical/chisq-test/__tests__/index.spec.d.ts +0 -16
  379. package/lib/types/functions/statistical/confidence-norm/__tests__/index.spec.d.ts +0 -16
  380. package/lib/types/functions/statistical/confidence-t/__tests__/index.spec.d.ts +0 -16
  381. package/lib/types/functions/statistical/correl/__tests__/index.spec.d.ts +0 -16
  382. package/lib/types/functions/statistical/count/__tests__/index.spec.d.ts +0 -16
  383. package/lib/types/functions/statistical/counta/__tests__/index.spec.d.ts +0 -16
  384. package/lib/types/functions/statistical/countblank/__tests__/index.spec.d.ts +0 -16
  385. package/lib/types/functions/statistical/countif/__tests__/index.spec.d.ts +0 -16
  386. package/lib/types/functions/statistical/countifs/__tests__/index.spec.d.ts +0 -16
  387. package/lib/types/functions/statistical/covariance-p/__tests__/index.spec.d.ts +0 -16
  388. package/lib/types/functions/statistical/covariance-s/__tests__/index.spec.d.ts +0 -16
  389. package/lib/types/functions/statistical/devsq/__tests__/index.spec.d.ts +0 -16
  390. package/lib/types/functions/statistical/expon-dist/__tests__/index.spec.d.ts +0 -16
  391. package/lib/types/functions/statistical/f-dist/__tests__/index.spec.d.ts +0 -16
  392. package/lib/types/functions/statistical/f-dist-rt/__tests__/index.spec.d.ts +0 -16
  393. package/lib/types/functions/statistical/f-inv/__tests__/index.spec.d.ts +0 -16
  394. package/lib/types/functions/statistical/f-inv-rt/__tests__/index.spec.d.ts +0 -16
  395. package/lib/types/functions/statistical/f-test/__tests__/index.spec.d.ts +0 -16
  396. package/lib/types/functions/statistical/fisher/__tests__/index.spec.d.ts +0 -16
  397. package/lib/types/functions/statistical/fisherinv/__tests__/index.spec.d.ts +0 -16
  398. package/lib/types/functions/statistical/forecast/__tests__/index.spec.d.ts +0 -16
  399. package/lib/types/functions/statistical/frequency/__tests__/index.spec.d.ts +0 -16
  400. package/lib/types/functions/statistical/gamma/__tests__/index.spec.d.ts +0 -16
  401. package/lib/types/functions/statistical/gamma-dist/__tests__/index.spec.d.ts +0 -16
  402. package/lib/types/functions/statistical/gamma-inv/__tests__/index.spec.d.ts +0 -16
  403. package/lib/types/functions/statistical/gammaln/__tests__/index.spec.d.ts +0 -16
  404. package/lib/types/functions/statistical/gauss/__tests__/index.spec.d.ts +0 -16
  405. package/lib/types/functions/statistical/geomean/__tests__/index.spec.d.ts +0 -16
  406. package/lib/types/functions/statistical/growth/__tests__/index.spec.d.ts +0 -16
  407. package/lib/types/functions/statistical/harmean/__tests__/index.spec.d.ts +0 -16
  408. package/lib/types/functions/statistical/hypgeom-dist/__tests__/index.spec.d.ts +0 -16
  409. package/lib/types/functions/statistical/intercept/__tests__/index.spec.d.ts +0 -16
  410. package/lib/types/functions/statistical/kurt/__tests__/index.spec.d.ts +0 -16
  411. package/lib/types/functions/statistical/large/__tests__/index.spec.d.ts +0 -16
  412. package/lib/types/functions/statistical/linest/__tests__/index.spec.d.ts +0 -16
  413. package/lib/types/functions/statistical/logest/__tests__/index.spec.d.ts +0 -16
  414. package/lib/types/functions/statistical/lognorm-dist/__tests__/index.spec.d.ts +0 -16
  415. package/lib/types/functions/statistical/lognorm-inv/__tests__/index.spec.d.ts +0 -16
  416. package/lib/types/functions/statistical/marginoferror/__tests__/index.spec.d.ts +0 -16
  417. package/lib/types/functions/statistical/max/__tests__/index.spec.d.ts +0 -16
  418. package/lib/types/functions/statistical/maxa/__tests__/index.spec.d.ts +0 -16
  419. package/lib/types/functions/statistical/maxifs/__tests__/index.spec.d.ts +0 -16
  420. package/lib/types/functions/statistical/median/__tests__/index.spec.d.ts +0 -16
  421. package/lib/types/functions/statistical/min/__tests__/index.spec.d.ts +0 -16
  422. package/lib/types/functions/statistical/mina/__tests__/index.spec.d.ts +0 -16
  423. package/lib/types/functions/statistical/minifs/__tests__/index.spec.d.ts +0 -16
  424. package/lib/types/functions/statistical/mode-mult/__tests__/index.spec.d.ts +0 -16
  425. package/lib/types/functions/statistical/mode-sngl/__tests__/index.spec.d.ts +0 -16
  426. package/lib/types/functions/statistical/negbinom-dist/__tests__/index.spec.d.ts +0 -16
  427. package/lib/types/functions/statistical/norm-dist/__tests__/index.spec.d.ts +0 -16
  428. package/lib/types/functions/statistical/norm-inv/__tests__/index.spec.d.ts +0 -16
  429. package/lib/types/functions/statistical/norm-s-dist/__tests__/index.spec.d.ts +0 -16
  430. package/lib/types/functions/statistical/norm-s-inv/__tests__/index.spec.d.ts +0 -16
  431. package/lib/types/functions/statistical/pearson/__tests__/index.spec.d.ts +0 -16
  432. package/lib/types/functions/statistical/percentile-exc/__tests__/index.spec.d.ts +0 -16
  433. package/lib/types/functions/statistical/percentile-inc/__tests__/index.spec.d.ts +0 -16
  434. package/lib/types/functions/statistical/percentrank-exc/__tests__/index.spec.d.ts +0 -16
  435. package/lib/types/functions/statistical/percentrank-inc/__tests__/index.spec.d.ts +0 -16
  436. package/lib/types/functions/statistical/permut/__tests__/index.spec.d.ts +0 -16
  437. package/lib/types/functions/statistical/permutationa/__tests__/index.spec.d.ts +0 -16
  438. package/lib/types/functions/statistical/phi/__tests__/index.spec.d.ts +0 -16
  439. package/lib/types/functions/statistical/poisson-dist/__tests__/index.spec.d.ts +0 -16
  440. package/lib/types/functions/statistical/prob/__tests__/index.spec.d.ts +0 -16
  441. package/lib/types/functions/statistical/quartile-exc/__tests__/index.spec.d.ts +0 -16
  442. package/lib/types/functions/statistical/quartile-inc/__tests__/index.spec.d.ts +0 -16
  443. package/lib/types/functions/statistical/rank-avg/__tests__/index.spec.d.ts +0 -16
  444. package/lib/types/functions/statistical/rank-eq/__tests__/index.spec.d.ts +0 -16
  445. package/lib/types/functions/statistical/rsq/__tests__/index.spec.d.ts +0 -16
  446. package/lib/types/functions/statistical/skew/__tests__/index.spec.d.ts +0 -16
  447. package/lib/types/functions/statistical/skew-p/__tests__/index.spec.d.ts +0 -16
  448. package/lib/types/functions/statistical/slope/__tests__/index.spec.d.ts +0 -16
  449. package/lib/types/functions/statistical/small/__tests__/index.spec.d.ts +0 -16
  450. package/lib/types/functions/statistical/standardize/__tests__/index.spec.d.ts +0 -16
  451. package/lib/types/functions/statistical/stdev-p/__tests__/index.spec.d.ts +0 -16
  452. package/lib/types/functions/statistical/stdev-s/__tests__/index.spec.d.ts +0 -16
  453. package/lib/types/functions/statistical/stdeva/__tests__/index.spec.d.ts +0 -16
  454. package/lib/types/functions/statistical/stdevpa/__tests__/index.spec.d.ts +0 -16
  455. package/lib/types/functions/statistical/steyx/__tests__/index.spec.d.ts +0 -16
  456. package/lib/types/functions/statistical/t-dist/__tests__/index.spec.d.ts +0 -16
  457. package/lib/types/functions/statistical/t-dist-2t/__tests__/index.spec.d.ts +0 -16
  458. package/lib/types/functions/statistical/t-dist-rt/__tests__/index.spec.d.ts +0 -16
  459. package/lib/types/functions/statistical/t-inv/__tests__/index.spec.d.ts +0 -16
  460. package/lib/types/functions/statistical/t-inv-2t/__tests__/index.spec.d.ts +0 -16
  461. package/lib/types/functions/statistical/t-test/__tests__/index.spec.d.ts +0 -16
  462. package/lib/types/functions/statistical/trend/__tests__/index.spec.d.ts +0 -16
  463. package/lib/types/functions/statistical/trimmean/__tests__/index.spec.d.ts +0 -16
  464. package/lib/types/functions/statistical/var-p/__tests__/index.spec.d.ts +0 -16
  465. package/lib/types/functions/statistical/var-s/__tests__/index.spec.d.ts +0 -16
  466. package/lib/types/functions/statistical/vara/__tests__/index.spec.d.ts +0 -16
  467. package/lib/types/functions/statistical/varpa/__tests__/index.spec.d.ts +0 -16
  468. package/lib/types/functions/statistical/weibull-dist/__tests__/index.spec.d.ts +0 -16
  469. package/lib/types/functions/statistical/z-test/__tests__/index.spec.d.ts +0 -16
  470. package/lib/types/functions/text/concat/__tests__/index.spec.d.ts +0 -16
  471. package/lib/types/functions/text/concatenate/__tests__/index.spec.d.ts +0 -16
  472. package/lib/types/functions/web/encodeurl/__tests__/index.spec.d.ts +0 -16
  473. package/lib/types/models/__tests__/create-command-test-bed.d.ts +0 -13
  474. package/lib/types/models/__tests__/formula-data.model.spec.d.ts +0 -16
@@ -2,6 +2,7 @@ import { IDisposable, FBase, ICommandService, IConfigService, Injector } from '@
2
2
  import { FormulaExecutedStateType, IExecutionInProgressParams, ISequenceNode, LexerTreeBuilder } from '@univerjs/engine-formula';
3
3
  /**
4
4
  * This interface class provides methods to modify the behavior of the operation formula.
5
+ * @hideconstructor
5
6
  */
6
7
  export declare class FFormula extends FBase {
7
8
  protected readonly _commandService: ICommandService;
@@ -9,6 +10,9 @@ export declare class FFormula extends FBase {
9
10
  private _lexerTreeBuilder;
10
11
  protected readonly _configService: IConfigService;
11
12
  constructor(_commandService: ICommandService, _injector: Injector, _lexerTreeBuilder: LexerTreeBuilder, _configService: IConfigService);
13
+ /**
14
+ * @ignore
15
+ */
12
16
  _initialize(): void;
13
17
  /**
14
18
  * The tree builder for formula string.
@@ -1,5 +1,8 @@
1
1
  import { FUniver } from '@univerjs/core';
2
2
  import { FFormula } from './f-formula';
3
+ /**
4
+ * @ignore
5
+ */
3
6
  export interface IFUniverEngineFormulaMixin {
4
7
  getFormula(): FFormula;
5
8
  }
@@ -1,7 +1,10 @@
1
+ import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
1
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
3
  import { BaseFunction } from '../../base-function';
3
4
  export declare class T extends BaseFunction {
4
5
  minParams: number;
5
6
  maxParams: number;
6
- calculate(value: BaseValueObject): BaseValueObject;
7
+ needsReferenceObject: boolean;
8
+ calculate(value: FunctionVariantType): BaseValueObject;
9
+ private _handleSingleObject;
7
10
  }
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(a,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@univerjs/core"),require("@univerjs/engine-formula")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core","@univerjs/engine-formula"],n):(a=typeof globalThis<"u"?globalThis:a||self,n(a.UniverEngineFormulaFacade={},a.UniverCore,a.UniverEngineFormula))})(this,function(a,n,o){"use strict";var d=Object.defineProperty,m=Object.getOwnPropertyDescriptor,f=(u,e,t,i)=>{for(var r=i>1?void 0:i?m(e,t):e,s=u.length-1,l;s>=0;s--)(l=u[s])&&(r=(i?l(e,t,r):l(r))||r);return i&&r&&d(e,t,r),r},c=(u,e)=>(t,i)=>e(t,i,u);a.FFormula=class extends n.FBase{constructor(e,t,i,r){super(),this._commandService=e,this._injector=t,this._lexerTreeBuilder=i,this._configService=r,this._initialize()}_initialize(){}get lexerTreeBuilder(){return this._lexerTreeBuilder}moveFormulaRefOffset(e,t,i,r){return this._lexerTreeBuilder.moveFormulaRefOffset(e,t,i,r)}sequenceNodesBuilder(e){return this._lexerTreeBuilder.sequenceNodesBuilder(e)||[]}executeCalculation(){this._commandService.executeCommand(o.SetFormulaCalculationStartMutation.id,{commands:[],forceCalculation:!0},{onlyLocal:!0})}stopCalculation(){this._commandService.executeCommand(o.SetFormulaCalculationStopMutation.id,{})}calculationStart(e){return this._commandService.onCommandExecuted(t=>{if(t.id===o.SetFormulaCalculationStartMutation.id){const i=t.params;e(i.forceCalculation)}})}calculationEnd(e){return this._commandService.onCommandExecuted(t=>{if(t.id!==o.SetFormulaCalculationNotificationMutation.id)return;const i=t.params;i.functionsExecutedState!==void 0&&e(i.functionsExecutedState)})}onCalculationEnd(){return new Promise((e,t)=>{const i=setTimeout(()=>{t(new Error("Calculation end timeout"))},3e4),r=this.calculationEnd(()=>{clearTimeout(i),r.dispose(),e()})})}calculationProcessing(e){return this._commandService.onCommandExecuted(t=>{if(t.id!==o.SetFormulaCalculationNotificationMutation.id)return;const i=t.params;i.stageInfo!==void 0&&e(i.stageInfo)})}setMaxIteration(e){this._configService.setConfig(o.ENGINE_FORMULA_CYCLE_REFERENCE_COUNT,e)}},a.FFormula=f([c(0,n.Inject(n.ICommandService)),c(1,n.Inject(n.Injector)),c(2,n.Inject(o.LexerTreeBuilder)),c(3,n.IConfigService)],a.FFormula);class v extends n.FUniver{getFormula(){return this._injector.createInstance(a.FFormula)}}n.FUniver.extend(v),Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
1
+ (function(global,factory){typeof exports=="object"&&typeof module<"u"?factory(exports,require("@univerjs/core"),require("@univerjs/engine-formula")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core","@univerjs/engine-formula"],factory):(global=typeof globalThis<"u"?globalThis:global||self,factory(global.UniverEngineFormulaFacade={},global.UniverCore,global.UniverEngineFormula))})(this,function(exports2,core,engineFormula){"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});var _a;var __defProp2=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__decorateClass=__name((decorators,target,key,kind)=>{for(var result=kind>1?void 0:kind?__getOwnPropDesc(target,key):target,i=decorators.length-1,decorator;i>=0;i--)(decorator=decorators[i])&&(result=(kind?decorator(target,key,result):decorator(result))||result);return kind&&result&&__defProp2(target,key,result),result},"__decorateClass"),__decorateParam=__name((index,decorator)=>(target,key)=>decorator(target,key,index),"__decorateParam");exports2.FFormula=(_a=class extends core.FBase{constructor(_commandService,_injector,_lexerTreeBuilder,_configService){super(),this._commandService=_commandService,this._injector=_injector,this._lexerTreeBuilder=_lexerTreeBuilder,this._configService=_configService,this._initialize()}_initialize(){}get lexerTreeBuilder(){return this._lexerTreeBuilder}moveFormulaRefOffset(formulaString,refOffsetX,refOffsetY,ignoreAbsolute){return this._lexerTreeBuilder.moveFormulaRefOffset(formulaString,refOffsetX,refOffsetY,ignoreAbsolute)}sequenceNodesBuilder(formulaString){return this._lexerTreeBuilder.sequenceNodesBuilder(formulaString)||[]}executeCalculation(){this._commandService.executeCommand(engineFormula.SetFormulaCalculationStartMutation.id,{commands:[],forceCalculation:!0},{onlyLocal:!0})}stopCalculation(){this._commandService.executeCommand(engineFormula.SetFormulaCalculationStopMutation.id,{})}calculationStart(callback){return this._commandService.onCommandExecuted(command=>{if(command.id===engineFormula.SetFormulaCalculationStartMutation.id){const params=command.params;callback(params.forceCalculation)}})}calculationEnd(callback){return this._commandService.onCommandExecuted(command=>{if(command.id!==engineFormula.SetFormulaCalculationNotificationMutation.id)return;const params=command.params;params.functionsExecutedState!==void 0&&callback(params.functionsExecutedState)})}onCalculationEnd(){return new Promise((resolve,reject)=>{const timer=setTimeout(()=>{reject(new Error("Calculation end timeout"))},3e4),disposable=this.calculationEnd(()=>{clearTimeout(timer),disposable.dispose(),resolve()})})}calculationProcessing(callback){return this._commandService.onCommandExecuted(command=>{if(command.id!==engineFormula.SetFormulaCalculationNotificationMutation.id)return;const params=command.params;params.stageInfo!==void 0&&callback(params.stageInfo)})}setMaxIteration(maxIteration){this._configService.setConfig(engineFormula.ENGINE_FORMULA_CYCLE_REFERENCE_COUNT,maxIteration)}},__name(_a,"FFormula"),_a),exports2.FFormula=__decorateClass([__decorateParam(0,core.Inject(core.ICommandService)),__decorateParam(1,core.Inject(core.Injector)),__decorateParam(2,core.Inject(engineFormula.LexerTreeBuilder)),__decorateParam(3,core.IConfigService)],exports2.FFormula);const _FUniverEngineFormulaMixin=class _FUniverEngineFormulaMixin extends core.FUniver{getFormula(){return this._injector.createInstance(exports2.FFormula)}};__name(_FUniverEngineFormulaMixin,"FUniverEngineFormulaMixin");let FUniverEngineFormulaMixin=_FUniverEngineFormulaMixin;core.FUniver.extend(FUniverEngineFormulaMixin),Object.defineProperty(exports2,Symbol.toStringTag,{value:"Module"})});