@univerjs/engine-formula 0.2.6 → 0.2.8

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 (403) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +3377 -663
  3. package/lib/types/basics/calculate.d.ts +0 -1
  4. package/lib/types/basics/common.d.ts +0 -1
  5. package/lib/types/basics/date.d.ts +4 -1
  6. package/lib/types/basics/dirty.d.ts +0 -1
  7. package/lib/types/basics/engineering.d.ts +25 -0
  8. package/lib/types/basics/financial.d.ts +18 -0
  9. package/lib/types/basics/function.d.ts +0 -1
  10. package/lib/types/basics/match-token.d.ts +0 -1
  11. package/lib/types/basics/object-class-type.d.ts +0 -1
  12. package/lib/types/basics/runtime.d.ts +0 -1
  13. package/lib/types/commands/mutations/register-function.mutation.d.ts +0 -1
  14. package/lib/types/commands/mutations/set-array-formula-data.mutation.d.ts +0 -1
  15. package/lib/types/commands/mutations/set-defined-name.mutation.d.ts +0 -1
  16. package/lib/types/commands/mutations/set-feature-calculation.mutation.d.ts +0 -1
  17. package/lib/types/commands/mutations/set-formula-calculation.mutation.d.ts +0 -1
  18. package/lib/types/commands/mutations/set-formula-data.mutation.d.ts +0 -1
  19. package/lib/types/commands/mutations/set-other-formula.mutation.d.ts +0 -1
  20. package/lib/types/commands/mutations/set-super-table.mutation.d.ts +0 -1
  21. package/lib/types/controller/calculate.controller.d.ts +0 -1
  22. package/lib/types/controller/formula.controller.d.ts +0 -1
  23. package/lib/types/controller/set-defined-name.controller.d.ts +0 -1
  24. package/lib/types/controller/set-dependency.controller.d.ts +0 -1
  25. package/lib/types/controller/set-feature-calculation.controller.d.ts +0 -1
  26. package/lib/types/controller/set-other-formula.controller.d.ts +0 -1
  27. package/lib/types/controller/set-super-table.controller.d.ts +0 -1
  28. package/lib/types/engine/analysis/__tests__/create-command-test-bed.d.ts +0 -1
  29. package/lib/types/engine/analysis/lexer-node.d.ts +0 -1
  30. package/lib/types/engine/analysis/lexer-tree-builder.d.ts +0 -1
  31. package/lib/types/engine/analysis/lexer.d.ts +0 -1
  32. package/lib/types/engine/analysis/parser.d.ts +0 -1
  33. package/lib/types/engine/ast-node/ast-root-node.d.ts +0 -1
  34. package/lib/types/engine/ast-node/base-ast-node-factory.d.ts +0 -1
  35. package/lib/types/engine/ast-node/base-ast-node.d.ts +0 -1
  36. package/lib/types/engine/ast-node/function-node.d.ts +0 -1
  37. package/lib/types/engine/ast-node/lambda-node.d.ts +0 -1
  38. package/lib/types/engine/ast-node/lambda-parameter-node.d.ts +0 -1
  39. package/lib/types/engine/ast-node/null-node.d.ts +0 -1
  40. package/lib/types/engine/ast-node/operator-node.d.ts +0 -1
  41. package/lib/types/engine/ast-node/prefix-node.d.ts +0 -1
  42. package/lib/types/engine/ast-node/reference-node.d.ts +0 -1
  43. package/lib/types/engine/ast-node/suffix-node.d.ts +0 -1
  44. package/lib/types/engine/ast-node/union-node.d.ts +0 -1
  45. package/lib/types/engine/ast-node/value-node.d.ts +0 -1
  46. package/lib/types/engine/dependency/dependency-tree.d.ts +1 -2
  47. package/lib/types/engine/dependency/formula-dependency.d.ts +6 -2
  48. package/lib/types/engine/interpreter/interpreter.d.ts +0 -1
  49. package/lib/types/engine/reference-object/base-reference-object.d.ts +0 -1
  50. package/lib/types/engine/reference-object/cell-reference-object.d.ts +0 -1
  51. package/lib/types/engine/reference-object/column-reference-object.d.ts +0 -1
  52. package/lib/types/engine/reference-object/range-reference-object.d.ts +0 -1
  53. package/lib/types/engine/reference-object/row-reference-object.d.ts +0 -1
  54. package/lib/types/engine/reference-object/table-reference-object.d.ts +0 -1
  55. package/lib/types/engine/utils/array-object.d.ts +0 -1
  56. package/lib/types/engine/utils/ast-node-tool.d.ts +0 -1
  57. package/lib/types/engine/utils/cell.d.ts +0 -1
  58. package/lib/types/engine/utils/check-variant-error.d.ts +20 -0
  59. package/lib/types/engine/utils/compare.d.ts +0 -1
  60. package/lib/types/engine/utils/function-definition.d.ts +0 -1
  61. package/lib/types/engine/utils/get-runtime-feature-cell.d.ts +4 -0
  62. package/lib/types/engine/utils/node-type.d.ts +0 -1
  63. package/lib/types/engine/utils/numfmt-kit.d.ts +0 -1
  64. package/lib/types/engine/utils/object-compare.d.ts +0 -1
  65. package/lib/types/engine/utils/prefixHandler.d.ts +0 -1
  66. package/lib/types/engine/utils/r1c1-reference.d.ts +0 -1
  67. package/lib/types/engine/utils/reference.d.ts +0 -1
  68. package/lib/types/engine/utils/relative-formula.d.ts +0 -1
  69. package/lib/types/engine/utils/sequence.d.ts +0 -1
  70. package/lib/types/engine/utils/value-object.d.ts +0 -1
  71. package/lib/types/engine/value-object/array-value-object.d.ts +0 -1
  72. package/lib/types/engine/value-object/base-value-object.d.ts +0 -1
  73. package/lib/types/engine/value-object/cube-value-object.d.ts +0 -1
  74. package/lib/types/engine/value-object/lambda-value-object.d.ts +0 -1
  75. package/lib/types/engine/value-object/primitive-object.d.ts +0 -1
  76. package/lib/types/functions/__tests__/create-function-test-bed.d.ts +0 -1
  77. package/lib/types/functions/base-function.d.ts +0 -1
  78. package/lib/types/functions/compatibility/function-map.d.ts +0 -1
  79. package/lib/types/functions/custom-function.d.ts +0 -1
  80. package/lib/types/functions/date/date/index.d.ts +0 -1
  81. package/lib/types/functions/date/datedif/index.d.ts +0 -1
  82. package/lib/types/functions/date/datevalue/index.d.ts +0 -1
  83. package/lib/types/functions/date/day/index.d.ts +0 -1
  84. package/lib/types/functions/date/days/index.d.ts +0 -1
  85. package/lib/types/functions/date/days360/index.d.ts +0 -2
  86. package/lib/types/functions/date/edate/index.d.ts +0 -1
  87. package/lib/types/functions/date/eomonth/index.d.ts +0 -1
  88. package/lib/types/functions/date/function-map.d.ts +0 -1
  89. package/lib/types/functions/date/hour/index.d.ts +0 -1
  90. package/lib/types/functions/date/isoweeknum/index.d.ts +0 -1
  91. package/lib/types/functions/date/minute/index.d.ts +0 -1
  92. package/lib/types/functions/date/month/index.d.ts +0 -1
  93. package/lib/types/functions/date/networkdays/index.d.ts +0 -1
  94. package/lib/types/functions/date/networkdays-intl/index.d.ts +0 -1
  95. package/lib/types/functions/date/now/index.d.ts +0 -1
  96. package/lib/types/functions/date/second/index.d.ts +0 -1
  97. package/lib/types/functions/date/time/index.d.ts +0 -1
  98. package/lib/types/functions/date/timevalue/index.d.ts +0 -1
  99. package/lib/types/functions/date/today/index.d.ts +0 -1
  100. package/lib/types/functions/date/weekday/index.d.ts +0 -1
  101. package/lib/types/functions/date/weeknum/index.d.ts +0 -1
  102. package/lib/types/functions/date/workday/index.d.ts +0 -1
  103. package/lib/types/functions/date/workday-intl/index.d.ts +0 -1
  104. package/lib/types/functions/date/year/index.d.ts +0 -1
  105. package/lib/types/functions/date/yearfrac/index.d.ts +0 -5
  106. package/lib/types/functions/engineering/besseli/__tests__/index.spec.d.ts +16 -0
  107. package/lib/types/functions/engineering/besseli/index.d.ts +8 -0
  108. package/lib/types/functions/engineering/besselj/__tests__/index.spec.d.ts +16 -0
  109. package/lib/types/functions/engineering/besselj/index.d.ts +8 -0
  110. package/lib/types/functions/engineering/besselk/__tests__/index.spec.d.ts +16 -0
  111. package/lib/types/functions/engineering/besselk/index.d.ts +8 -0
  112. package/lib/types/functions/engineering/bessely/__tests__/index.spec.d.ts +16 -0
  113. package/lib/types/functions/engineering/bessely/index.d.ts +8 -0
  114. package/lib/types/functions/engineering/bin2dec/__tests__/index.spec.d.ts +16 -0
  115. package/lib/types/functions/engineering/bin2dec/index.d.ts +8 -0
  116. package/lib/types/functions/engineering/bin2hex/__tests__/index.spec.d.ts +16 -0
  117. package/lib/types/functions/engineering/bin2hex/index.d.ts +8 -0
  118. package/lib/types/functions/engineering/bin2oct/__tests__/index.spec.d.ts +16 -0
  119. package/lib/types/functions/engineering/bin2oct/index.d.ts +8 -0
  120. package/lib/types/functions/engineering/bitand/__tests__/index.spec.d.ts +16 -0
  121. package/lib/types/functions/engineering/bitand/index.d.ts +7 -0
  122. package/lib/types/functions/engineering/bitlshift/__tests__/index.spec.d.ts +16 -0
  123. package/lib/types/functions/engineering/bitlshift/index.d.ts +7 -0
  124. package/lib/types/functions/engineering/bitor/__tests__/index.spec.d.ts +16 -0
  125. package/lib/types/functions/engineering/bitor/index.d.ts +7 -0
  126. package/lib/types/functions/engineering/bitrshift/__tests__/index.spec.d.ts +16 -0
  127. package/lib/types/functions/engineering/bitrshift/index.d.ts +7 -0
  128. package/lib/types/functions/engineering/bitxor/__tests__/index.spec.d.ts +16 -0
  129. package/lib/types/functions/engineering/bitxor/index.d.ts +7 -0
  130. package/lib/types/functions/engineering/complex/__tests__/index.spec.d.ts +16 -0
  131. package/lib/types/functions/engineering/complex/index.d.ts +8 -0
  132. package/lib/types/functions/engineering/convert/__tests__/index.spec.d.ts +16 -0
  133. package/lib/types/functions/engineering/convert/index.d.ts +20 -0
  134. package/lib/types/functions/engineering/dec2bin/__tests__/index.spec.d.ts +16 -0
  135. package/lib/types/functions/engineering/dec2bin/index.d.ts +8 -0
  136. package/lib/types/functions/engineering/dec2hex/__tests__/index.spec.d.ts +16 -0
  137. package/lib/types/functions/engineering/dec2hex/index.d.ts +8 -0
  138. package/lib/types/functions/engineering/dec2oct/__tests__/index.spec.d.ts +16 -0
  139. package/lib/types/functions/engineering/dec2oct/index.d.ts +8 -0
  140. package/lib/types/functions/engineering/delta/__tests__/index.spec.d.ts +16 -0
  141. package/lib/types/functions/engineering/delta/index.d.ts +8 -0
  142. package/lib/types/functions/engineering/erf/__tests__/index.spec.d.ts +16 -0
  143. package/lib/types/functions/engineering/erf/index.d.ts +8 -0
  144. package/lib/types/functions/engineering/erf-precise/__tests__/index.spec.d.ts +16 -0
  145. package/lib/types/functions/engineering/erf-precise/index.d.ts +8 -0
  146. package/lib/types/functions/engineering/erfc/__tests__/index.spec.d.ts +16 -0
  147. package/lib/types/functions/engineering/erfc/index.d.ts +8 -0
  148. package/lib/types/functions/engineering/erfc-precise/__tests__/index.spec.d.ts +16 -0
  149. package/lib/types/functions/engineering/erfc-precise/index.d.ts +8 -0
  150. package/lib/types/functions/engineering/function-map.d.ts +4 -16
  151. package/lib/types/functions/engineering/hex2bin/__tests__/index.spec.d.ts +16 -0
  152. package/lib/types/functions/engineering/hex2bin/index.d.ts +8 -0
  153. package/lib/types/functions/engineering/hex2dec/__tests__/index.spec.d.ts +16 -0
  154. package/lib/types/functions/engineering/hex2dec/index.d.ts +8 -0
  155. package/lib/types/functions/engineering/hex2oct/__tests__/index.spec.d.ts +16 -0
  156. package/lib/types/functions/engineering/hex2oct/index.d.ts +8 -0
  157. package/lib/types/functions/engineering/oct2bin/__tests__/index.spec.d.ts +16 -0
  158. package/lib/types/functions/engineering/oct2bin/index.d.ts +8 -0
  159. package/lib/types/functions/engineering/oct2dec/__tests__/index.spec.d.ts +16 -0
  160. package/lib/types/functions/engineering/oct2dec/index.d.ts +8 -0
  161. package/lib/types/functions/engineering/oct2hex/__tests__/index.spec.d.ts +16 -0
  162. package/lib/types/functions/engineering/oct2hex/index.d.ts +8 -0
  163. package/lib/types/functions/financial/accrint/__tests__/index.spec.d.ts +16 -0
  164. package/lib/types/functions/financial/accrint/index.d.ts +9 -0
  165. package/lib/types/functions/financial/accrintm/__tests__/index.spec.d.ts +16 -0
  166. package/lib/types/functions/financial/accrintm/index.d.ts +8 -0
  167. package/lib/types/functions/financial/amorlinc/__tests__/index.spec.d.ts +16 -0
  168. package/lib/types/functions/financial/amorlinc/index.d.ts +9 -0
  169. package/lib/types/functions/financial/coupdaybs/__tests__/index.spec.d.ts +16 -0
  170. package/lib/types/functions/financial/coupdaybs/index.d.ts +8 -0
  171. package/lib/types/functions/financial/coupdays/__tests__/index.spec.d.ts +16 -0
  172. package/lib/types/functions/financial/coupdays/index.d.ts +8 -0
  173. package/lib/types/functions/financial/coupdaysnc/__tests__/index.spec.d.ts +16 -0
  174. package/lib/types/functions/financial/coupdaysnc/index.d.ts +8 -0
  175. package/lib/types/functions/financial/coupncd/__tests__/index.spec.d.ts +16 -0
  176. package/lib/types/functions/financial/coupncd/index.d.ts +8 -0
  177. package/lib/types/functions/financial/coupnum/__tests__/index.spec.d.ts +16 -0
  178. package/lib/types/functions/financial/coupnum/index.d.ts +8 -0
  179. package/lib/types/functions/financial/couppcd/__tests__/index.spec.d.ts +16 -0
  180. package/lib/types/functions/financial/couppcd/index.d.ts +8 -0
  181. package/lib/types/functions/financial/cumipmt/__tests__/index.spec.d.ts +16 -0
  182. package/lib/types/functions/financial/cumipmt/index.d.ts +9 -0
  183. package/lib/types/functions/financial/cumprinc/__tests__/index.spec.d.ts +16 -0
  184. package/lib/types/functions/financial/cumprinc/index.d.ts +9 -0
  185. package/lib/types/functions/financial/db/__tests__/index.spec.d.ts +16 -0
  186. package/lib/types/functions/financial/db/index.d.ts +8 -0
  187. package/lib/types/functions/financial/ddb/__tests__/index.spec.d.ts +16 -0
  188. package/lib/types/functions/financial/ddb/index.d.ts +8 -0
  189. package/lib/types/functions/financial/disc/__tests__/index.spec.d.ts +16 -0
  190. package/lib/types/functions/financial/disc/index.d.ts +8 -0
  191. package/lib/types/functions/financial/dollarde/__tests__/index.spec.d.ts +16 -0
  192. package/lib/types/functions/financial/dollarde/index.d.ts +8 -0
  193. package/lib/types/functions/financial/dollarfr/__tests__/index.spec.d.ts +16 -0
  194. package/lib/types/functions/financial/dollarfr/index.d.ts +8 -0
  195. package/lib/types/functions/financial/effect/__tests__/index.spec.d.ts +16 -0
  196. package/lib/types/functions/financial/effect/index.d.ts +8 -0
  197. package/lib/types/functions/financial/function-map.d.ts +5 -16
  198. package/lib/types/functions/financial/fv/__tests__/index.spec.d.ts +16 -0
  199. package/lib/types/functions/financial/fv/index.d.ts +7 -0
  200. package/lib/types/functions/financial/fvschedule/__tests__/index.spec.d.ts +16 -0
  201. package/lib/types/functions/financial/fvschedule/index.d.ts +8 -0
  202. package/lib/types/functions/financial/intrate/__tests__/index.spec.d.ts +16 -0
  203. package/lib/types/functions/financial/intrate/index.d.ts +8 -0
  204. package/lib/types/functions/financial/ipmt/__tests__/index.spec.d.ts +16 -0
  205. package/lib/types/functions/financial/ipmt/index.d.ts +7 -0
  206. package/lib/types/functions/financial/ispmt/__tests__/index.spec.d.ts +16 -0
  207. package/lib/types/functions/financial/ispmt/index.d.ts +7 -0
  208. package/lib/types/functions/financial/nominal/__tests__/index.spec.d.ts +16 -0
  209. package/lib/types/functions/financial/nominal/index.d.ts +8 -0
  210. package/lib/types/functions/financial/nper/__tests__/index.spec.d.ts +16 -0
  211. package/lib/types/functions/financial/nper/index.d.ts +7 -0
  212. package/lib/types/functions/financial/pmt/__tests__/index.spec.d.ts +16 -0
  213. package/lib/types/functions/financial/pmt/index.d.ts +7 -0
  214. package/lib/types/functions/financial/ppmt/__tests__/index.spec.d.ts +16 -0
  215. package/lib/types/functions/financial/ppmt/index.d.ts +7 -0
  216. package/lib/types/functions/financial/pv/__tests__/index.spec.d.ts +16 -0
  217. package/lib/types/functions/financial/pv/index.d.ts +7 -0
  218. package/lib/types/functions/financial/rate/__tests__/index.spec.d.ts +16 -0
  219. package/lib/types/functions/financial/rate/index.d.ts +8 -0
  220. package/lib/types/functions/information/cell/index.d.ts +0 -1
  221. package/lib/types/functions/information/error-type/index.d.ts +0 -1
  222. package/lib/types/functions/information/function-map.d.ts +0 -1
  223. package/lib/types/functions/information/isblank/index.d.ts +0 -1
  224. package/lib/types/functions/information/iserr/index.d.ts +0 -1
  225. package/lib/types/functions/information/iserror/index.d.ts +0 -1
  226. package/lib/types/functions/information/iseven/iseven.d.ts +2 -4
  227. package/lib/types/functions/information/islogical/index.d.ts +0 -1
  228. package/lib/types/functions/information/isna/index.d.ts +0 -1
  229. package/lib/types/functions/information/isnontext/index.d.ts +0 -1
  230. package/lib/types/functions/information/isnumber/index.d.ts +0 -1
  231. package/lib/types/functions/information/isodd/isodd.d.ts +2 -4
  232. package/lib/types/functions/information/isref/index.d.ts +0 -1
  233. package/lib/types/functions/information/istext/index.d.ts +0 -1
  234. package/lib/types/functions/information/type/index.d.ts +0 -1
  235. package/lib/types/functions/logical/and/index.d.ts +0 -1
  236. package/lib/types/functions/logical/false/__tests__/index.spec.d.ts +16 -0
  237. package/lib/types/functions/logical/false/index.d.ts +7 -0
  238. package/lib/types/functions/logical/function-map.d.ts +2 -3
  239. package/lib/types/functions/logical/if/index.d.ts +0 -1
  240. package/lib/types/functions/logical/iferror/index.d.ts +0 -1
  241. package/lib/types/functions/logical/ifna/__tests__/index.spec.d.ts +16 -0
  242. package/lib/types/functions/logical/ifna/index.d.ts +8 -0
  243. package/lib/types/functions/logical/ifs/__tests__/index.spec.d.ts +16 -0
  244. package/lib/types/functions/logical/ifs/index.d.ts +7 -0
  245. package/lib/types/functions/logical/lambda/index.d.ts +0 -1
  246. package/lib/types/functions/logical/let/index.d.ts +10 -0
  247. package/lib/types/functions/logical/makearray/index.d.ts +0 -1
  248. package/lib/types/functions/logical/not/__tests__/index.spec.d.ts +16 -0
  249. package/lib/types/functions/logical/not/index.d.ts +8 -0
  250. package/lib/types/functions/logical/or/index.d.ts +0 -1
  251. package/lib/types/functions/logical/switch/__tests__/index.spec.d.ts +16 -0
  252. package/lib/types/functions/logical/switch/index.d.ts +8 -0
  253. package/lib/types/functions/logical/true/__tests__/index.spec.d.ts +16 -0
  254. package/lib/types/functions/logical/true/index.d.ts +7 -0
  255. package/lib/types/functions/logical/xor/__tests__/index.spec.d.ts +16 -0
  256. package/lib/types/functions/logical/xor/index.d.ts +7 -0
  257. package/lib/types/functions/lookup/address/index.d.ts +0 -1
  258. package/lib/types/functions/lookup/areas/index.d.ts +0 -1
  259. package/lib/types/functions/lookup/choose/index.d.ts +0 -1
  260. package/lib/types/functions/lookup/choosecols/index.d.ts +0 -1
  261. package/lib/types/functions/lookup/chooserows/index.d.ts +0 -1
  262. package/lib/types/functions/lookup/column/index.d.ts +0 -1
  263. package/lib/types/functions/lookup/columns/index.d.ts +0 -1
  264. package/lib/types/functions/lookup/filter/index.d.ts +0 -1
  265. package/lib/types/functions/lookup/function-map.d.ts +0 -1
  266. package/lib/types/functions/lookup/hlookup/index.d.ts +0 -1
  267. package/lib/types/functions/lookup/hstack/index.d.ts +0 -1
  268. package/lib/types/functions/lookup/index/index.d.ts +0 -1
  269. package/lib/types/functions/lookup/indirect/index.d.ts +1 -1
  270. package/lib/types/functions/lookup/lookup/index.d.ts +0 -1
  271. package/lib/types/functions/lookup/match/index.d.ts +0 -1
  272. package/lib/types/functions/lookup/offset/index.d.ts +0 -1
  273. package/lib/types/functions/lookup/row/index.d.ts +0 -1
  274. package/lib/types/functions/lookup/rows/index.d.ts +0 -1
  275. package/lib/types/functions/lookup/sort/index.d.ts +0 -1
  276. package/lib/types/functions/lookup/sortby/index.d.ts +0 -1
  277. package/lib/types/functions/lookup/transpose/index.d.ts +0 -1
  278. package/lib/types/functions/lookup/unique/index.d.ts +0 -1
  279. package/lib/types/functions/lookup/vlookup/index.d.ts +0 -1
  280. package/lib/types/functions/lookup/vstack/index.d.ts +0 -1
  281. package/lib/types/functions/lookup/xlookup/index.d.ts +0 -1
  282. package/lib/types/functions/lookup/xmatch/index.d.ts +0 -1
  283. package/lib/types/functions/math/abs/index.d.ts +0 -1
  284. package/lib/types/functions/math/acos/index.d.ts +0 -1
  285. package/lib/types/functions/math/acosh/index.d.ts +0 -1
  286. package/lib/types/functions/math/acot/index.d.ts +0 -1
  287. package/lib/types/functions/math/acoth/index.d.ts +0 -1
  288. package/lib/types/functions/math/asin/index.d.ts +0 -1
  289. package/lib/types/functions/math/asinh/index.d.ts +0 -1
  290. package/lib/types/functions/math/atan/index.d.ts +0 -1
  291. package/lib/types/functions/math/atan2/index.d.ts +0 -1
  292. package/lib/types/functions/math/atanh/index.d.ts +0 -1
  293. package/lib/types/functions/math/base/index.d.ts +0 -1
  294. package/lib/types/functions/math/ceiling/index.d.ts +0 -1
  295. package/lib/types/functions/math/ceiling-math/index.d.ts +0 -1
  296. package/lib/types/functions/math/ceiling-precise/index.d.ts +0 -1
  297. package/lib/types/functions/math/cos/index.d.ts +0 -1
  298. package/lib/types/functions/math/cosh/index.d.ts +0 -1
  299. package/lib/types/functions/math/cot/index.d.ts +0 -1
  300. package/lib/types/functions/math/coth/index.d.ts +0 -1
  301. package/lib/types/functions/math/csc/index.d.ts +0 -1
  302. package/lib/types/functions/math/csch/index.d.ts +0 -1
  303. package/lib/types/functions/math/decimal/index.d.ts +0 -1
  304. package/lib/types/functions/math/degrees/index.d.ts +0 -1
  305. package/lib/types/functions/math/even/index.d.ts +0 -1
  306. package/lib/types/functions/math/exp/index.d.ts +0 -1
  307. package/lib/types/functions/math/floor/index.d.ts +0 -1
  308. package/lib/types/functions/math/floor-math/index.d.ts +0 -1
  309. package/lib/types/functions/math/floor-precise/index.d.ts +0 -1
  310. package/lib/types/functions/math/function-map.d.ts +0 -1
  311. package/lib/types/functions/math/ln/index.d.ts +0 -1
  312. package/lib/types/functions/math/log/index.d.ts +0 -1
  313. package/lib/types/functions/math/log10/index.d.ts +0 -1
  314. package/lib/types/functions/math/mod/index.d.ts +0 -1
  315. package/lib/types/functions/math/mround/index.d.ts +0 -1
  316. package/lib/types/functions/math/odd/index.d.ts +0 -1
  317. package/lib/types/functions/math/pi/index.d.ts +0 -1
  318. package/lib/types/functions/math/power/index.d.ts +0 -1
  319. package/lib/types/functions/math/product/index.d.ts +0 -1
  320. package/lib/types/functions/math/radians/index.d.ts +0 -1
  321. package/lib/types/functions/math/rand/index.d.ts +0 -1
  322. package/lib/types/functions/math/randarray/index.d.ts +0 -1
  323. package/lib/types/functions/math/randbetween/index.d.ts +0 -1
  324. package/lib/types/functions/math/round/index.d.ts +0 -1
  325. package/lib/types/functions/math/rounddown/index.d.ts +0 -1
  326. package/lib/types/functions/math/roundup/index.d.ts +0 -1
  327. package/lib/types/functions/math/sec/index.d.ts +0 -1
  328. package/lib/types/functions/math/sech/index.d.ts +0 -1
  329. package/lib/types/functions/math/sin/index.d.ts +0 -1
  330. package/lib/types/functions/math/sinh/index.d.ts +0 -1
  331. package/lib/types/functions/math/sqrt/index.d.ts +0 -1
  332. package/lib/types/functions/math/sqrtpi/index.d.ts +0 -1
  333. package/lib/types/functions/math/subtotal/index.d.ts +0 -1
  334. package/lib/types/functions/math/sum/index.d.ts +0 -1
  335. package/lib/types/functions/math/sumif/index.d.ts +0 -1
  336. package/lib/types/functions/math/sumifs/index.d.ts +0 -1
  337. package/lib/types/functions/math/sumproduct/index.d.ts +0 -1
  338. package/lib/types/functions/math/sumsq/index.d.ts +0 -1
  339. package/lib/types/functions/math/sumx2my2/index.d.ts +0 -1
  340. package/lib/types/functions/math/sumx2py2/index.d.ts +0 -1
  341. package/lib/types/functions/math/sumxmy2/index.d.ts +0 -1
  342. package/lib/types/functions/math/tan/index.d.ts +0 -1
  343. package/lib/types/functions/math/tanh/index.d.ts +0 -1
  344. package/lib/types/functions/math/trunc/index.d.ts +0 -1
  345. package/lib/types/functions/meta/compare/index.d.ts +0 -1
  346. package/lib/types/functions/meta/cube/index.d.ts +0 -1
  347. package/lib/types/functions/meta/divided/index.d.ts +0 -1
  348. package/lib/types/functions/meta/function-map.d.ts +0 -1
  349. package/lib/types/functions/meta/minus/index.d.ts +0 -1
  350. package/lib/types/functions/meta/multiply/index.d.ts +0 -1
  351. package/lib/types/functions/meta/plus/index.d.ts +0 -1
  352. package/lib/types/functions/statistical/avedev/index.d.ts +0 -1
  353. package/lib/types/functions/statistical/average/index.d.ts +0 -1
  354. package/lib/types/functions/statistical/averagea/index.d.ts +0 -1
  355. package/lib/types/functions/statistical/averageif/index.d.ts +0 -1
  356. package/lib/types/functions/statistical/averageifs/index.d.ts +0 -1
  357. package/lib/types/functions/statistical/count/index.d.ts +0 -1
  358. package/lib/types/functions/statistical/counta/index.d.ts +0 -1
  359. package/lib/types/functions/statistical/countblank/index.d.ts +0 -1
  360. package/lib/types/functions/statistical/countif/index.d.ts +0 -1
  361. package/lib/types/functions/statistical/countifs/index.d.ts +0 -1
  362. package/lib/types/functions/statistical/function-map.d.ts +1 -2
  363. package/lib/types/functions/statistical/max/index.d.ts +0 -1
  364. package/lib/types/functions/statistical/maxa/index.d.ts +0 -1
  365. package/lib/types/functions/statistical/maxifs/index.d.ts +0 -1
  366. package/lib/types/functions/statistical/min/index.d.ts +0 -1
  367. package/lib/types/functions/statistical/mina/index.d.ts +0 -1
  368. package/lib/types/functions/statistical/minifs/index.d.ts +0 -1
  369. package/lib/types/functions/statistical/stdev-p/index.d.ts +0 -1
  370. package/lib/types/functions/statistical/stdev-s/index.d.ts +0 -1
  371. package/lib/types/functions/statistical/stdeva/index.d.ts +0 -1
  372. package/lib/types/functions/statistical/stdevpa/index.d.ts +0 -1
  373. package/lib/types/functions/statistical/var-p/index.d.ts +0 -1
  374. package/lib/types/functions/statistical/var-s/index.d.ts +0 -1
  375. package/lib/types/functions/statistical/vara/index.d.ts +0 -1
  376. package/lib/types/functions/statistical/varpa/index.d.ts +0 -1
  377. package/lib/types/functions/text/concat/index.d.ts +0 -1
  378. package/lib/types/functions/text/concatenate/index.d.ts +0 -1
  379. package/lib/types/functions/text/function-map.d.ts +0 -1
  380. package/lib/types/functions/text/len/index.d.ts +0 -1
  381. package/lib/types/functions/text/lenb/index.d.ts +0 -1
  382. package/lib/types/functions/text/lower/index.d.ts +0 -1
  383. package/lib/types/functions/text/rept/index.d.ts +0 -1
  384. package/lib/types/functions/text/text/index.d.ts +0 -1
  385. package/lib/types/functions/text/textafter/index.d.ts +0 -1
  386. package/lib/types/functions/text/textbefore/index.d.ts +0 -1
  387. package/lib/types/functions/text/textsplit/index.d.ts +0 -1
  388. package/lib/types/models/__tests__/create-command-test-bed.d.ts +0 -1
  389. package/lib/types/models/formula-data.model.d.ts +0 -1
  390. package/lib/types/models/utils/formula-data-util.d.ts +0 -1
  391. package/lib/types/plugin.d.ts +0 -1
  392. package/lib/types/services/active-dirty-manager.service.d.ts +0 -1
  393. package/lib/types/services/calculate-formula.service.d.ts +0 -1
  394. package/lib/types/services/current-data.service.d.ts +0 -1
  395. package/lib/types/services/defined-names.service.d.ts +0 -1
  396. package/lib/types/services/dependency-manager.service.d.ts +0 -1
  397. package/lib/types/services/feature-calculation-manager.service.d.ts +1 -3
  398. package/lib/types/services/function.service.d.ts +0 -1
  399. package/lib/types/services/other-formula-manager.service.d.ts +0 -1
  400. package/lib/types/services/runtime.service.d.ts +1 -1
  401. package/lib/types/services/super-table.service.d.ts +0 -1
  402. package/lib/umd/index.js +1 -1
  403. package/package.json +8 -10
