@ricsam/formula-engine 0.0.3 → 0.0.5

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 (381) hide show
  1. package/dist/cjs/core/engine.cjs +12 -8
  2. package/dist/cjs/core/engine.cjs.map +3 -3
  3. package/dist/cjs/core/managers/dependency-manager.cjs +8 -8
  4. package/dist/cjs/core/managers/dependency-manager.cjs.map +3 -3
  5. package/dist/cjs/core/managers/evaluation-manager.cjs +10 -10
  6. package/dist/cjs/core/managers/evaluation-manager.cjs.map +2 -2
  7. package/dist/cjs/core/managers/frontier-dependency-manager.cjs.map +1 -1
  8. package/dist/cjs/core/managers/isDependencyNode.cjs +6 -6
  9. package/dist/cjs/core/managers/isDependencyNode.cjs.map +2 -2
  10. package/dist/cjs/core/managers/named-expression-manager.cjs.map +1 -1
  11. package/dist/cjs/core/managers/range-eval-order-builder.cjs +2 -2
  12. package/dist/cjs/core/managers/range-eval-order-builder.cjs.map +3 -3
  13. package/dist/cjs/core/managers/workbook-manager.cjs +3 -3
  14. package/dist/cjs/core/managers/workbook-manager.cjs.map +2 -2
  15. package/dist/cjs/core/types.cjs.map +2 -2
  16. package/dist/cjs/core/utils.cjs +2 -2
  17. package/dist/cjs/core/utils.cjs.map +2 -2
  18. package/dist/cjs/evaluator/arithmetic/add/add.cjs +2 -2
  19. package/dist/cjs/evaluator/arithmetic/add/add.cjs.map +2 -2
  20. package/dist/cjs/evaluator/arithmetic/divide/divide.cjs +2 -2
  21. package/dist/cjs/evaluator/arithmetic/divide/divide.cjs.map +2 -2
  22. package/dist/cjs/evaluator/arithmetic/multiply/multiply.cjs +2 -2
  23. package/dist/cjs/evaluator/arithmetic/multiply/multiply.cjs.map +2 -2
  24. package/dist/cjs/evaluator/arithmetic/power/power.cjs +2 -2
  25. package/dist/cjs/evaluator/arithmetic/power/power.cjs.map +2 -2
  26. package/dist/cjs/evaluator/arithmetic/subtract/subtract.cjs +2 -2
  27. package/dist/cjs/evaluator/arithmetic/subtract/subtract.cjs.map +2 -2
  28. package/dist/cjs/evaluator/comparison/equals.cjs.map +1 -1
  29. package/dist/cjs/evaluator/comparison/greater-than-or-equal.cjs +2 -2
  30. package/dist/cjs/evaluator/comparison/greater-than-or-equal.cjs.map +2 -2
  31. package/dist/cjs/evaluator/comparison/greater-than.cjs +2 -2
  32. package/dist/cjs/evaluator/comparison/greater-than.cjs.map +2 -2
  33. package/dist/cjs/evaluator/comparison/less-than-or-equal.cjs +2 -2
  34. package/dist/cjs/evaluator/comparison/less-than-or-equal.cjs.map +2 -2
  35. package/dist/cjs/evaluator/comparison/less-than.cjs +2 -2
  36. package/dist/cjs/evaluator/comparison/less-than.cjs.map +2 -2
  37. package/dist/cjs/evaluator/comparison/not-equals.cjs +2 -2
  38. package/dist/cjs/evaluator/comparison/not-equals.cjs.map +2 -2
  39. package/dist/cjs/evaluator/concatenation/concatenate.cjs +2 -2
  40. package/dist/cjs/evaluator/concatenation/concatenate.cjs.map +2 -2
  41. package/dist/cjs/evaluator/dependency-nodes/ast-evaluation-node.cjs +2 -2
  42. package/dist/cjs/evaluator/dependency-nodes/ast-evaluation-node.cjs.map +2 -2
  43. package/dist/cjs/evaluator/dependency-nodes/base-eval-node.cjs.map +2 -2
  44. package/dist/cjs/evaluator/dependency-nodes/cell-value-node.cjs +2 -2
  45. package/dist/cjs/evaluator/dependency-nodes/cell-value-node.cjs.map +2 -2
  46. package/dist/cjs/evaluator/dependency-nodes/empty-cell-evaluation-node.cjs +3 -3
  47. package/dist/cjs/evaluator/dependency-nodes/empty-cell-evaluation-node.cjs.map +2 -2
  48. package/dist/cjs/evaluator/dependency-nodes/spill-meta-node.cjs +2 -2
  49. package/dist/cjs/evaluator/dependency-nodes/spill-meta-node.cjs.map +2 -2
  50. package/dist/cjs/evaluator/evaluate-scalar-operator.cjs.map +1 -1
  51. package/dist/cjs/evaluator/evaluation-context.cjs.map +2 -2
  52. package/dist/cjs/evaluator/evaluation-error.cjs.map +1 -1
  53. package/dist/cjs/evaluator/formula-evaluator.cjs +6 -6
  54. package/dist/cjs/evaluator/formula-evaluator.cjs.map +3 -3
  55. package/dist/cjs/evaluator/range-evaluation-node.cjs +3 -3
  56. package/dist/cjs/evaluator/range-evaluation-node.cjs.map +2 -2
  57. package/dist/cjs/functions/_template/template.cjs.map +1 -1
  58. package/dist/cjs/functions/array/sequence/sequence.cjs +4 -4
  59. package/dist/cjs/functions/array/sequence/sequence.cjs.map +2 -2
  60. package/dist/cjs/functions/criteria-parser.cjs.map +1 -1
  61. package/dist/cjs/functions/criteria-utils.cjs +4 -4
  62. package/dist/cjs/functions/criteria-utils.cjs.map +3 -3
  63. package/dist/cjs/functions/{index.cjs → function-registry.cjs} +5 -5
  64. package/dist/cjs/functions/function-registry.cjs.map +10 -0
  65. package/dist/cjs/functions/function-utils.cjs.map +1 -1
  66. package/dist/cjs/functions/information/cell/cell.cjs +3 -3
  67. package/dist/cjs/functions/information/cell/cell.cjs.map +2 -2
  68. package/dist/cjs/functions/information/column/column.cjs +4 -4
  69. package/dist/cjs/functions/information/column/column.cjs.map +2 -2
  70. package/dist/cjs/functions/information/row/row.cjs +4 -4
  71. package/dist/cjs/functions/information/row/row.cjs.map +2 -2
  72. package/dist/cjs/functions/logical/and/and.cjs +2 -2
  73. package/dist/cjs/functions/logical/and/and.cjs.map +2 -2
  74. package/dist/cjs/functions/logical/if/if.cjs +2 -2
  75. package/dist/cjs/functions/logical/if/if.cjs.map +3 -3
  76. package/dist/cjs/functions/logical/iferror/iferror.cjs +3 -3
  77. package/dist/cjs/functions/logical/iferror/iferror.cjs.map +2 -2
  78. package/dist/cjs/functions/logical/or/or.cjs +2 -2
  79. package/dist/cjs/functions/logical/or/or.cjs.map +2 -2
  80. package/dist/cjs/functions/lookup/count/count-utils.cjs.map +1 -1
  81. package/dist/cjs/functions/lookup/count/count.cjs +2 -2
  82. package/dist/cjs/functions/lookup/count/count.cjs.map +2 -2
  83. package/dist/cjs/functions/lookup/count/countif.cjs +2 -2
  84. package/dist/cjs/functions/lookup/count/countif.cjs.map +2 -2
  85. package/dist/cjs/functions/lookup/count/countifs.cjs.map +1 -1
  86. package/dist/cjs/functions/lookup/index-lookup/index-lookup.cjs +2 -2
  87. package/dist/cjs/functions/lookup/index-lookup/index-lookup.cjs.map +2 -2
  88. package/dist/cjs/functions/lookup/match/match.cjs +2 -2
  89. package/dist/cjs/functions/lookup/match/match.cjs.map +2 -2
  90. package/dist/cjs/functions/lookup/xlookup/xlookup.cjs +2 -2
  91. package/dist/cjs/functions/lookup/xlookup/xlookup.cjs.map +2 -2
  92. package/dist/cjs/functions/math/average/average-utils.cjs +2 -2
  93. package/dist/cjs/functions/math/average/average-utils.cjs.map +2 -2
  94. package/dist/cjs/functions/math/average/average.cjs +2 -2
  95. package/dist/cjs/functions/math/average/average.cjs.map +2 -2
  96. package/dist/cjs/functions/math/average/averageif.cjs +3 -3
  97. package/dist/cjs/functions/math/average/averageif.cjs.map +3 -3
  98. package/dist/cjs/functions/math/average/averageifs.cjs.map +2 -2
  99. package/dist/cjs/functions/math/ceiling/ceiling.cjs +2 -2
  100. package/dist/cjs/functions/math/ceiling/ceiling.cjs.map +3 -3
  101. package/dist/cjs/functions/math/max/max-utils.cjs +2 -2
  102. package/dist/cjs/functions/math/max/max-utils.cjs.map +2 -2
  103. package/dist/cjs/functions/math/max/max.cjs +2 -2
  104. package/dist/cjs/functions/math/max/max.cjs.map +2 -2
  105. package/dist/cjs/functions/math/max/maxif.cjs +2 -2
  106. package/dist/cjs/functions/math/max/maxif.cjs.map +2 -2
  107. package/dist/cjs/functions/math/max/maxifs.cjs.map +2 -2
  108. package/dist/cjs/functions/math/min/min-utils.cjs +2 -2
  109. package/dist/cjs/functions/math/min/min-utils.cjs.map +2 -2
  110. package/dist/cjs/functions/math/min/min.cjs +2 -2
  111. package/dist/cjs/functions/math/min/min.cjs.map +3 -3
  112. package/dist/cjs/functions/math/min/minif.cjs +2 -2
  113. package/dist/cjs/functions/math/min/minif.cjs.map +2 -2
  114. package/dist/cjs/functions/math/min/minifs.cjs.map +2 -2
  115. package/dist/cjs/functions/math/sum/sum.cjs +2 -2
  116. package/dist/cjs/functions/math/sum/sum.cjs.map +2 -2
  117. package/dist/cjs/functions/math/sum/sumif.cjs +2 -2
  118. package/dist/cjs/functions/math/sum/sumif.cjs.map +2 -2
  119. package/dist/cjs/functions/math/sum/sumifs.cjs.map +2 -2
  120. package/dist/cjs/functions/math/sum/summation-utils.cjs.map +1 -1
  121. package/dist/cjs/functions/reference/address/address.cjs +2 -2
  122. package/dist/cjs/functions/reference/address/address.cjs.map +2 -2
  123. package/dist/cjs/functions/reference/indirect/indirect.cjs +3 -3
  124. package/dist/cjs/functions/reference/indirect/indirect.cjs.map +3 -3
  125. package/dist/cjs/functions/reference/offset/offset.cjs +3 -3
  126. package/dist/cjs/functions/reference/offset/offset.cjs.map +2 -2
  127. package/dist/cjs/functions/text/concatenate/concatenate.cjs +2 -2
  128. package/dist/cjs/functions/text/concatenate/concatenate.cjs.map +2 -2
  129. package/dist/cjs/functions/text/exact/exact.cjs +2 -2
  130. package/dist/cjs/functions/text/exact/exact.cjs.map +2 -2
  131. package/dist/cjs/functions/text/find/find.cjs +2 -2
  132. package/dist/cjs/functions/text/find/find.cjs.map +3 -3
  133. package/dist/cjs/functions/text/left/left.cjs +2 -2
  134. package/dist/cjs/functions/text/left/left.cjs.map +2 -2
  135. package/dist/cjs/functions/text/len/len.cjs +2 -2
  136. package/dist/cjs/functions/text/len/len.cjs.map +3 -3
  137. package/dist/cjs/functions/text/mid/mid.cjs +2 -2
  138. package/dist/cjs/functions/text/mid/mid.cjs.map +2 -2
  139. package/dist/cjs/functions/text/right/right.cjs +2 -2
  140. package/dist/cjs/functions/text/right/right.cjs.map +3 -3
  141. package/dist/cjs/functions/text/text-helpers.cjs +2 -2
  142. package/dist/cjs/functions/text/text-helpers.cjs.map +2 -2
  143. package/dist/cjs/functions/text/textjoin/textjoin.cjs +2 -2
  144. package/dist/cjs/functions/text/textjoin/textjoin.cjs.map +3 -3
  145. package/dist/cjs/package.json +1 -1
  146. package/dist/cjs/parser/formatter.cjs +2 -2
  147. package/dist/cjs/parser/formatter.cjs.map +2 -2
  148. package/dist/mjs/core/engine.mjs +7 -9
  149. package/dist/mjs/core/engine.mjs.map +3 -3
  150. package/dist/mjs/core/managers/dependency-manager.mjs +8 -8
  151. package/dist/mjs/core/managers/dependency-manager.mjs.map +3 -3
  152. package/dist/mjs/core/managers/evaluation-manager.mjs +10 -10
  153. package/dist/mjs/core/managers/evaluation-manager.mjs.map +2 -2
  154. package/dist/mjs/core/managers/frontier-dependency-manager.mjs.map +1 -1
  155. package/dist/mjs/core/managers/isDependencyNode.mjs +6 -6
  156. package/dist/mjs/core/managers/isDependencyNode.mjs.map +2 -2
  157. package/dist/mjs/core/managers/named-expression-manager.mjs.map +1 -1
  158. package/dist/mjs/core/managers/range-eval-order-builder.mjs +2 -2
  159. package/dist/mjs/core/managers/range-eval-order-builder.mjs.map +3 -3
  160. package/dist/mjs/core/managers/workbook-manager.mjs +3 -3
  161. package/dist/mjs/core/managers/workbook-manager.mjs.map +2 -2
  162. package/dist/mjs/core/types.mjs.map +2 -2
  163. package/dist/mjs/core/utils.mjs +2 -2
  164. package/dist/mjs/core/utils.mjs.map +2 -2
  165. package/dist/mjs/evaluator/arithmetic/add/add.mjs +2 -2
  166. package/dist/mjs/evaluator/arithmetic/add/add.mjs.map +2 -2
  167. package/dist/mjs/evaluator/arithmetic/divide/divide.mjs +2 -2
  168. package/dist/mjs/evaluator/arithmetic/divide/divide.mjs.map +2 -2
  169. package/dist/mjs/evaluator/arithmetic/multiply/multiply.mjs +2 -2
  170. package/dist/mjs/evaluator/arithmetic/multiply/multiply.mjs.map +2 -2
  171. package/dist/mjs/evaluator/arithmetic/power/power.mjs +2 -2
  172. package/dist/mjs/evaluator/arithmetic/power/power.mjs.map +2 -2
  173. package/dist/mjs/evaluator/arithmetic/subtract/subtract.mjs +2 -2
  174. package/dist/mjs/evaluator/arithmetic/subtract/subtract.mjs.map +2 -2
  175. package/dist/mjs/evaluator/comparison/equals.mjs.map +1 -1
  176. package/dist/mjs/evaluator/comparison/greater-than-or-equal.mjs +2 -2
  177. package/dist/mjs/evaluator/comparison/greater-than-or-equal.mjs.map +2 -2
  178. package/dist/mjs/evaluator/comparison/greater-than.mjs +2 -2
  179. package/dist/mjs/evaluator/comparison/greater-than.mjs.map +2 -2
  180. package/dist/mjs/evaluator/comparison/less-than-or-equal.mjs +2 -2
  181. package/dist/mjs/evaluator/comparison/less-than-or-equal.mjs.map +2 -2
  182. package/dist/mjs/evaluator/comparison/less-than.mjs +2 -2
  183. package/dist/mjs/evaluator/comparison/less-than.mjs.map +2 -2
  184. package/dist/mjs/evaluator/comparison/not-equals.mjs +2 -2
  185. package/dist/mjs/evaluator/comparison/not-equals.mjs.map +2 -2
  186. package/dist/mjs/evaluator/concatenation/concatenate.mjs +2 -2
  187. package/dist/mjs/evaluator/concatenation/concatenate.mjs.map +2 -2
  188. package/dist/mjs/evaluator/dependency-nodes/ast-evaluation-node.mjs +2 -2
  189. package/dist/mjs/evaluator/dependency-nodes/ast-evaluation-node.mjs.map +2 -2
  190. package/dist/mjs/evaluator/dependency-nodes/base-eval-node.mjs.map +2 -2
  191. package/dist/mjs/evaluator/dependency-nodes/cell-value-node.mjs +2 -2
  192. package/dist/mjs/evaluator/dependency-nodes/cell-value-node.mjs.map +2 -2
  193. package/dist/mjs/evaluator/dependency-nodes/empty-cell-evaluation-node.mjs +3 -3
  194. package/dist/mjs/evaluator/dependency-nodes/empty-cell-evaluation-node.mjs.map +2 -2
  195. package/dist/mjs/evaluator/dependency-nodes/spill-meta-node.mjs +2 -2
  196. package/dist/mjs/evaluator/dependency-nodes/spill-meta-node.mjs.map +2 -2
  197. package/dist/mjs/evaluator/evaluate-scalar-operator.mjs.map +1 -1
  198. package/dist/mjs/evaluator/evaluation-context.mjs.map +2 -2
  199. package/dist/mjs/evaluator/evaluation-error.mjs.map +1 -1
  200. package/dist/mjs/evaluator/formula-evaluator.mjs +7 -7
  201. package/dist/mjs/evaluator/formula-evaluator.mjs.map +3 -3
  202. package/dist/mjs/evaluator/range-evaluation-node.mjs +3 -3
  203. package/dist/mjs/evaluator/range-evaluation-node.mjs.map +2 -2
  204. package/dist/mjs/functions/_template/template.mjs.map +1 -1
  205. package/dist/mjs/functions/array/sequence/sequence.mjs +4 -4
  206. package/dist/mjs/functions/array/sequence/sequence.mjs.map +2 -2
  207. package/dist/mjs/functions/criteria-parser.mjs.map +1 -1
  208. package/dist/mjs/functions/criteria-utils.mjs +8 -8
  209. package/dist/mjs/functions/criteria-utils.mjs.map +3 -3
  210. package/dist/mjs/functions/{index.mjs → function-registry.mjs} +2 -2
  211. package/dist/mjs/functions/function-registry.mjs.map +10 -0
  212. package/dist/mjs/functions/function-utils.mjs.map +1 -1
  213. package/dist/mjs/functions/information/cell/cell.mjs +3 -3
  214. package/dist/mjs/functions/information/cell/cell.mjs.map +2 -2
  215. package/dist/mjs/functions/information/column/column.mjs +4 -4
  216. package/dist/mjs/functions/information/column/column.mjs.map +2 -2
  217. package/dist/mjs/functions/information/row/row.mjs +4 -4
  218. package/dist/mjs/functions/information/row/row.mjs.map +2 -2
  219. package/dist/mjs/functions/logical/and/and.mjs +2 -2
  220. package/dist/mjs/functions/logical/and/and.mjs.map +2 -2
  221. package/dist/mjs/functions/logical/if/if.mjs +2 -2
  222. package/dist/mjs/functions/logical/if/if.mjs.map +3 -3
  223. package/dist/mjs/functions/logical/iferror/iferror.mjs +3 -3
  224. package/dist/mjs/functions/logical/iferror/iferror.mjs.map +2 -2
  225. package/dist/mjs/functions/logical/or/or.mjs +2 -2
  226. package/dist/mjs/functions/logical/or/or.mjs.map +2 -2
  227. package/dist/mjs/functions/lookup/count/count-utils.mjs.map +1 -1
  228. package/dist/mjs/functions/lookup/count/count.mjs +2 -2
  229. package/dist/mjs/functions/lookup/count/count.mjs.map +2 -2
  230. package/dist/mjs/functions/lookup/count/countif.mjs +2 -2
  231. package/dist/mjs/functions/lookup/count/countif.mjs.map +2 -2
  232. package/dist/mjs/functions/lookup/count/countifs.mjs.map +1 -1
  233. package/dist/mjs/functions/lookup/index-lookup/index-lookup.mjs +2 -2
  234. package/dist/mjs/functions/lookup/index-lookup/index-lookup.mjs.map +2 -2
  235. package/dist/mjs/functions/lookup/match/match.mjs +2 -2
  236. package/dist/mjs/functions/lookup/match/match.mjs.map +2 -2
  237. package/dist/mjs/functions/lookup/xlookup/xlookup.mjs +2 -2
  238. package/dist/mjs/functions/lookup/xlookup/xlookup.mjs.map +2 -2
  239. package/dist/mjs/functions/math/average/average-utils.mjs +2 -2
  240. package/dist/mjs/functions/math/average/average-utils.mjs.map +2 -2
  241. package/dist/mjs/functions/math/average/average.mjs +2 -2
  242. package/dist/mjs/functions/math/average/average.mjs.map +2 -2
  243. package/dist/mjs/functions/math/average/averageif.mjs +3 -3
  244. package/dist/mjs/functions/math/average/averageif.mjs.map +3 -3
  245. package/dist/mjs/functions/math/average/averageifs.mjs.map +2 -2
  246. package/dist/mjs/functions/math/ceiling/ceiling.mjs +2 -2
  247. package/dist/mjs/functions/math/ceiling/ceiling.mjs.map +3 -3
  248. package/dist/mjs/functions/math/max/max-utils.mjs +2 -2
  249. package/dist/mjs/functions/math/max/max-utils.mjs.map +2 -2
  250. package/dist/mjs/functions/math/max/max.mjs +2 -2
  251. package/dist/mjs/functions/math/max/max.mjs.map +2 -2
  252. package/dist/mjs/functions/math/max/maxif.mjs +2 -2
  253. package/dist/mjs/functions/math/max/maxif.mjs.map +2 -2
  254. package/dist/mjs/functions/math/max/maxifs.mjs.map +2 -2
  255. package/dist/mjs/functions/math/min/min-utils.mjs +2 -2
  256. package/dist/mjs/functions/math/min/min-utils.mjs.map +2 -2
  257. package/dist/mjs/functions/math/min/min.mjs +2 -2
  258. package/dist/mjs/functions/math/min/min.mjs.map +2 -2
  259. package/dist/mjs/functions/math/min/minif.mjs +2 -2
  260. package/dist/mjs/functions/math/min/minif.mjs.map +2 -2
  261. package/dist/mjs/functions/math/min/minifs.mjs.map +2 -2
  262. package/dist/mjs/functions/math/sum/sum.mjs +2 -2
  263. package/dist/mjs/functions/math/sum/sum.mjs.map +2 -2
  264. package/dist/mjs/functions/math/sum/sumif.mjs +2 -2
  265. package/dist/mjs/functions/math/sum/sumif.mjs.map +2 -2
  266. package/dist/mjs/functions/math/sum/sumifs.mjs.map +2 -2
  267. package/dist/mjs/functions/math/sum/summation-utils.mjs.map +1 -1
  268. package/dist/mjs/functions/reference/address/address.mjs +2 -2
  269. package/dist/mjs/functions/reference/address/address.mjs.map +2 -2
  270. package/dist/mjs/functions/reference/indirect/indirect.mjs +3 -3
  271. package/dist/mjs/functions/reference/indirect/indirect.mjs.map +3 -3
  272. package/dist/mjs/functions/reference/offset/offset.mjs +3 -3
  273. package/dist/mjs/functions/reference/offset/offset.mjs.map +2 -2
  274. package/dist/mjs/functions/text/concatenate/concatenate.mjs +2 -2
  275. package/dist/mjs/functions/text/concatenate/concatenate.mjs.map +2 -2
  276. package/dist/mjs/functions/text/exact/exact.mjs +2 -2
  277. package/dist/mjs/functions/text/exact/exact.mjs.map +2 -2
  278. package/dist/mjs/functions/text/find/find.mjs +2 -2
  279. package/dist/mjs/functions/text/find/find.mjs.map +3 -3
  280. package/dist/mjs/functions/text/left/left.mjs +3 -3
  281. package/dist/mjs/functions/text/left/left.mjs.map +2 -2
  282. package/dist/mjs/functions/text/len/len.mjs +2 -2
  283. package/dist/mjs/functions/text/len/len.mjs.map +3 -3
  284. package/dist/mjs/functions/text/mid/mid.mjs +3 -3
  285. package/dist/mjs/functions/text/mid/mid.mjs.map +2 -2
  286. package/dist/mjs/functions/text/right/right.mjs +4 -4
  287. package/dist/mjs/functions/text/right/right.mjs.map +3 -3
  288. package/dist/mjs/functions/text/text-helpers.mjs +2 -2
  289. package/dist/mjs/functions/text/text-helpers.mjs.map +2 -2
  290. package/dist/mjs/functions/text/textjoin/textjoin.mjs +2 -2
  291. package/dist/mjs/functions/text/textjoin/textjoin.mjs.map +3 -3
  292. package/dist/mjs/package.json +1 -1
  293. package/dist/mjs/parser/formatter.mjs +2 -2
  294. package/dist/mjs/parser/formatter.mjs.map +2 -2
  295. package/dist/types/core/engine.d.ts +5 -1
  296. package/dist/types/core/managers/dependency-manager.d.ts +7 -7
  297. package/dist/types/core/managers/dependency-node.d.ts +5 -5
  298. package/dist/types/core/managers/evaluation-manager.d.ts +4 -4
  299. package/dist/types/core/managers/frontier-dependency-manager.d.ts +2 -2
  300. package/dist/types/core/managers/named-expression-manager.d.ts +2 -2
  301. package/dist/types/core/managers/workbook-manager.d.ts +1 -1
  302. package/dist/types/core/types.d.ts +3 -3
  303. package/dist/types/evaluator/arithmetic/add/add.d.ts +1 -1
  304. package/dist/types/evaluator/arithmetic/divide/divide.d.ts +1 -1
  305. package/dist/types/evaluator/arithmetic/multiply/multiply.d.ts +1 -1
  306. package/dist/types/evaluator/arithmetic/power/power.d.ts +1 -1
  307. package/dist/types/evaluator/arithmetic/subtract/subtract.d.ts +1 -1
  308. package/dist/types/evaluator/comparison/equals.d.ts +1 -1
  309. package/dist/types/evaluator/comparison/greater-than-or-equal.d.ts +1 -1
  310. package/dist/types/evaluator/comparison/greater-than.d.ts +1 -1
  311. package/dist/types/evaluator/comparison/less-than-or-equal.d.ts +1 -1
  312. package/dist/types/evaluator/comparison/less-than.d.ts +1 -1
  313. package/dist/types/evaluator/comparison/not-equals.d.ts +1 -1
  314. package/dist/types/evaluator/concatenation/concatenate.d.ts +1 -1
  315. package/dist/types/evaluator/dependency-nodes/ast-evaluation-node.d.ts +2 -2
  316. package/dist/types/evaluator/dependency-nodes/base-eval-node.d.ts +1 -1
  317. package/dist/types/evaluator/dependency-nodes/cell-value-node.d.ts +1 -1
  318. package/dist/types/evaluator/dependency-nodes/empty-cell-evaluation-node.d.ts +4 -4
  319. package/dist/types/evaluator/dependency-nodes/spill-meta-node.d.ts +1 -1
  320. package/dist/types/evaluator/evaluate-scalar-operator.d.ts +1 -1
  321. package/dist/types/evaluator/evaluation-context.d.ts +3 -3
  322. package/dist/types/evaluator/evaluation-error.d.ts +2 -2
  323. package/dist/types/evaluator/formula-evaluator.d.ts +5 -5
  324. package/dist/types/evaluator/range-evaluation-node.d.ts +4 -4
  325. package/dist/types/functions/_template/template.d.ts +1 -1
  326. package/dist/types/functions/array/sequence/sequence.d.ts +1 -1
  327. package/dist/types/functions/criteria-parser.d.ts +1 -1
  328. package/dist/types/functions/criteria-utils.d.ts +5 -5
  329. package/dist/types/functions/{index.d.ts → function-registry.d.ts} +1 -1
  330. package/dist/types/functions/function-utils.d.ts +5 -5
  331. package/dist/types/functions/information/cell/cell.d.ts +1 -1
  332. package/dist/types/functions/information/column/column.d.ts +1 -1
  333. package/dist/types/functions/information/row/row.d.ts +1 -1
  334. package/dist/types/functions/logical/and/and.d.ts +1 -1
  335. package/dist/types/functions/logical/if/if.d.ts +1 -1
  336. package/dist/types/functions/logical/iferror/iferror.d.ts +1 -1
  337. package/dist/types/functions/logical/or/or.d.ts +1 -1
  338. package/dist/types/functions/lookup/count/count-utils.d.ts +2 -2
  339. package/dist/types/functions/lookup/count/count.d.ts +1 -1
  340. package/dist/types/functions/lookup/count/countif.d.ts +1 -1
  341. package/dist/types/functions/lookup/count/countifs.d.ts +1 -1
  342. package/dist/types/functions/lookup/index-lookup/index-lookup.d.ts +1 -1
  343. package/dist/types/functions/lookup/match/match.d.ts +1 -1
  344. package/dist/types/functions/lookup/xlookup/xlookup.d.ts +1 -1
  345. package/dist/types/functions/math/average/average-utils.d.ts +2 -2
  346. package/dist/types/functions/math/average/average.d.ts +1 -1
  347. package/dist/types/functions/math/average/averageif.d.ts +1 -1
  348. package/dist/types/functions/math/average/averageifs.d.ts +1 -1
  349. package/dist/types/functions/math/ceiling/ceiling.d.ts +1 -1
  350. package/dist/types/functions/math/max/max-utils.d.ts +2 -2
  351. package/dist/types/functions/math/max/max.d.ts +1 -1
  352. package/dist/types/functions/math/max/maxif.d.ts +1 -1
  353. package/dist/types/functions/math/max/maxifs.d.ts +1 -1
  354. package/dist/types/functions/math/min/min-utils.d.ts +2 -2
  355. package/dist/types/functions/math/min/min.d.ts +1 -1
  356. package/dist/types/functions/math/min/minif.d.ts +1 -1
  357. package/dist/types/functions/math/min/minifs.d.ts +1 -1
  358. package/dist/types/functions/math/sum/sum.d.ts +1 -1
  359. package/dist/types/functions/math/sum/sumif.d.ts +1 -1
  360. package/dist/types/functions/math/sum/sumifs.d.ts +1 -1
  361. package/dist/types/functions/math/sum/summation-utils.d.ts +1 -1
  362. package/dist/types/functions/reference/address/address.d.ts +1 -1
  363. package/dist/types/functions/reference/indirect/indirect.d.ts +1 -1
  364. package/dist/types/functions/reference/offset/offset.d.ts +1 -1
  365. package/dist/types/functions/text/concatenate/concatenate.d.ts +1 -1
  366. package/dist/types/functions/text/exact/exact.d.ts +1 -1
  367. package/dist/types/functions/text/find/find.d.ts +1 -1
  368. package/dist/types/functions/text/left/left.d.ts +1 -1
  369. package/dist/types/functions/text/len/len.d.ts +1 -1
  370. package/dist/types/functions/text/mid/mid.d.ts +1 -1
  371. package/dist/types/functions/text/right/right.d.ts +1 -1
  372. package/dist/types/functions/text/text-helpers.d.ts +3 -3
  373. package/dist/types/functions/text/textjoin/textjoin.d.ts +1 -1
  374. package/package.json +1 -1
  375. package/dist/cjs/core/managers/index.cjs +0 -49
  376. package/dist/cjs/core/managers/index.cjs.map +0 -10
  377. package/dist/cjs/functions/index.cjs.map +0 -10
  378. package/dist/mjs/core/managers/index.mjs +0 -21
  379. package/dist/mjs/core/managers/index.mjs.map +0 -10
  380. package/dist/mjs/functions/index.mjs.map +0 -10
  381. package/dist/types/core/managers/index.d.ts +0 -7
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * CEILING function implementation
4
4
  */