@@ -0,0 +1,7 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Pv extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(rate: BaseValueObject, nper: BaseValueObject, pmt: BaseValueObject, fv?: BaseValueObject, type?: BaseValueObject): BaseValueObject;
7
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Rate extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(nper: BaseValueObject, pmt: BaseValueObject, pv: BaseValueObject, fv?: BaseValueObject, type?: BaseValueObject, guess?: BaseValueObject): BaseValueObject;
7
+ private _getResult;
8
+ }
@@ -1,7 +1,6 @@
1
1
  import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
2
2
  import { StringValueObject } from '../../../engine/value-object/primitive-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Cell extends BaseFunction {
6
5
  needsReferenceObject: boolean;
7
6
  minParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class ErrorType extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,5 +1,4 @@
1
1
  import { FUNCTION_NAMES_INFORMATION } from './function-names';
2
2
  import { Cell } from './cell';
3
3
  import { Isblank } from './isblank';
4
-
5
4
  export declare const functionInformation: ((FUNCTION_NAMES_INFORMATION | typeof Cell)[] | (FUNCTION_NAMES_INFORMATION | typeof Isblank)[])[];
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Isblank extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Iserr extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Iserror extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,9 +1,7 @@
1
- import { BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
2
- import { BooleanValueObject } from '../../../engine/value-object/primitive-object';
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
2
  import { BaseFunction } from '../../base-function';
4
-
5
3
  export declare class Iseven extends BaseFunction {
6
4
  minParams: number;
7
5
  maxParams: number;
8
- calculate(value: BaseValueObject): ErrorValueObject | BooleanValueObject;
6
+ calculate(value: BaseValueObject): BaseValueObject;
9
7
  }
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Islogical extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Isna extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Isnontext extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Isnumber extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,9 +1,7 @@
1
- import { BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
2
- import { BooleanValueObject } from '../../../engine/value-object/primitive-object';
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
2
  import { BaseFunction } from '../../base-function';
4
-
5
3
  export declare class Isodd extends BaseFunction {
6
4
  minParams: number;
7
5
  maxParams: number;
8
- calculate(value: BaseValueObject): ErrorValueObject | BooleanValueObject;
6
+ calculate(value: BaseValueObject): BaseValueObject;
9
7
  }
@@ -1,7 +1,6 @@
1
1
  import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
2
2
  import { BooleanValueObject } from '../../../engine/value-object/primitive-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Isref extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Istext extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
2
2
  import { NumberValueObject } from '../../../engine/value-object/primitive-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Type extends BaseFunction {
6
5
  needsReferenceObject: boolean;
7
6
  minParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class And extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BooleanValueObject } from '../../../engine/value-object/primitive-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class False extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(): BooleanValueObject;
7
+ }
@@ -1,6 +1,5 @@
1
- import { And } from './and';
2
1
  import { FUNCTION_NAMES_LOGICAL } from './function-names';
2
+ import { And } from './and';
3
3
  import { Iferror } from './iferror';
4
4
  import { Makearray } from './makearray';
5
-
6
- export declare const functionLogical: ((FUNCTION_NAMES_LOGICAL | typeof And)[] | (FUNCTION_NAMES_LOGICAL | typeof Makearray)[] | (FUNCTION_NAMES_LOGICAL | typeof Iferror)[])[];
5
+ export declare const functionLogical: ((FUNCTION_NAMES_LOGICAL | typeof And)[] | (FUNCTION_NAMES_LOGICAL | typeof Iferror)[] | (FUNCTION_NAMES_LOGICAL | typeof Makearray)[])[];
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class If extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Iferror extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,8 @@
1
+ import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
+ import { BaseFunction } from '../../base-function';
4
+ export declare class Ifna extends BaseFunction {
5
+ minParams: number;
6
+ maxParams: number;
7
+ calculate(value: BaseValueObject, valueIfNa: BaseValueObject): BaseValueObject | ArrayValueObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Ifs extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(...params: BaseValueObject[]): BaseValueObject;
7
+ }
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  /**
5
4
  * Lambda functions are unique and are generated directly by the higher level.
6
5
  * Please refer to the lambdaNode; here, it serves the purpose of a placeholder for the formula.
@@ -0,0 +1,10 @@
1
+ import { BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ /**
4
+ * Please refer to the _changeLetToLambda function; here, it serves the purpose of a placeholder for the formula.
5
+ */
6
+ export declare class Let extends BaseFunction {
7
+ minParams: number;
8
+ maxParams: number;
9
+ calculate(...variants: BaseValueObject[]): ErrorValueObject;
10
+ }
@@ -1,7 +1,6 @@
1
1
  import { AsyncArrayObject } from '../../../engine/reference-object/base-reference-object';