@@ -1,5 +1,5 @@
1
- import { type FunctionEvaluationResult, type SingleEvaluationResult, type CellInfinity } from "src/core/types";
2
- import type { EvaluationContext } from "src/evaluator/evaluation-context";
1
+ import { type FunctionEvaluationResult, type SingleEvaluationResult, type CellInfinity } from "../../../core/types";
2
+ import type { EvaluationContext } from "../../../evaluator/evaluation-context";
3
3
  /**
4
4
  * Result type for processInfinity in max functions
5
5
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * MAX function - Returns the largest number in the arguments
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * MAXIF function - Returns the maximum value among cells specified by a criteria
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * MAXIFS function - Returns the maximum value among cells specified by multiple criteria
4
4
  *
@@ -1,5 +1,5 @@
1
- import { type FunctionEvaluationResult, type SingleEvaluationResult, type CellInfinity } from "src/core/types";
2
- import type { EvaluationContext } from "src/evaluator/evaluation-context";
1
+ import { type FunctionEvaluationResult, type SingleEvaluationResult, type CellInfinity } from "../../../core/types";
2
+ import type { EvaluationContext } from "../../../evaluator/evaluation-context";
3
3
  /**
4
4
  * Result type for processInfinity in min functions
5
5
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * MIN function - Returns the smallest number in the arguments
4
4
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * MINIF function - Returns the minimum value among cells specified by a criteria
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * MINIFS function - Returns the minimum value among cells specified by multiple criteria
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * SUM function - Adds all numbers in the arguments
4
4
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * SUMIF function - Sums cells in a range that meet a criteria
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * SUMIFS function - Sums cells in a range that meet multiple criteria
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionEvaluationResult, type SingleEvaluationResult, type CellInfinity } from "src/core/types";
1
+ import { type FunctionEvaluationResult, type SingleEvaluationResult, type CellInfinity } from "../../../core/types";
2
2
  /**
3
3
  * Result type for processInfinity in sum functions
4
4
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * ADDRESS function - Creates a cell reference as text given row and column numbers
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * INDIRECT function - Returns the reference specified by a text string
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * OFFSET function - Returns a reference offset from a given reference
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * CONCATENATE function implementation
4
4
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * EXACT function implementation
4
4
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * FIND function - Finds one text string within another (case-sensitive)
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * LEFT function - Returns the leftmost characters from a text string
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * LEN function - Returns the length of a text string
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * MID function - Returns characters from the middle of a text string
4
4
  *
@@ -1,2 +1,2 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  export declare const RIGHT: FunctionDefinition;
@@ -1,6 +1,6 @@
1
- import { type CellString, type FunctionEvaluationResult, type ErrorEvaluationResult } from "src/core/types";
2
- import type { FormulaEvaluator } from "src/evaluator/formula-evaluator";
3
- import type { EvaluationContext } from "src/evaluator/evaluation-context";
1
+ import { type CellString, type FunctionEvaluationResult, type ErrorEvaluationResult } from "../../core/types";
2
+ import type { FormulaEvaluator } from "../../evaluator/formula-evaluator";
3
+ import type { EvaluationContext } from "../../evaluator/evaluation-context";
4
4
  /**
5
5
  * Strictly extracts string value without type coercion
6
6
  */
@@ -1,4 +1,4 @@
1
- import { type FunctionDefinition } from "src/core/types";
1
+ import { type FunctionDefinition } from "../../../core/types";
2
2
  /**
3
3
  * TEXTJOIN function implementation
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/formula-engine",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "module": "./dist/mjs/lib.mjs",
5
5
  "scripts": {
6
6
  "test": "bun test",
@@ -1,49 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropNames = Object.getOwnPropertyNames;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __moduleCache = /* @__PURE__ */ new WeakMap;
6
- var __toCommonJS = (from) => {
7
- var entry = __moduleCache.get(from), desc;
8
- if (entry)
9
- return entry;
10
- entry = __defProp({}, "__esModule", { value: true });
11
- if (from && typeof from === "object" || typeof from === "function")
12
- __getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
13
- get: () => from[key],
14
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
- }));
16
- __moduleCache.set(from, entry);
17
- return entry;
18
- };
19
- var __export = (target, all) => {
20
- for (var name in all)
21
- __defProp(target, name, {
22
- get: all[name],
23
- enumerable: true,
24
- configurable: true,
25
- set: (newValue) => all[name] = () => newValue
26
- });
27
- };
28
-
29
- // src/core/managers/index.ts
30
- var exports_managers = {};
31
- __export(exports_managers, {
32
- buildRangeEvalOrder: () => import_range_eval_order_builder.buildRangeEvalOrder,
33
- WorkbookManager: () => import_workbook_manager.WorkbookManager,
34
- TableManager: () => import_table_manager.TableManager,
35
- NamedExpressionManager: () => import_named_expression_manager.NamedExpressionManager,
36
- EventManager: () => import_event_manager.EventManager,
37
- EvaluationManager: () => import_evaluation_manager.EvaluationManager,
38
- DependencyManager: () => import_dependency_manager.DependencyManager
39
- });
40
- module.exports = __toCommonJS(exports_managers);
41
- var import_workbook_manager = require("./workbook-manager.cjs");
42
- var import_named_expression_manager = require("./named-expression-manager.cjs");
43
- var import_table_manager = require("./table-manager.cjs");
44
- var import_event_manager = require("./event-manager.cjs");
45
- var import_evaluation_manager = require("./evaluation-manager.cjs");
46
- var import_dependency_manager = require("./dependency-manager.cjs");
47
- var import_range_eval_order_builder = require("./range-eval-order-builder.cjs");
48
-
49
- //# debugId=D3AB14053FAA555C64756E2164756E21
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/core/managers/index.ts"],
4
- "sourcesContent": [
5
- "export { WorkbookManager } from \"./workbook-manager.cjs\";\nexport { NamedExpressionManager } from \"./named-expression-manager.cjs\";\nexport { TableManager } from \"./table-manager.cjs\";\nexport { EventManager } from \"./event-manager.cjs\";\nexport { EvaluationManager } from \"./evaluation-manager.cjs\";\nexport { DependencyManager } from \"./dependency-manager.cjs\";\nexport {\n buildRangeEvalOrder,\n type LookupOrder,\n type RangeEvalOrderEntry,\n} from \"./range-eval-order-builder.cjs\";\n"
6
- ],
7
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAgC,IAAhC;AACuC,IAAvC;AAC6B,IAA7B;AAC6B,IAA7B;AACkC,IAAlC;AACkC,IAAlC;AAKO,IAJP;",
8
- "debugId": "D3AB14053FAA555C64756E2164756E21",
9
- "names": []
10
- }
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/functions/index.ts"],
4
- "sourcesContent": [
5
- "import type { FunctionDefinition } from \"src/core/types\";\n// import { arrayFunctions } from \"./array/array-functions.cjs\";\n// import { infoFunctions } from \"./info/info-functions.cjs\";\n// import { logicalComparisonFunctions } from \"./logical/comparisons.cjs\";\n// import { logicalConditionFunctions } from \"./logical/conditions.cjs\";\n// import { lookupFunctions } from \"./lookup/lookup-functions.cjs\";\n// import { advancedMathFunctions } from \"./math/advanced.cjs\";\n// import { basicMathFunctions } from \"./math/basic.cjs\";\n// import { textFunctions } from \"./text/string-functions.cjs\";\nimport { SEQUENCE } from \"./array/sequence/sequence.cjs\";\nimport { INDEX } from \"./lookup/index-lookup/index-lookup.cjs\"; // Fixed import path\nimport { MATCH } from \"./lookup/match/match.cjs\";\nimport { COUNT } from \"./lookup/count/count.cjs\";\nimport { COUNTIF } from \"./lookup/count/countif.cjs\";\nimport { AVERAGE } from \"./math/average/average.cjs\";\nimport { AVERAGEIF } from \"./math/average/averageif.cjs\";\nimport { AVERAGEIFS } from \"./math/average/averageifs.cjs\";\nimport { MAX } from \"./math/max/max.cjs\";\nimport { MAXIFS } from \"./math/max/maxifs.cjs\";\nimport { MIN } from \"./math/min/min.cjs\";\nimport { MINIFS } from \"./math/min/minifs.cjs\";\nimport { SUM } from \"./math/sum/sum.cjs\";\nimport { SUMIF } from \"./math/sum/sumif.cjs\";\nimport { SUMIFS } from \"./math/sum/sumifs.cjs\";\nimport { COUNTIFS } from \"./lookup/count/countifs.cjs\";\nimport { MAXIF } from \"./math/max/maxif.cjs\";\nimport { MINIF } from \"./math/min/minif.cjs\";\nimport { CEILING } from \"./math/ceiling/ceiling.cjs\";\nimport { EXACT } from \"./text/exact/exact.cjs\";\nimport { FIND } from \"./text/find/find.cjs\";\nimport { LEFT } from \"./text/left/left.cjs\";\nimport { MID } from \"./text/mid/mid.cjs\";\nimport { LEN } from \"./text/len/len.cjs\";\nimport { RIGHT } from \"./text/right/right.cjs\";\nimport { CONCATENATE } from \"./text/concatenate/concatenate.cjs\";\nimport { AND } from \"./logical/and/and.cjs\";\nimport { IF } from \"./logical/if/if.cjs\";\nimport { IFERROR } from \"./logical/iferror/iferror.cjs\";\nimport { XLOOKUP } from \"./lookup/xlookup/xlookup.cjs\";\nimport { OR } from \"./logical/or/or.cjs\";\nimport { TEXTJOIN } from \"./text/textjoin/textjoin.cjs\";\nimport { ROW } from \"./information/row/row.cjs\";\nimport { COLUMN } from \"./information/column/column.cjs\";\nimport { CELL } from \"./information/cell/cell.cjs\";\nimport { ADDRESS } from \"./reference/address/address.cjs\";\nimport { INDIRECT } from \"./reference/indirect/indirect.cjs\";\nimport { OFFSET } from \"./reference/offset/offset.cjs\";\n\nconst buildFunctionIndex = (functions: Record<string, FunctionDefinition>) => {\n return Object.fromEntries(\n Object.entries(functions).flatMap(([name, func]) => {\n const base: [string, FunctionDefinition][] = [[name, func]];\n if (func.aliases) {\n func.aliases.forEach((alias) => {\n base.push([alias, func]);\n });\n }\n return base;\n })\n );\n};\n\nexport const functions: Record<string, FunctionDefinition> = buildFunctionIndex(\n {\n ADDRESS,\n AND,\n AVERAGE,\n AVERAGEIF,\n AVERAGEIFS,\n CEILING,\n CELL,\n COLUMN,\n CONCATENATE,\n COUNT,\n COUNTIF,\n COUNTIFS,\n EXACT,\n FIND,\n IF,\n IFERROR,\n INDEX,\n INDIRECT,\n LEFT,\n LEN,\n MATCH,\n MAX,\n MAXIF,\n MAXIFS,\n MID,\n MIN,\n MINIF,\n MINIFS,\n OFFSET,\n OR,\n RIGHT,\n ROW,\n SEQUENCE,\n SUM,\n SUMIF,\n SUMIFS,\n TEXTJOIN,\n XLOOKUP,\n }\n);\n"
6
- ],
7
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASyB,IAAzB;AACsB,IAAtB;AACsB,IAAtB;AACsB,IAAtB;AACwB,IAAxB;AACwB,IAAxB;AAC0B,IAA1B;AAC2B,IAA3B;AACoB,IAApB;AACuB,IAAvB;AACoB,IAApB;AACuB,IAAvB;AACoB,IAApB;AACsB,IAAtB;AACuB,IAAvB;AACyB,IAAzB;AACsB,IAAtB;AACsB,IAAtB;AACwB,IAAxB;AACsB,IAAtB;AACqB,IAArB;AACqB,IAArB;AACoB,IAApB;AACoB,IAApB;AACsB,IAAtB;AAC4B,IAA5B;AACoB,IAApB;AACmB,IAAnB;AACwB,IAAxB;AACwB,IAAxB;AACmB,IAAnB;AACyB,IAAzB;AACoB,IAApB;AACuB,IAAvB;AACqB,IAArB;AACwB,IAAxB;AACyB,IAAzB;AACuB,IAAvB;AAEA,IAAM,qBAAqB,CAAC,cAAkD;AAAA,EAC5E,OAAO,OAAO,YACZ,OAAO,QAAQ,SAAS,EAAE,QAAQ,EAAE,MAAM,UAAU;AAAA,IAClD,MAAM,OAAuC,CAAC,CAAC,MAAM,IAAI,CAAC;AAAA,IAC1D,IAAI,KAAK,SAAS;AAAA,MAChB,KAAK,QAAQ,QAAQ,CAAC,UAAU;AAAA,QAC9B,KAAK,KAAK,CAAC,OAAO,IAAI,CAAC;AAAA,OACxB;AAAA,IACH;AAAA,IACA,OAAO;AAAA,GACR,CACH;AAAA;AAGK,IAAM,YAAgD,mBAC3D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CACF;",
8
- "debugId": "DFDC71312AB793C064756E2164756E21",
9
- "names": []
10
- }
@@ -1,21 +0,0 @@
1
- // src/core/managers/index.ts
2
- import { WorkbookManager } from "./workbook-manager.mjs";
3
- import { NamedExpressionManager } from "./named-expression-manager.mjs";
4
- import { TableManager } from "./table-manager.mjs";
5
- import { EventManager } from "./event-manager.mjs";
6
- import { EvaluationManager } from "./evaluation-manager.mjs";
7
- import { DependencyManager } from "./dependency-manager.mjs";
8
- import {
9
- buildRangeEvalOrder
10
- } from "./range-eval-order-builder.mjs";
11
- export {
12
- buildRangeEvalOrder,
13
- WorkbookManager,
14
- TableManager,
15
- NamedExpressionManager,
16
- EventManager,
17
- EvaluationManager,
18
- DependencyManager
19
- };
20
-
21
- //# debugId=001B94D88A64CDD464756E2164756E21
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/core/managers/index.ts"],
4
- "sourcesContent": [
5
- "export { WorkbookManager } from \"./workbook-manager.mjs\";\nexport { NamedExpressionManager } from \"./named-expression-manager.mjs\";\nexport { TableManager } from \"./table-manager.mjs\";\nexport { EventManager } from \"./event-manager.mjs\";\nexport { EvaluationManager } from \"./evaluation-manager.mjs\";\nexport { DependencyManager } from \"./dependency-manager.mjs\";\nexport {\n buildRangeEvalOrder,\n type LookupOrder,\n type RangeEvalOrderEntry,\n} from \"./range-eval-order-builder.mjs\";\n"
6
- ],
7
- "mappings": ";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;",
8
- "debugId": "001B94D88A64CDD464756E2164756E21",
9
- "names": []
10
- }
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/functions/index.ts"],
4
- "sourcesContent": [
5
- "import type { FunctionDefinition } from \"src/core/types\";\n// import { arrayFunctions } from \"./array/array-functions.mjs\";\n// import { infoFunctions } from \"./info/info-functions.mjs\";\n// import { logicalComparisonFunctions } from \"./logical/comparisons.mjs\";\n// import { logicalConditionFunctions } from \"./logical/conditions.mjs\";\n// import { lookupFunctions } from \"./lookup/lookup-functions.mjs\";\n// import { advancedMathFunctions } from \"./math/advanced.mjs\";\n// import { basicMathFunctions } from \"./math/basic.mjs\";\n// import { textFunctions } from \"./text/string-functions.mjs\";\nimport { SEQUENCE } from \"./array/sequence/sequence.mjs\";\nimport { INDEX } from \"./lookup/index-lookup/index-lookup.mjs\"; // Fixed import path\nimport { MATCH } from \"./lookup/match/match.mjs\";\nimport { COUNT } from \"./lookup/count/count.mjs\";\nimport { COUNTIF } from \"./lookup/count/countif.mjs\";\nimport { AVERAGE } from \"./math/average/average.mjs\";\nimport { AVERAGEIF } from \"./math/average/averageif.mjs\";\nimport { AVERAGEIFS } from \"./math/average/averageifs.mjs\";\nimport { MAX } from \"./math/max/max.mjs\";\nimport { MAXIFS } from \"./math/max/maxifs.mjs\";\nimport { MIN } from \"./math/min/min.mjs\";\nimport { MINIFS } from \"./math/min/minifs.mjs\";\nimport { SUM } from \"./math/sum/sum.mjs\";\nimport { SUMIF } from \"./math/sum/sumif.mjs\";\nimport { SUMIFS } from \"./math/sum/sumifs.mjs\";\nimport { COUNTIFS } from \"./lookup/count/countifs.mjs\";\nimport { MAXIF } from \"./math/max/maxif.mjs\";\nimport { MINIF } from \"./math/min/minif.mjs\";\nimport { CEILING } from \"./math/ceiling/ceiling.mjs\";\nimport { EXACT } from \"./text/exact/exact.mjs\";\nimport { FIND } from \"./text/find/find.mjs\";\nimport { LEFT } from \"./text/left/left.mjs\";\nimport { MID } from \"./text/mid/mid.mjs\";\nimport { LEN } from \"./text/len/len.mjs\";\nimport { RIGHT } from \"./text/right/right.mjs\";\nimport { CONCATENATE } from \"./text/concatenate/concatenate.mjs\";\nimport { AND } from \"./logical/and/and.mjs\";\nimport { IF } from \"./logical/if/if.mjs\";\nimport { IFERROR } from \"./logical/iferror/iferror.mjs\";\nimport { XLOOKUP } from \"./lookup/xlookup/xlookup.mjs\";\nimport { OR } from \"./logical/or/or.mjs\";\nimport { TEXTJOIN } from \"./text/textjoin/textjoin.mjs\";\nimport { ROW } from \"./information/row/row.mjs\";\nimport { COLUMN } from \"./information/column/column.mjs\";\nimport { CELL } from \"./information/cell/cell.mjs\";\nimport { ADDRESS } from \"./reference/address/address.mjs\";\nimport { INDIRECT } from \"./reference/indirect/indirect.mjs\";\nimport { OFFSET } from \"./reference/offset/offset.mjs\";\n\nconst buildFunctionIndex = (functions: Record<string, FunctionDefinition>) => {\n return Object.fromEntries(\n Object.entries(functions).flatMap(([name, func]) => {\n const base: [string, FunctionDefinition][] = [[name, func]];\n if (func.aliases) {\n func.aliases.forEach((alias) => {\n base.push([alias, func]);\n });\n }\n return base;\n })\n );\n};\n\nexport const functions: Record<string, FunctionDefinition> = buildFunctionIndex(\n {\n ADDRESS,\n AND,\n AVERAGE,\n AVERAGEIF,\n AVERAGEIFS,\n CEILING,\n CELL,\n COLUMN,\n CONCATENATE,\n COUNT,\n COUNTIF,\n COUNTIFS,\n EXACT,\n FIND,\n IF,\n IFERROR,\n INDEX,\n INDIRECT,\n LEFT,\n LEN,\n MATCH,\n MAX,\n MAXIF,\n MAXIFS,\n MID,\n MIN,\n MINIF,\n MINIFS,\n OFFSET,\n OR,\n RIGHT,\n ROW,\n SEQUENCE,\n SUM,\n SUMIF,\n SUMIFS,\n TEXTJOIN,\n XLOOKUP,\n }\n);\n"
6
- ],
7
- "mappings": ";AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,IAAM,qBAAqB,CAAC,cAAkD;AAAA,EAC5E,OAAO,OAAO,YACZ,OAAO,QAAQ,SAAS,EAAE,QAAQ,EAAE,MAAM,UAAU;AAAA,IAClD,MAAM,OAAuC,CAAC,CAAC,MAAM,IAAI,CAAC;AAAA,IAC1D,IAAI,KAAK,SAAS;AAAA,MAChB,KAAK,QAAQ,QAAQ,CAAC,UAAU;AAAA,QAC9B,KAAK,KAAK,CAAC,OAAO,IAAI,CAAC;AAAA,OACxB;AAAA,IACH;AAAA,IACA,OAAO;AAAA,GACR,CACH;AAAA;AAGK,IAAM,YAAgD,mBAC3D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CACF;",
8
- "debugId": "D3C4234AE873055B64756E2164756E21",
9
- "names": []
10
- }
@@ -1,7 +0,0 @@
1
- export { WorkbookManager } from "./workbook-manager";
2
- export { NamedExpressionManager } from "./named-expression-manager";
3
- export { TableManager } from "./table-manager";
4
- export { EventManager } from "./event-manager";
5
- export { EvaluationManager } from "./evaluation-manager";
6
- export { DependencyManager } from "./dependency-manager";
7
- export { buildRangeEvalOrder, type LookupOrder, type RangeEvalOrderEntry, } from "./range-eval-order-builder";