2
2
  import { BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Makearray extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Not extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(logical: BaseValueObject): BaseValueObject;
7
+ private _handleSingleObject;
8
+ }
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Or extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Switch extends BaseFunction {
4
+ minParams: number;
5
+ calculate(expression: BaseValueObject, ...args: BaseValueObject[]): BaseValueObject;
6
+ private _handleNonArrayInputs;
7
+ private _handleArrayInputs;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BooleanValueObject } from '../../../engine/value-object/primitive-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class True extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(): BooleanValueObject;
7
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
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
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Xor extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(...logicalValues: BaseValueObject[]): BaseValueObject;
7
+ }
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Address extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -2,7 +2,6 @@ import { FunctionVariantType } from '../../../engine/reference-object/base-refer
2
2
  import { ErrorValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { NumberValueObject } from '../../../engine/value-object/primitive-object';
4
4
  import { BaseFunction } from '../../base-function';
5
-
6
5
  export declare class Areas extends BaseFunction {
7
6
  minParams: number;
8
7
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Choose extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Choosecols extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Chooserows extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Column extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Columns extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Filter extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -6,5 +6,4 @@ import { Lookup } from './lookup';
6
6
  import { Match } from './match';
7
7
  import { Xlookup } from './xlookup';
8
8
  import { Xmatch } from './xmatch';
9
-
10
9
  export declare const functionLookup: ((FUNCTION_NAMES_LOOKUP | typeof Choose)[] | (FUNCTION_NAMES_LOOKUP | typeof Hstack)[] | (FUNCTION_NAMES_LOOKUP | typeof Indirect)[] | (FUNCTION_NAMES_LOOKUP | typeof Lookup)[] | (FUNCTION_NAMES_LOOKUP | typeof Match)[] | (FUNCTION_NAMES_LOOKUP | typeof Xlookup)[] | (FUNCTION_NAMES_LOOKUP | typeof Xmatch)[])[];
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Hlookup extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Hstack extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  /**
5
4
  * The result of the INDEX function is a reference and is interpreted as such by other formulas. Depending on the formula, the return value of INDEX may be used as a reference or as a value.
6
5
  *
@@ -1,12 +1,12 @@
1
1
  import { BaseReferenceObject } from '../../../engine/reference-object/base-reference-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Indirect extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
8
7
  isAddress(): boolean;
9
8
  calculate(refText: BaseValueObject, a1?: BaseValueObject): BaseValueObject | BaseReferenceObject;
9
+ private _handleSingleObject;
10
10
  private _setDefault;
11
11
  /**
12
12
  * In Excel, to inject a defined name into a function that has positioning capabilities,
@@ -1,7 +1,6 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
3
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
4
-
5
4
  export declare class Lookup extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Match extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Offset extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Row extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Rows extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,6 +1,5 @@
1
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
2
  import { BaseFunction } from '../../base-function';
3
-
4
3
  export declare class Sort extends BaseFunction {
5
4
  minParams: number;
6
5
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Sortby extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;
@@ -1,7 +1,6 @@
1
1
  import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
2
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
3
  import { BaseFunction } from '../../base-function';
4
-
5
4
  export declare class Transpose extends BaseFunction {
6
5
  minParams: number;
7
6
  maxParams: number;