@sheetxl/sdk 0.7.21 → 0.7.23-beta.2

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 (1088) hide show
  1. package/THIRD-PARTY-NOTICES.md +34 -0
  2. package/browser/cjs/A5-b-7zx2sEOEcvl.cjs +33 -0
  3. package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +1 -0
  4. package/browser/cjs/Ccctey_HrpWuagT6.cjs +1 -0
  5. package/browser/cjs/CniTOg7oLRZwmgyM.cjs +57 -0
  6. package/browser/cjs/Dv3x6zut1ZRUt3IF.cjs +10 -0
  7. package/browser/cjs/E1pJfQiTbMva4WCz.cjs +1 -0
  8. package/browser/cjs/Y8ZGOM8g4sbsbA1Y.cjs +1 -0
  9. package/browser/cjs/index.cjs +3 -6
  10. package/browser/esm/BBJT6wXyXEvBQZKA.mjs +24 -0
  11. package/browser/esm/Ba8ViNCurmu-pQzB.mjs +818 -0
  12. package/browser/esm/Cnay4yeRx2XxT4Yp.mjs +50007 -0
  13. package/browser/esm/CrUqWGb8XSOVpWCS.mjs +109 -0
  14. package/browser/esm/DIqScru4YD2CC9q7.mjs +4436 -0
  15. package/browser/esm/DvShgCfX0MBnppXt.mjs +503 -0
  16. package/browser/esm/VD1vENLIu7_1r1UY.mjs +14 -0
  17. package/browser/esm/index.mjs +3225 -62
  18. package/licenses/dependencies.txt +74 -193
  19. package/node/esm/AiAlZ5mkssqXTadr.mjs +22 -0
  20. package/node/esm/Pg7h7EA11A6iLSIA.mjs +837 -0
  21. package/node/esm/index.mjs +53637 -23246
  22. package/node/esm/k4ZdzJqmTRplKGLv.mjs +114 -0
  23. package/package.json +19 -14
  24. package/resources/contents.json +21 -0
  25. package/resources/locales/contents.json +19 -0
  26. package/resources/locales/de/grammar.json +16 -0
  27. package/resources/locales/de/model.msg.json +510 -0
  28. package/resources/locales/en/model.msg.json +525 -0
  29. package/types/index.d.ts +2 -21284
  30. package/types/scripting-enums.json +1009 -0
  31. package/types/scripting.d.ts +26139 -31019
  32. package/types/src/address/AddressUtils.d.ts +252 -0
  33. package/types/src/address/AddressUtils.d.ts.map +1 -0
  34. package/types/src/address/_AddressMessages.d.ts +7 -0
  35. package/types/src/address/_AddressMessages.d.ts.map +1 -0
  36. package/types/src/address/index.d.ts +35 -0
  37. package/types/src/address/index.d.ts.map +1 -0
  38. package/types/src/anchored/AbstractAnchored.d.ts +200 -0
  39. package/types/src/anchored/AbstractAnchored.d.ts.map +1 -0
  40. package/types/src/anchored/Anchored.d.ts +154 -0
  41. package/types/src/anchored/Anchored.d.ts.map +1 -0
  42. package/types/src/anchored/AnchoredMap.d.ts +178 -0
  43. package/types/src/anchored/AnchoredMap.d.ts.map +1 -0
  44. package/types/src/anchored/IAnchored.d.ts +118 -0
  45. package/types/src/anchored/IAnchored.d.ts.map +1 -0
  46. package/types/src/anchored/IAnchoredMap.d.ts +207 -0
  47. package/types/src/anchored/IAnchoredMap.d.ts.map +1 -0
  48. package/types/src/anchored/_AnchorMessages.d.ts +3 -0
  49. package/types/src/anchored/_AnchorMessages.d.ts.map +1 -0
  50. package/types/src/anchored/index.d.ts +2 -0
  51. package/types/src/anchored/index.d.ts.map +1 -0
  52. package/types/src/autoFill/AutoFill.d.ts +161 -0
  53. package/types/src/autoFill/AutoFill.d.ts.map +1 -0
  54. package/types/src/autoFill/IAutoFill.d.ts +117 -0
  55. package/types/src/autoFill/IAutoFill.d.ts.map +1 -0
  56. package/types/src/autoFill/index.d.ts +3 -0
  57. package/types/src/autoFill/index.d.ts.map +1 -0
  58. package/types/src/border/IBorder.d.ts +284 -0
  59. package/types/src/border/IBorder.d.ts.map +1 -0
  60. package/types/src/border/index.d.ts +2 -0
  61. package/types/src/border/index.d.ts.map +1 -0
  62. package/types/src/calculation/Calculation.d.ts +440 -0
  63. package/types/src/calculation/Calculation.d.ts.map +1 -0
  64. package/types/src/calculation/FormulaLiterals.d.ts +18 -0
  65. package/types/src/calculation/FormulaLiterals.d.ts.map +1 -0
  66. package/types/src/calculation/ICalculation.d.ts +1016 -0
  67. package/types/src/calculation/ICalculation.d.ts.map +1 -0
  68. package/types/src/calculation/INamedFormulasCollection.d.ts +141 -0
  69. package/types/src/calculation/INamedFormulasCollection.d.ts.map +1 -0
  70. package/types/src/calculation/NamedFormulaCollection.d.ts +671 -0
  71. package/types/src/calculation/NamedFormulaCollection.d.ts.map +1 -0
  72. package/types/src/calculation/TokenType.d.ts +117 -0
  73. package/types/src/calculation/TokenType.d.ts.map +1 -0
  74. package/types/src/calculation/Types.d.ts +110 -0
  75. package/types/src/calculation/Types.d.ts.map +1 -0
  76. package/types/src/calculation/_CalculationMessages.d.ts +3 -0
  77. package/types/src/calculation/_CalculationMessages.d.ts.map +1 -0
  78. package/types/src/calculation/builtInNames.d.ts +2 -0
  79. package/types/src/calculation/builtInNames.d.ts.map +1 -0
  80. package/types/src/calculation/compiler/ASTTypes.d.ts +180 -0
  81. package/types/src/calculation/compiler/ASTTypes.d.ts.map +1 -0
  82. package/types/src/calculation/compiler/CompilerLocale.d.ts +69 -0
  83. package/types/src/calculation/compiler/CompilerLocale.d.ts.map +1 -0
  84. package/types/src/calculation/compiler/CompilerUtils.d.ts +331 -0
  85. package/types/src/calculation/compiler/CompilerUtils.d.ts.map +1 -0
  86. package/types/src/calculation/compiler/FormulaCompiler.d.ts +69 -0
  87. package/types/src/calculation/compiler/FormulaCompiler.d.ts.map +1 -0
  88. package/types/src/calculation/compiler/FormulaLexer.d.ts +85 -0
  89. package/types/src/calculation/compiler/FormulaLexer.d.ts.map +1 -0
  90. package/types/src/calculation/compiler/FormulaParser.d.ts +270 -0
  91. package/types/src/calculation/compiler/FormulaParser.d.ts.map +1 -0
  92. package/types/src/calculation/compiler/FormulaSeparators.d.ts +35 -0
  93. package/types/src/calculation/compiler/FormulaSeparators.d.ts.map +1 -0
  94. package/types/src/calculation/compiler/LiteTransform.d.ts +15 -0
  95. package/types/src/calculation/compiler/LiteTransform.d.ts.map +1 -0
  96. package/types/src/calculation/compiler/ParserUtils.d.ts +167 -0
  97. package/types/src/calculation/compiler/ParserUtils.d.ts.map +1 -0
  98. package/types/src/calculation/compiler/SRLexer.d.ts +19 -0
  99. package/types/src/calculation/compiler/SRLexer.d.ts.map +1 -0
  100. package/types/src/calculation/compiler/SRParser.d.ts +38 -0
  101. package/types/src/calculation/compiler/SRParser.d.ts.map +1 -0
  102. package/types/src/calculation/compiler/Types.d.ts +274 -0
  103. package/types/src/calculation/compiler/Types.d.ts.map +1 -0
  104. package/types/src/calculation/compiler/index.d.ts +3 -0
  105. package/types/src/calculation/compiler/index.d.ts.map +1 -0
  106. package/types/src/calculation/executor/CalcExecutor.d.ts +115 -0
  107. package/types/src/calculation/executor/CalcExecutor.d.ts.map +1 -0
  108. package/types/src/calculation/executor/CalcExecutorUtils.d.ts +11 -0
  109. package/types/src/calculation/executor/CalcExecutorUtils.d.ts.map +1 -0
  110. package/types/src/calculation/executor/index.d.ts +3 -0
  111. package/types/src/calculation/executor/index.d.ts.map +1 -0
  112. package/types/src/calculation/formula/Formula.d.ts +168 -0
  113. package/types/src/calculation/formula/Formula.d.ts.map +1 -0
  114. package/types/src/calculation/formula/FormulaBlock.d.ts +207 -0
  115. package/types/src/calculation/formula/FormulaBlock.d.ts.map +1 -0
  116. package/types/src/calculation/formula/IFormulaBlock.d.ts +181 -0
  117. package/types/src/calculation/formula/IFormulaBlock.d.ts.map +1 -0
  118. package/types/src/calculation/formula/LambdaValue.d.ts +166 -0
  119. package/types/src/calculation/formula/LambdaValue.d.ts.map +1 -0
  120. package/types/src/calculation/formula/TokenUtils.d.ts +26 -0
  121. package/types/src/calculation/formula/TokenUtils.d.ts.map +1 -0
  122. package/types/src/calculation/formula/index.d.ts +4 -0
  123. package/types/src/calculation/formula/index.d.ts.map +1 -0
  124. package/types/src/calculation/functions/Operators.d.ts +30 -0
  125. package/types/src/calculation/functions/Operators.d.ts.map +1 -0
  126. package/types/src/calculation/functions/index.d.ts +2 -0
  127. package/types/src/calculation/functions/index.d.ts.map +1 -0
  128. package/types/src/calculation/functions/initializeFunctions.d.ts +22 -0
  129. package/types/src/calculation/functions/initializeFunctions.d.ts.map +1 -0
  130. package/types/src/calculation/grid/CalcGrid.d.ts +205 -0
  131. package/types/src/calculation/grid/CalcGrid.d.ts.map +1 -0
  132. package/types/src/calculation/grid/CalcGridUtils.d.ts +172 -0
  133. package/types/src/calculation/grid/CalcGridUtils.d.ts.map +1 -0
  134. package/types/src/calculation/grid/ICalcGrid.d.ts +500 -0
  135. package/types/src/calculation/grid/ICalcGrid.d.ts.map +1 -0
  136. package/types/src/calculation/grid/index.d.ts +3 -0
  137. package/types/src/calculation/grid/index.d.ts.map +1 -0
  138. package/types/src/calculation/index.d.ts +5 -0
  139. package/types/src/calculation/index.d.ts.map +1 -0
  140. package/types/src/calculation/spatial/ContentfulSpatialValue.d.ts +25 -0
  141. package/types/src/calculation/spatial/ContentfulSpatialValue.d.ts.map +1 -0
  142. package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +120 -0
  143. package/types/src/calculation/spatial/FormulaSpatialValue.d.ts.map +1 -0
  144. package/types/src/calculation/spatial/PrecedentSpatialValue.d.ts +115 -0
  145. package/types/src/calculation/spatial/PrecedentSpatialValue.d.ts.map +1 -0
  146. package/types/src/calculation/spatial/SpillEntry.d.ts +40 -0
  147. package/types/src/calculation/spatial/SpillEntry.d.ts.map +1 -0
  148. package/types/src/calculation/spatial/index.d.ts +5 -0
  149. package/types/src/calculation/spatial/index.d.ts.map +1 -0
  150. package/types/src/calculation/state/CalcNode.d.ts +71 -0
  151. package/types/src/calculation/state/CalcNode.d.ts.map +1 -0
  152. package/types/src/calculation/state/CalcScope.d.ts +35 -0
  153. package/types/src/calculation/state/CalcScope.d.ts.map +1 -0
  154. package/types/src/calculation/state/CalcState.d.ts +28 -0
  155. package/types/src/calculation/state/CalcState.d.ts.map +1 -0
  156. package/types/src/calculation/state/CalculationContext.d.ts +125 -0
  157. package/types/src/calculation/state/CalculationContext.d.ts.map +1 -0
  158. package/types/src/calculation/state/IContextContainer.d.ts +320 -0
  159. package/types/src/calculation/state/IContextContainer.d.ts.map +1 -0
  160. package/types/src/calculation/state/index.d.ts +6 -0
  161. package/types/src/calculation/state/index.d.ts.map +1 -0
  162. package/types/src/calculation/symbol/FunctionSymbolProvider.d.ts +44 -0
  163. package/types/src/calculation/symbol/FunctionSymbolProvider.d.ts.map +1 -0
  164. package/types/src/calculation/symbol/ISymbolRegistry.d.ts +93 -0
  165. package/types/src/calculation/symbol/ISymbolRegistry.d.ts.map +1 -0
  166. package/types/src/calculation/symbol/IndirectSymbolProvider.d.ts +144 -0
  167. package/types/src/calculation/symbol/IndirectSymbolProvider.d.ts.map +1 -0
  168. package/types/src/calculation/symbol/SheetSymbolProvider.d.ts +18 -0
  169. package/types/src/calculation/symbol/SheetSymbolProvider.d.ts.map +1 -0
  170. package/types/src/calculation/symbol/SymbolRegistry.d.ts +19 -0
  171. package/types/src/calculation/symbol/SymbolRegistry.d.ts.map +1 -0
  172. package/types/src/calculation/symbol/TableColumnSymbolProvider.d.ts +21 -0
  173. package/types/src/calculation/symbol/TableColumnSymbolProvider.d.ts.map +1 -0
  174. package/types/src/calculation/symbol/TableSymbolProvider.d.ts +19 -0
  175. package/types/src/calculation/symbol/TableSymbolProvider.d.ts.map +1 -0
  176. package/types/src/calculation/symbol/index.d.ts +9 -0
  177. package/types/src/calculation/symbol/index.d.ts.map +1 -0
  178. package/types/src/cell/ICell.d.ts +672 -0
  179. package/types/src/cell/ICell.d.ts.map +1 -0
  180. package/types/src/cell/ICellHeader.d.ts +142 -0
  181. package/types/src/cell/ICellHeader.d.ts.map +1 -0
  182. package/types/src/cell/ICellProtection.d.ts +41 -0
  183. package/types/src/cell/ICellProtection.d.ts.map +1 -0
  184. package/types/src/cell/index.d.ts +4 -0
  185. package/types/src/cell/index.d.ts.map +1 -0
  186. package/types/src/cellRange/ICellHeaderRange.d.ts +306 -0
  187. package/types/src/cellRange/ICellHeaderRange.d.ts.map +1 -0
  188. package/types/src/cellRange/ICellHeaderRanges.d.ts +107 -0
  189. package/types/src/cellRange/ICellHeaderRanges.d.ts.map +1 -0
  190. package/types/src/cellRange/ICellRange.d.ts +2509 -0
  191. package/types/src/cellRange/ICellRange.d.ts.map +1 -0
  192. package/types/src/cellRange/ICellRanges.d.ts +407 -0
  193. package/types/src/cellRange/ICellRanges.d.ts.map +1 -0
  194. package/types/src/cellRange/ICellRegion.d.ts +133 -0
  195. package/types/src/cellRange/ICellRegion.d.ts.map +1 -0
  196. package/types/src/cellRange/_GraphNode.d.ts +38 -0
  197. package/types/src/cellRange/_GraphNode.d.ts.map +1 -0
  198. package/types/src/cellRange/index.d.ts +6 -0
  199. package/types/src/cellRange/index.d.ts.map +1 -0
  200. package/types/src/chart/Chart.d.ts +53 -0
  201. package/types/src/chart/Chart.d.ts.map +1 -0
  202. package/types/src/chart/IChart.d.ts +42 -0
  203. package/types/src/chart/IChart.d.ts.map +1 -0
  204. package/types/src/chart/index.d.ts +5 -0
  205. package/types/src/chart/index.d.ts.map +1 -0
  206. package/types/src/collections/ArraysGrid.d.ts +72 -0
  207. package/types/src/collections/ArraysGrid.d.ts.map +1 -0
  208. package/types/src/collections/BooleanList.d.ts +67 -0
  209. package/types/src/collections/BooleanList.d.ts.map +1 -0
  210. package/types/src/collections/GridMap.d.ts +47 -0
  211. package/types/src/collections/GridMap.d.ts.map +1 -0
  212. package/types/src/collections/HashMap.d.ts +15 -0
  213. package/types/src/collections/HashMap.d.ts.map +1 -0
  214. package/types/src/collections/IGrid.d.ts +278 -0
  215. package/types/src/collections/IGrid.d.ts.map +1 -0
  216. package/types/src/collections/IList.d.ts +89 -0
  217. package/types/src/collections/IList.d.ts.map +1 -0
  218. package/types/src/collections/IMap.d.ts +45 -0
  219. package/types/src/collections/IMap.d.ts.map +1 -0
  220. package/types/src/collections/IReadableList.d.ts +120 -0
  221. package/types/src/collections/IReadableList.d.ts.map +1 -0
  222. package/types/src/collections/ISortedMap.d.ts +171 -0
  223. package/types/src/collections/ISortedMap.d.ts.map +1 -0
  224. package/types/src/collections/ISparseGrid.d.ts +61 -0
  225. package/types/src/collections/ISparseGrid.d.ts.map +1 -0
  226. package/types/src/collections/ISparseList.d.ts +103 -0
  227. package/types/src/collections/ISparseList.d.ts.map +1 -0
  228. package/types/src/collections/ISpatialMap.d.ts +515 -0
  229. package/types/src/collections/ISpatialMap.d.ts.map +1 -0
  230. package/types/src/collections/ISpatialMap3D.d.ts +116 -0
  231. package/types/src/collections/ISpatialMap3D.d.ts.map +1 -0
  232. package/types/src/collections/IWritableList.d.ts +41 -0
  233. package/types/src/collections/IWritableList.d.ts.map +1 -0
  234. package/types/src/collections/ImmutableList.d.ts +52 -0
  235. package/types/src/collections/ImmutableList.d.ts.map +1 -0
  236. package/types/src/collections/IteratorUtils.d.ts +91 -0
  237. package/types/src/collections/IteratorUtils.d.ts.map +1 -0
  238. package/types/src/collections/MixedTypedArrayList.d.ts +140 -0
  239. package/types/src/collections/MixedTypedArrayList.d.ts.map +1 -0
  240. package/types/src/collections/OverlappingRangeIterator.d.ts +91 -0
  241. package/types/src/collections/OverlappingRangeIterator.d.ts.map +1 -0
  242. package/types/src/collections/RTree.d.ts +111 -0
  243. package/types/src/collections/RTree.d.ts.map +1 -0
  244. package/types/src/collections/RepeatingList.d.ts +20 -0
  245. package/types/src/collections/RepeatingList.d.ts.map +1 -0
  246. package/types/src/collections/SortedMap.d.ts +396 -0
  247. package/types/src/collections/SortedMap.d.ts.map +1 -0
  248. package/types/src/collections/SparseGrid.d.ts +99 -0
  249. package/types/src/collections/SparseGrid.d.ts.map +1 -0
  250. package/types/src/collections/SparseList.d.ts +90 -0
  251. package/types/src/collections/SparseList.d.ts.map +1 -0
  252. package/types/src/collections/SpatialMap.d.ts +102 -0
  253. package/types/src/collections/SpatialMap.d.ts.map +1 -0
  254. package/types/src/collections/SpatialMap3D.d.ts +64 -0
  255. package/types/src/collections/SpatialMap3D.d.ts.map +1 -0
  256. package/types/src/collections/Tuple.d.ts +160 -0
  257. package/types/src/collections/Tuple.d.ts.map +1 -0
  258. package/types/src/collections/_CollectionUtils.d.ts +25 -0
  259. package/types/src/collections/_CollectionUtils.d.ts.map +1 -0
  260. package/types/src/collections/_GridUtils.d.ts +268 -0
  261. package/types/src/collections/_GridUtils.d.ts.map +1 -0
  262. package/types/src/collections/_RunUtils.d.ts +170 -0
  263. package/types/src/collections/_RunUtils.d.ts.map +1 -0
  264. package/types/src/collections/_SpatialUtils.d.ts +115 -0
  265. package/types/src/collections/_SpatialUtils.d.ts.map +1 -0
  266. package/types/src/collections/index.d.ts +21 -0
  267. package/types/src/collections/index.d.ts.map +1 -0
  268. package/types/src/color/Color.d.ts +120 -0
  269. package/types/src/color/Color.d.ts.map +1 -0
  270. package/types/src/color/ColorSpace.d.ts +45 -0
  271. package/types/src/color/ColorSpace.d.ts.map +1 -0
  272. package/types/src/color/IColor.d.ts +1110 -0
  273. package/types/src/color/IColor.d.ts.map +1 -0
  274. package/types/src/color/_BuiltInIndexDefs.d.ts +4 -0
  275. package/types/src/color/_BuiltInIndexDefs.d.ts.map +1 -0
  276. package/types/src/color/_BuiltInNamedDefs.d.ts +29 -0
  277. package/types/src/color/_BuiltInNamedDefs.d.ts.map +1 -0
  278. package/types/src/color/_BuiltInSchemeDefs.d.ts +7 -0
  279. package/types/src/color/_BuiltInSchemeDefs.d.ts.map +1 -0
  280. package/types/src/color/_ColorUtils.d.ts +93 -0
  281. package/types/src/color/_ColorUtils.d.ts.map +1 -0
  282. package/types/src/color/index.d.ts +3 -0
  283. package/types/src/color/index.d.ts.map +1 -0
  284. package/types/src/comment/IComment.d.ts +108 -0
  285. package/types/src/comment/IComment.d.ts.map +1 -0
  286. package/types/src/comment/index.d.ts +2 -0
  287. package/types/src/comment/index.d.ts.map +1 -0
  288. package/types/src/condition/AnchoredConditional.d.ts +263 -0
  289. package/types/src/condition/AnchoredConditional.d.ts.map +1 -0
  290. package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +83 -0
  291. package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts.map +1 -0
  292. package/types/src/condition/BuiltInOperators/AfterEqualToOperator.d.ts +8 -0
  293. package/types/src/condition/BuiltInOperators/AfterEqualToOperator.d.ts.map +1 -0
  294. package/types/src/condition/BuiltInOperators/AfterOperator.d.ts +8 -0
  295. package/types/src/condition/BuiltInOperators/AfterOperator.d.ts.map +1 -0
  296. package/types/src/condition/BuiltInOperators/AndOperator.d.ts +12 -0
  297. package/types/src/condition/BuiltInOperators/AndOperator.d.ts.map +1 -0
  298. package/types/src/condition/BuiltInOperators/AverageOperator.d.ts +12 -0
  299. package/types/src/condition/BuiltInOperators/AverageOperator.d.ts.map +1 -0
  300. package/types/src/condition/BuiltInOperators/BeforeEqualToOperator.d.ts +8 -0
  301. package/types/src/condition/BuiltInOperators/BeforeEqualToOperator.d.ts.map +1 -0
  302. package/types/src/condition/BuiltInOperators/BeforeOperator.d.ts +8 -0
  303. package/types/src/condition/BuiltInOperators/BeforeOperator.d.ts.map +1 -0
  304. package/types/src/condition/BuiltInOperators/BetweenOperator.d.ts +12 -0
  305. package/types/src/condition/BuiltInOperators/BetweenOperator.d.ts.map +1 -0
  306. package/types/src/condition/BuiltInOperators/BlankOperator.d.ts +9 -0
  307. package/types/src/condition/BuiltInOperators/BlankOperator.d.ts.map +1 -0
  308. package/types/src/condition/BuiltInOperators/ColorOperator.d.ts +8 -0
  309. package/types/src/condition/BuiltInOperators/ColorOperator.d.ts.map +1 -0
  310. package/types/src/condition/BuiltInOperators/ContainsOperator.d.ts +8 -0
  311. package/types/src/condition/BuiltInOperators/ContainsOperator.d.ts.map +1 -0
  312. package/types/src/condition/BuiltInOperators/EndsWithOperator.d.ts +8 -0
  313. package/types/src/condition/BuiltInOperators/EndsWithOperator.d.ts.map +1 -0
  314. package/types/src/condition/BuiltInOperators/EqualToOperator.d.ts +11 -0
  315. package/types/src/condition/BuiltInOperators/EqualToOperator.d.ts.map +1 -0
  316. package/types/src/condition/BuiltInOperators/ErrorOperator.d.ts +9 -0
  317. package/types/src/condition/BuiltInOperators/ErrorOperator.d.ts.map +1 -0
  318. package/types/src/condition/BuiltInOperators/ExpressionOperator.d.ts +17 -0
  319. package/types/src/condition/BuiltInOperators/ExpressionOperator.d.ts.map +1 -0
  320. package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts +8 -0
  321. package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts.map +1 -0
  322. package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts +8 -0
  323. package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts.map +1 -0
  324. package/types/src/condition/BuiltInOperators/IconOperator.d.ts +8 -0
  325. package/types/src/condition/BuiltInOperators/IconOperator.d.ts.map +1 -0
  326. package/types/src/condition/BuiltInOperators/InSetOperator.d.ts +14 -0
  327. package/types/src/condition/BuiltInOperators/InSetOperator.d.ts.map +1 -0
  328. package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts +8 -0
  329. package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts.map +1 -0
  330. package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts +8 -0
  331. package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts.map +1 -0
  332. package/types/src/condition/BuiltInOperators/NotOperator.d.ts +12 -0
  333. package/types/src/condition/BuiltInOperators/NotOperator.d.ts.map +1 -0
  334. package/types/src/condition/BuiltInOperators/OrOperator.d.ts +12 -0
  335. package/types/src/condition/BuiltInOperators/OrOperator.d.ts.map +1 -0
  336. package/types/src/condition/BuiltInOperators/StartsWithOperator.d.ts +8 -0
  337. package/types/src/condition/BuiltInOperators/StartsWithOperator.d.ts.map +1 -0
  338. package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts +13 -0
  339. package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts.map +1 -0
  340. package/types/src/condition/BuiltInOperators/TopNOperator.d.ts +12 -0
  341. package/types/src/condition/BuiltInOperators/TopNOperator.d.ts.map +1 -0
  342. package/types/src/condition/BuiltInOperators/UniqueOperator.d.ts +8 -0
  343. package/types/src/condition/BuiltInOperators/UniqueOperator.d.ts.map +1 -0
  344. package/types/src/condition/BuiltInOperators/ValidEmailOperator.d.ts +8 -0
  345. package/types/src/condition/BuiltInOperators/ValidEmailOperator.d.ts.map +1 -0
  346. package/types/src/condition/BuiltInOperators/ValidUrlOperator.d.ts +8 -0
  347. package/types/src/condition/BuiltInOperators/ValidUrlOperator.d.ts.map +1 -0
  348. package/types/src/condition/BuiltInOperators/index.d.ts +59 -0
  349. package/types/src/condition/BuiltInOperators/index.d.ts.map +1 -0
  350. package/types/src/condition/BuiltinSelectors/BaseSelector.d.ts +43 -0
  351. package/types/src/condition/BuiltinSelectors/BaseSelector.d.ts.map +1 -0
  352. package/types/src/condition/BuiltinSelectors/DateSelector.d.ts +14 -0
  353. package/types/src/condition/BuiltinSelectors/DateSelector.d.ts.map +1 -0
  354. package/types/src/condition/BuiltinSelectors/ListSelector.d.ts +12 -0
  355. package/types/src/condition/BuiltinSelectors/ListSelector.d.ts.map +1 -0
  356. package/types/src/condition/BuiltinSelectors/TextLengthSelector.d.ts +16 -0
  357. package/types/src/condition/BuiltinSelectors/TextLengthSelector.d.ts.map +1 -0
  358. package/types/src/condition/BuiltinSelectors/TimeSelector.d.ts +14 -0
  359. package/types/src/condition/BuiltinSelectors/TimeSelector.d.ts.map +1 -0
  360. package/types/src/condition/BuiltinSelectors/WholeSelector.d.ts +14 -0
  361. package/types/src/condition/BuiltinSelectors/WholeSelector.d.ts.map +1 -0
  362. package/types/src/condition/BuiltinSelectors/index.d.ts +18 -0
  363. package/types/src/condition/BuiltinSelectors/index.d.ts.map +1 -0
  364. package/types/src/condition/Condition.d.ts +123 -0
  365. package/types/src/condition/Condition.d.ts.map +1 -0
  366. package/types/src/condition/ICondition.d.ts +915 -0
  367. package/types/src/condition/ICondition.d.ts.map +1 -0
  368. package/types/src/condition/_ConditionUtils.d.ts +190 -0
  369. package/types/src/condition/_ConditionUtils.d.ts.map +1 -0
  370. package/types/src/condition/index.d.ts +3 -0
  371. package/types/src/condition/index.d.ts.map +1 -0
  372. package/types/src/conditionalFormat/ConditionalEntry.d.ts +20 -0
  373. package/types/src/conditionalFormat/ConditionalEntry.d.ts.map +1 -0
  374. package/types/src/conditionalFormat/ConditionalFormat.d.ts +190 -0
  375. package/types/src/conditionalFormat/ConditionalFormat.d.ts.map +1 -0
  376. package/types/src/conditionalFormat/ConditionalFormatCollection.d.ts +20 -0
  377. package/types/src/conditionalFormat/ConditionalFormatCollection.d.ts.map +1 -0
  378. package/types/src/conditionalFormat/IConditionalFormat.d.ts +518 -0
  379. package/types/src/conditionalFormat/IConditionalFormat.d.ts.map +1 -0
  380. package/types/src/conditionalFormat/IConditionalFormatCollection.d.ts +70 -0
  381. package/types/src/conditionalFormat/IConditionalFormatCollection.d.ts.map +1 -0
  382. package/types/src/conditionalFormat/_ConditionalMessages.d.ts +2 -0
  383. package/types/src/conditionalFormat/_ConditionalMessages.d.ts.map +1 -0
  384. package/types/src/conditionalFormat/index.d.ts +3 -0
  385. package/types/src/conditionalFormat/index.d.ts.map +1 -0
  386. package/types/src/dataValidation/DataValidation.d.ts +121 -0
  387. package/types/src/dataValidation/DataValidation.d.ts.map +1 -0
  388. package/types/src/dataValidation/DataValidationCollection.d.ts +20 -0
  389. package/types/src/dataValidation/DataValidationCollection.d.ts.map +1 -0
  390. package/types/src/dataValidation/IDataValidation.d.ts +327 -0
  391. package/types/src/dataValidation/IDataValidation.d.ts.map +1 -0
  392. package/types/src/dataValidation/IDataValidationCollection.d.ts +63 -0
  393. package/types/src/dataValidation/IDataValidationCollection.d.ts.map +1 -0
  394. package/types/src/dataValidation/_DataValidationMessages.d.ts +2 -0
  395. package/types/src/dataValidation/_DataValidationMessages.d.ts.map +1 -0
  396. package/types/src/dataValidation/_Utils.d.ts +10 -0
  397. package/types/src/dataValidation/_Utils.d.ts.map +1 -0
  398. package/types/src/dataValidation/index.d.ts +3 -0
  399. package/types/src/dataValidation/index.d.ts.map +1 -0
  400. package/types/src/date/DateUtils.d.ts +8 -0
  401. package/types/src/date/DateUtils.d.ts.map +1 -0
  402. package/types/src/date/_DateUtils.d.ts +122 -0
  403. package/types/src/date/_DateUtils.d.ts.map +1 -0
  404. package/types/src/date/index.d.ts +2 -0
  405. package/types/src/date/index.d.ts.map +1 -0
  406. package/types/src/externalBook/ExternalBookCollection.d.ts +36 -0
  407. package/types/src/externalBook/ExternalBookCollection.d.ts.map +1 -0
  408. package/types/src/externalBook/IExternalBook.d.ts +97 -0
  409. package/types/src/externalBook/IExternalBook.d.ts.map +1 -0
  410. package/types/src/externalBook/IExternalBookCollection.d.ts +29 -0
  411. package/types/src/externalBook/IExternalBookCollection.d.ts.map +1 -0
  412. package/types/src/externalBook/index.d.ts +3 -0
  413. package/types/src/externalBook/index.d.ts.map +1 -0
  414. package/types/src/fill/IEffect.d.ts +389 -0
  415. package/types/src/fill/IEffect.d.ts.map +1 -0
  416. package/types/src/fill/IFill.d.ts +597 -0
  417. package/types/src/fill/IFill.d.ts.map +1 -0
  418. package/types/src/fill/IStroke.d.ts +265 -0
  419. package/types/src/fill/IStroke.d.ts.map +1 -0
  420. package/types/src/fill/_BuiltInPatterns.d.ts +27 -0
  421. package/types/src/fill/_BuiltInPatterns.d.ts.map +1 -0
  422. package/types/src/fill/index.d.ts +4 -0
  423. package/types/src/fill/index.d.ts.map +1 -0
  424. package/types/src/filter/IFilter.d.ts +83 -0
  425. package/types/src/filter/IFilter.d.ts.map +1 -0
  426. package/types/src/filter/index.d.ts +2 -0
  427. package/types/src/filter/index.d.ts.map +1 -0
  428. package/types/src/font/CanvasFontMeasurer.d.ts +25 -0
  429. package/types/src/font/CanvasFontMeasurer.d.ts.map +1 -0
  430. package/types/src/font/ExtendedTextMetrics.d.ts +1 -0
  431. package/types/src/font/ExtendedTextMetrics.d.ts.map +1 -0
  432. package/types/src/font/Font.d.ts +19 -0
  433. package/types/src/font/Font.d.ts.map +1 -0
  434. package/types/src/font/FontKitFontMeasurer.d.ts +11 -0
  435. package/types/src/font/FontKitFontMeasurer.d.ts.map +1 -0
  436. package/types/src/font/FontUtils.d.ts +9 -0
  437. package/types/src/font/FontUtils.d.ts.map +1 -0
  438. package/types/src/font/IFont.d.ts +261 -0
  439. package/types/src/font/IFont.d.ts.map +1 -0
  440. package/types/src/font/IFontCollection.d.ts +31 -0
  441. package/types/src/font/IFontCollection.d.ts.map +1 -0
  442. package/types/src/font/SimpleFontMeasurer.d.ts +4 -0
  443. package/types/src/font/SimpleFontMeasurer.d.ts.map +1 -0
  444. package/types/src/font/_FontUtils.d.ts +22 -0
  445. package/types/src/font/_FontUtils.d.ts.map +1 -0
  446. package/types/src/font/index.d.ts +5 -0
  447. package/types/src/font/index.d.ts.map +1 -0
  448. package/types/src/history/IHistory.d.ts +110 -0
  449. package/types/src/history/IHistory.d.ts.map +1 -0
  450. package/types/src/history/index.d.ts +2 -0
  451. package/types/src/history/index.d.ts.map +1 -0
  452. package/types/src/hyperlink/IHyperlink.d.ts +96 -0
  453. package/types/src/hyperlink/IHyperlink.d.ts.map +1 -0
  454. package/types/src/hyperlink/_Hyperlink.d.ts +21 -0
  455. package/types/src/hyperlink/_Hyperlink.d.ts.map +1 -0
  456. package/types/src/hyperlink/index.d.ts +2 -0
  457. package/types/src/hyperlink/index.d.ts.map +1 -0
  458. package/types/src/i18n/LanguagePack.d.ts +97 -0
  459. package/types/src/i18n/LanguagePack.d.ts.map +1 -0
  460. package/types/src/i18n/LocaleProfile.d.ts +15 -0
  461. package/types/src/i18n/LocaleProfile.d.ts.map +1 -0
  462. package/types/src/i18n/_CurrencyData.d.ts +20 -0
  463. package/types/src/i18n/_CurrencyData.d.ts.map +1 -0
  464. package/types/src/i18n/functionLocales.d.ts +6 -0
  465. package/types/src/i18n/functionLocales.d.ts.map +1 -0
  466. package/types/src/i18n/index.d.ts +4 -0
  467. package/types/src/i18n/index.d.ts.map +1 -0
  468. package/types/src/i18n/locales.d.ts +3 -0
  469. package/types/src/i18n/locales.d.ts.map +1 -0
  470. package/types/src/index.d.ts +71 -0
  471. package/types/src/index.d.ts.map +1 -0
  472. package/types/src/io/AbstractBackingStore.d.ts +53 -0
  473. package/types/src/io/AbstractBackingStore.d.ts.map +1 -0
  474. package/types/src/io/ArrayBackingStore.d.ts +34 -0
  475. package/types/src/io/ArrayBackingStore.d.ts.map +1 -0
  476. package/types/src/io/IWorkbookIO.d.ts +1322 -0
  477. package/types/src/io/IWorkbookIO.d.ts.map +1 -0
  478. package/types/src/io/WorkbookIO.d.ts +91 -0
  479. package/types/src/io/WorkbookIO.d.ts.map +1 -0
  480. package/types/src/io/WorkbookOrigin.d.ts +114 -0
  481. package/types/src/io/WorkbookOrigin.d.ts.map +1 -0
  482. package/types/src/io/WorkbookRegistry.d.ts +49 -0
  483. package/types/src/io/WorkbookRegistry.d.ts.map +1 -0
  484. package/types/src/io/index.d.ts +5 -0
  485. package/types/src/io/index.d.ts.map +1 -0
  486. package/types/src/lib/file/file.browser.d.ts +41 -0
  487. package/types/src/lib/file/file.browser.d.ts.map +1 -0
  488. package/types/src/lib/file/file.node.d.ts +25 -0
  489. package/types/src/lib/file/file.node.d.ts.map +1 -0
  490. package/types/src/lib/utils/_Utils.d.ts +20 -0
  491. package/types/src/lib/utils/_Utils.d.ts.map +1 -0
  492. package/types/src/lib/utils/banner.d.ts +6 -0
  493. package/types/src/lib/utils/banner.d.ts.map +1 -0
  494. package/types/src/lib/utils/utils.browser.d.ts +28 -0
  495. package/types/src/lib/utils/utils.browser.d.ts.map +1 -0
  496. package/types/src/lib/utils/utils.node.d.ts +42 -0
  497. package/types/src/lib/utils/utils.node.d.ts.map +1 -0
  498. package/types/src/license/LicenseDetails.d.ts +22 -0
  499. package/types/src/license/LicenseDetails.d.ts.map +1 -0
  500. package/types/src/license/LicenseManager.d.ts +63 -0
  501. package/types/src/license/LicenseManager.d.ts.map +1 -0
  502. package/types/src/license/index.d.ts +3 -0
  503. package/types/src/license/index.d.ts.map +1 -0
  504. package/types/src/license/license-key.d.ts +33 -0
  505. package/types/src/license/license-key.d.ts.map +1 -0
  506. package/types/src/listener/IListener.d.ts +62 -0
  507. package/types/src/listener/IListener.d.ts.map +1 -0
  508. package/types/src/listener/ListenerEmitter.d.ts +47 -0
  509. package/types/src/listener/ListenerEmitter.d.ts.map +1 -0
  510. package/types/src/listener/index.d.ts +2 -0
  511. package/types/src/listener/index.d.ts.map +1 -0
  512. package/types/src/model/AbstractModel.d.ts +90 -0
  513. package/types/src/model/AbstractModel.d.ts.map +1 -0
  514. package/types/src/model/IModel.d.ts +108 -0
  515. package/types/src/model/IModel.d.ts.map +1 -0
  516. package/types/src/model/_ModelMessages.d.ts +2 -0
  517. package/types/src/model/_ModelMessages.d.ts.map +1 -0
  518. package/types/src/model/index.d.ts +3 -0
  519. package/types/src/model/index.d.ts.map +1 -0
  520. package/types/src/movable/CustomElement.d.ts +42 -0
  521. package/types/src/movable/CustomElement.d.ts.map +1 -0
  522. package/types/src/movable/ICustomElement.d.ts +29 -0
  523. package/types/src/movable/ICustomElement.d.ts.map +1 -0
  524. package/types/src/movable/IGroup.d.ts +30 -0
  525. package/types/src/movable/IGroup.d.ts.map +1 -0
  526. package/types/src/movable/IMovable.d.ts +327 -0
  527. package/types/src/movable/IMovable.d.ts.map +1 -0
  528. package/types/src/movable/IMovableCollection.d.ts +129 -0
  529. package/types/src/movable/IMovableCollection.d.ts.map +1 -0
  530. package/types/src/movable/IMovableSelection.d.ts +49 -0
  531. package/types/src/movable/IMovableSelection.d.ts.map +1 -0
  532. package/types/src/movable/Movable.d.ts +221 -0
  533. package/types/src/movable/Movable.d.ts.map +1 -0
  534. package/types/src/movable/MovableCollection.d.ts +29 -0
  535. package/types/src/movable/MovableCollection.d.ts.map +1 -0
  536. package/types/src/movable/_MovableUtils.d.ts +4 -0
  537. package/types/src/movable/_MovableUtils.d.ts.map +1 -0
  538. package/types/src/movable/index.d.ts +4 -0
  539. package/types/src/movable/index.d.ts.map +1 -0
  540. package/types/src/named/AbstractNamed.d.ts +41 -0
  541. package/types/src/named/AbstractNamed.d.ts.map +1 -0
  542. package/types/src/named/INamed.d.ts +225 -0
  543. package/types/src/named/INamed.d.ts.map +1 -0
  544. package/types/src/named/INamedCollection.d.ts +230 -0
  545. package/types/src/named/INamedCollection.d.ts.map +1 -0
  546. package/types/src/named/NamedCollection.d.ts +302 -0
  547. package/types/src/named/NamedCollection.d.ts.map +1 -0
  548. package/types/src/named/_BuiltInNamed.d.ts +6 -0
  549. package/types/src/named/_BuiltInNamed.d.ts.map +1 -0
  550. package/types/src/named/index.d.ts +3 -0
  551. package/types/src/named/index.d.ts.map +1 -0
  552. package/types/src/numFmt/BuiltInFormats.d.ts +49 -0
  553. package/types/src/numFmt/BuiltInFormats.d.ts.map +1 -0
  554. package/types/src/numFmt/IFormatEngine.d.ts +149 -0
  555. package/types/src/numFmt/IFormatEngine.d.ts.map +1 -0
  556. package/types/src/numFmt/NumberFormatBuilder.d.ts +46 -0
  557. package/types/src/numFmt/NumberFormatBuilder.d.ts.map +1 -0
  558. package/types/src/numFmt/NumberFormatParser.d.ts +168 -0
  559. package/types/src/numFmt/NumberFormatParser.d.ts.map +1 -0
  560. package/types/src/numFmt/NumberFormatStyles.d.ts +43 -0
  561. package/types/src/numFmt/NumberFormatStyles.d.ts.map +1 -0
  562. package/types/src/numFmt/NumberFormatType.d.ts +79 -0
  563. package/types/src/numFmt/NumberFormatType.d.ts.map +1 -0
  564. package/types/src/numFmt/NumfmtFormatEngine.d.ts +33 -0
  565. package/types/src/numFmt/NumfmtFormatEngine.d.ts.map +1 -0
  566. package/types/src/numFmt/_BuiltInNumberFormats.d.ts +12 -0
  567. package/types/src/numFmt/_BuiltInNumberFormats.d.ts.map +1 -0
  568. package/types/src/numFmt/_FormatCell.d.ts +52 -0
  569. package/types/src/numFmt/_FormatCell.d.ts.map +1 -0
  570. package/types/src/numFmt/_NumFmtUtils.d.ts +102 -0
  571. package/types/src/numFmt/_NumFmtUtils.d.ts.map +1 -0
  572. package/types/src/numFmt/index.d.ts +105 -0
  573. package/types/src/numFmt/index.d.ts.map +1 -0
  574. package/types/src/numFmt/vendor/numfmt/_sheetxl.d.ts +15 -0
  575. package/types/src/numFmt/vendor/numfmt/index.d.ts +721 -0
  576. package/types/src/picture/IPicture.d.ts +69 -0
  577. package/types/src/picture/IPicture.d.ts.map +1 -0
  578. package/types/src/picture/Picture.d.ts +67 -0
  579. package/types/src/picture/Picture.d.ts.map +1 -0
  580. package/types/src/picture/index.d.ts +2 -0
  581. package/types/src/picture/index.d.ts.map +1 -0
  582. package/types/src/primitives/CompositeRangeStats.d.ts +63 -0
  583. package/types/src/primitives/CompositeRangeStats.d.ts.map +1 -0
  584. package/types/src/primitives/Criteria.d.ts +35 -0
  585. package/types/src/primitives/Criteria.d.ts.map +1 -0
  586. package/types/src/primitives/FormulaContext.d.ts +2 -0
  587. package/types/src/primitives/FormulaContext.d.ts.map +1 -0
  588. package/types/src/primitives/PrimitiveUtils.d.ts +255 -0
  589. package/types/src/primitives/PrimitiveUtils.d.ts.map +1 -0
  590. package/types/src/primitives/Range.d.ts +221 -0
  591. package/types/src/primitives/Range.d.ts.map +1 -0
  592. package/types/src/primitives/RangeStats.d.ts +48 -0
  593. package/types/src/primitives/RangeStats.d.ts.map +1 -0
  594. package/types/src/primitives/ReferenceRange.d.ts +19 -0
  595. package/types/src/primitives/ReferenceRange.d.ts.map +1 -0
  596. package/types/src/primitives/Runtime.d.ts +55 -0
  597. package/types/src/primitives/Runtime.d.ts.map +1 -0
  598. package/types/src/primitives/ScalarCollation.d.ts +174 -0
  599. package/types/src/primitives/ScalarCollation.d.ts.map +1 -0
  600. package/types/src/primitives/TextFold.d.ts +62 -0
  601. package/types/src/primitives/TextFold.d.ts.map +1 -0
  602. package/types/src/primitives/_PrimitiveMessages.d.ts +3 -0
  603. package/types/src/primitives/_PrimitiveMessages.d.ts.map +1 -0
  604. package/types/src/primitives/index.d.ts +7 -0
  605. package/types/src/primitives/index.d.ts.map +1 -0
  606. package/types/src/primitives/stats/AggregateStats.d.ts +119 -0
  607. package/types/src/primitives/stats/AggregateStats.d.ts.map +1 -0
  608. package/types/src/primitives/stats/Cancellation.d.ts +43 -0
  609. package/types/src/primitives/stats/Cancellation.d.ts.map +1 -0
  610. package/types/src/primitives/stats/FrequencyStats.d.ts +94 -0
  611. package/types/src/primitives/stats/FrequencyStats.d.ts.map +1 -0
  612. package/types/src/primitives/stats/Ranked.d.ts +26 -0
  613. package/types/src/primitives/stats/Ranked.d.ts.map +1 -0
  614. package/types/src/primitives/stats/ScalarOrder.d.ts +18 -0
  615. package/types/src/primitives/stats/ScalarOrder.d.ts.map +1 -0
  616. package/types/src/primitives/stats/SortedNumbers.d.ts +48 -0
  617. package/types/src/primitives/stats/SortedNumbers.d.ts.map +1 -0
  618. package/types/src/primitives/stats/index.d.ts +7 -0
  619. package/types/src/primitives/stats/index.d.ts.map +1 -0
  620. package/types/src/print/IPrint.d.ts +234 -0
  621. package/types/src/print/IPrint.d.ts.map +1 -0
  622. package/types/src/print/index.d.ts +2 -0
  623. package/types/src/print/index.d.ts.map +1 -0
  624. package/types/src/protectedRange/IProtectedRange.d.ts +239 -0
  625. package/types/src/protectedRange/IProtectedRange.d.ts.map +1 -0
  626. package/types/src/protectedRange/IProtectedRangeCollection.d.ts +73 -0
  627. package/types/src/protectedRange/IProtectedRangeCollection.d.ts.map +1 -0
  628. package/types/src/protectedRange/ProtectedRange.d.ts +101 -0
  629. package/types/src/protectedRange/ProtectedRange.d.ts.map +1 -0
  630. package/types/src/protectedRange/ProtectedRangeCollection.d.ts +21 -0
  631. package/types/src/protectedRange/ProtectedRangeCollection.d.ts.map +1 -0
  632. package/types/src/protectedRange/index.d.ts +3 -0
  633. package/types/src/protectedRange/index.d.ts.map +1 -0
  634. package/types/src/protection/DefaultProtection.d.ts +43 -0
  635. package/types/src/protection/DefaultProtection.d.ts.map +1 -0
  636. package/types/src/protection/IProtection.d.ts +170 -0
  637. package/types/src/protection/IProtection.d.ts.map +1 -0
  638. package/types/src/protection/PasswordHasher.d.ts +35 -0
  639. package/types/src/protection/PasswordHasher.d.ts.map +1 -0
  640. package/types/src/protection/index.d.ts +6 -0
  641. package/types/src/protection/index.d.ts.map +1 -0
  642. package/types/src/resource/IResource.d.ts +98 -0
  643. package/types/src/resource/IResource.d.ts.map +1 -0
  644. package/types/src/resource/IResourceCollection.d.ts +96 -0
  645. package/types/src/resource/IResourceCollection.d.ts.map +1 -0
  646. package/types/src/resource/Resource.d.ts +39 -0
  647. package/types/src/resource/Resource.d.ts.map +1 -0
  648. package/types/src/resource/ResourceCollection.d.ts +19 -0
  649. package/types/src/resource/ResourceCollection.d.ts.map +1 -0
  650. package/types/src/resource/_ResourceMessages.d.ts +4 -0
  651. package/types/src/resource/_ResourceMessages.d.ts.map +1 -0
  652. package/types/src/resource/index.d.ts +5 -0
  653. package/types/src/resource/index.d.ts.map +1 -0
  654. package/types/src/resource/resourceKinds.d.ts +23 -0
  655. package/types/src/resource/resourceKinds.d.ts.map +1 -0
  656. package/types/src/richData/index.d.ts +1 -0
  657. package/types/src/richData/index.d.ts.map +1 -0
  658. package/types/src/scripting/FunctionCollection.d.ts +88 -0
  659. package/types/src/scripting/FunctionCollection.d.ts.map +1 -0
  660. package/types/src/scripting/IFunctionCollection.d.ts +208 -0
  661. package/types/src/scripting/IFunctionCollection.d.ts.map +1 -0
  662. package/types/src/scripting/IModule.d.ts +82 -0
  663. package/types/src/scripting/IModule.d.ts.map +1 -0
  664. package/types/src/scripting/IModuleCollection.d.ts +79 -0
  665. package/types/src/scripting/IModuleCollection.d.ts.map +1 -0
  666. package/types/src/scripting/IScript.d.ts +289 -0
  667. package/types/src/scripting/IScript.d.ts.map +1 -0
  668. package/types/src/scripting/ITypedFunction.d.ts +61 -0
  669. package/types/src/scripting/ITypedFunction.d.ts.map +1 -0
  670. package/types/src/scripting/MacroFunction.d.ts +15 -0
  671. package/types/src/scripting/MacroFunction.d.ts.map +1 -0
  672. package/types/src/scripting/Module.d.ts +39 -0
  673. package/types/src/scripting/Module.d.ts.map +1 -0
  674. package/types/src/scripting/ModuleCollection.d.ts +56 -0
  675. package/types/src/scripting/ModuleCollection.d.ts.map +1 -0
  676. package/types/src/scripting/Runtime.d.ts +16 -0
  677. package/types/src/scripting/Runtime.d.ts.map +1 -0
  678. package/types/src/scripting/Scripts.d.ts +79 -0
  679. package/types/src/scripting/Scripts.d.ts.map +1 -0
  680. package/types/src/scripting/TypedFunction.d.ts +161 -0
  681. package/types/src/scripting/TypedFunction.d.ts.map +1 -0
  682. package/types/src/scripting/_FunctionIndex.d.ts +111 -0
  683. package/types/src/scripting/_FunctionIndex.d.ts.map +1 -0
  684. package/types/src/scripting/_FunctionMessages.d.ts +6 -0
  685. package/types/src/scripting/_FunctionMessages.d.ts.map +1 -0
  686. package/types/src/scripting/_ModuleUtils.d.ts +5 -0
  687. package/types/src/scripting/_ModuleUtils.d.ts.map +1 -0
  688. package/types/src/scripting/_ScriptUtils.d.ts +18 -0
  689. package/types/src/scripting/_ScriptUtils.d.ts.map +1 -0
  690. package/types/src/scripting/enumManifest.browser.d.ts +9 -0
  691. package/types/src/scripting/enumManifest.browser.d.ts.map +1 -0
  692. package/types/src/scripting/enumManifest.node.d.ts +13 -0
  693. package/types/src/scripting/enumManifest.node.d.ts.map +1 -0
  694. package/types/src/scripting/index.d.ts +4 -0
  695. package/types/src/scripting/index.d.ts.map +1 -0
  696. package/types/src/selection/IRangeSelection.d.ts +307 -0
  697. package/types/src/selection/IRangeSelection.d.ts.map +1 -0
  698. package/types/src/selection/RangeSelection.d.ts +144 -0
  699. package/types/src/selection/RangeSelection.d.ts.map +1 -0
  700. package/types/src/selection/_RangeSelectionUtils.d.ts +32 -0
  701. package/types/src/selection/_RangeSelectionUtils.d.ts.map +1 -0
  702. package/types/src/selection/index.d.ts +2 -0
  703. package/types/src/selection/index.d.ts.map +1 -0
  704. package/types/src/shape/IShape.d.ts +279 -0
  705. package/types/src/shape/IShape.d.ts.map +1 -0
  706. package/types/src/shape/Shape.d.ts +54 -0
  707. package/types/src/shape/Shape.d.ts.map +1 -0
  708. package/types/src/shape/index.d.ts +2 -0
  709. package/types/src/shape/index.d.ts.map +1 -0
  710. package/types/src/sheet/CellRegion.d.ts +106 -0
  711. package/types/src/sheet/CellRegion.d.ts.map +1 -0
  712. package/types/src/sheet/ICellContainerOptions.d.ts +97 -0
  713. package/types/src/sheet/ICellContainerOptions.d.ts.map +1 -0
  714. package/types/src/sheet/ISheet.d.ts +1074 -0
  715. package/types/src/sheet/ISheet.d.ts.map +1 -0
  716. package/types/src/sheet/ISheetCollection.d.ts +70 -0
  717. package/types/src/sheet/ISheetCollection.d.ts.map +1 -0
  718. package/types/src/sheet/NamedCellRange.d.ts +45 -0
  719. package/types/src/sheet/NamedCellRange.d.ts.map +1 -0
  720. package/types/src/sheet/NamedRange.d.ts +30 -0
  721. package/types/src/sheet/NamedRange.d.ts.map +1 -0
  722. package/types/src/sheet/Sheet.d.ts +1068 -0
  723. package/types/src/sheet/Sheet.d.ts.map +1 -0
  724. package/types/src/sheet/SheetCell.d.ts +335 -0
  725. package/types/src/sheet/SheetCell.d.ts.map +1 -0
  726. package/types/src/sheet/SheetCollection.d.ts +18 -0
  727. package/types/src/sheet/SheetCollection.d.ts.map +1 -0
  728. package/types/src/sheet/SheetRange.d.ts +362 -0
  729. package/types/src/sheet/SheetRange.d.ts.map +1 -0
  730. package/types/src/sheet/SheetRanges.d.ts +225 -0
  731. package/types/src/sheet/SheetRanges.d.ts.map +1 -0
  732. package/types/src/sheet/_CopyUtils.d.ts +33 -0
  733. package/types/src/sheet/_CopyUtils.d.ts.map +1 -0
  734. package/types/src/sheet/_InvalidSheetRange.d.ts +70 -0
  735. package/types/src/sheet/_InvalidSheetRange.d.ts.map +1 -0
  736. package/types/src/sheet/_SheetAutoFitUtils.d.ts +18 -0
  737. package/types/src/sheet/_SheetAutoFitUtils.d.ts.map +1 -0
  738. package/types/src/sheet/_SheetCoords.d.ts +54 -0
  739. package/types/src/sheet/_SheetCoords.d.ts.map +1 -0
  740. package/types/src/sheet/_SheetFilterUtils.d.ts +9 -0
  741. package/types/src/sheet/_SheetFilterUtils.d.ts.map +1 -0
  742. package/types/src/sheet/_SheetMessages.d.ts +11 -0
  743. package/types/src/sheet/_SheetMessages.d.ts.map +1 -0
  744. package/types/src/sheet/_SheetMutations.d.ts +137 -0
  745. package/types/src/sheet/_SheetMutations.d.ts.map +1 -0
  746. package/types/src/sheet/_SheetSortUtils.d.ts +9 -0
  747. package/types/src/sheet/_SheetSortUtils.d.ts.map +1 -0
  748. package/types/src/sheet/_SheetStateReader.d.ts +161 -0
  749. package/types/src/sheet/_SheetStateReader.d.ts.map +1 -0
  750. package/types/src/sheet/_SheetStateTypes.d.ts +446 -0
  751. package/types/src/sheet/_SheetStateTypes.d.ts.map +1 -0
  752. package/types/src/sheet/_SheetUtils.d.ts +265 -0
  753. package/types/src/sheet/_SheetUtils.d.ts.map +1 -0
  754. package/types/src/sheet/clipboard/IHTMLParser.d.ts +92 -0
  755. package/types/src/sheet/clipboard/IHTMLParser.d.ts.map +1 -0
  756. package/types/src/sheet/clipboard/RangeClipboardItems.d.ts +55 -0
  757. package/types/src/sheet/clipboard/RangeClipboardItems.d.ts.map +1 -0
  758. package/types/src/sheet/clipboard/SheetHTMLTableParser.d.ts +29 -0
  759. package/types/src/sheet/clipboard/SheetHTMLTableParser.d.ts.map +1 -0
  760. package/types/src/sheet/clipboard/SheetHTMLTableWriter.d.ts +46 -0
  761. package/types/src/sheet/clipboard/SheetHTMLTableWriter.d.ts.map +1 -0
  762. package/types/src/sheet/clipboard/_ClipboardUtils.d.ts +10 -0
  763. package/types/src/sheet/clipboard/_ClipboardUtils.d.ts.map +1 -0
  764. package/types/src/sheet/clipboard/index.d.ts +2 -0
  765. package/types/src/sheet/clipboard/index.d.ts.map +1 -0
  766. package/types/src/sheet/index.d.ts +6 -0
  767. package/types/src/sheet/index.d.ts.map +1 -0
  768. package/types/src/sheet/listener/RangesListener.d.ts +32 -0
  769. package/types/src/sheet/listener/RangesListener.d.ts.map +1 -0
  770. package/types/src/sheet/listener/RangesListenerEntry.d.ts +19 -0
  771. package/types/src/sheet/listener/RangesListenerEntry.d.ts.map +1 -0
  772. package/types/src/sheet/listener/index.d.ts +3 -0
  773. package/types/src/sheet/listener/index.d.ts.map +1 -0
  774. package/types/src/sheet/spatial/MergeEntry.d.ts +17 -0
  775. package/types/src/sheet/spatial/MergeEntry.d.ts.map +1 -0
  776. package/types/src/sheet/spatial/index.d.ts +2 -0
  777. package/types/src/sheet/spatial/index.d.ts.map +1 -0
  778. package/types/src/sheet/style/SheetCellStyle.d.ts +540 -0
  779. package/types/src/sheet/style/SheetCellStyle.d.ts.map +1 -0
  780. package/types/src/sheet/style/SheetDirectStyle.d.ts +130 -0
  781. package/types/src/sheet/style/SheetDirectStyle.d.ts.map +1 -0
  782. package/types/src/sheet/style/SheetNamedStyle.d.ts +47 -0
  783. package/types/src/sheet/style/SheetNamedStyle.d.ts.map +1 -0
  784. package/types/src/sheet/style/SheetTableStyle.d.ts +47 -0
  785. package/types/src/sheet/style/SheetTableStyle.d.ts.map +1 -0
  786. package/types/src/sheet/style/UsedRangeSpatialMap.d.ts +80 -0
  787. package/types/src/sheet/style/UsedRangeSpatialMap.d.ts.map +1 -0
  788. package/types/src/sheet/style/_Resolvers.d.ts +41 -0
  789. package/types/src/sheet/style/_Resolvers.d.ts.map +1 -0
  790. package/types/src/sheet/style/_StyleUtils.d.ts +69 -0
  791. package/types/src/sheet/style/_StyleUtils.d.ts.map +1 -0
  792. package/types/src/sheet/style/index.d.ts +1 -0
  793. package/types/src/sheet/style/index.d.ts.map +1 -0
  794. package/types/src/sheetHeader/ISheetHeader.d.ts +217 -0
  795. package/types/src/sheetHeader/ISheetHeader.d.ts.map +1 -0
  796. package/types/src/sheetHeader/SheetCellHeader.d.ts +61 -0
  797. package/types/src/sheetHeader/SheetCellHeader.d.ts.map +1 -0
  798. package/types/src/sheetHeader/SheetCellHeaderRange.d.ts +54 -0
  799. package/types/src/sheetHeader/SheetCellHeaderRange.d.ts.map +1 -0
  800. package/types/src/sheetHeader/SheetCellHeaderRanges.d.ts +46 -0
  801. package/types/src/sheetHeader/SheetCellHeaderRanges.d.ts.map +1 -0
  802. package/types/src/sheetHeader/SheetHeader.d.ts +257 -0
  803. package/types/src/sheetHeader/SheetHeader.d.ts.map +1 -0
  804. package/types/src/sheetHeader/_HeaderUtils.d.ts +94 -0
  805. package/types/src/sheetHeader/_HeaderUtils.d.ts.map +1 -0
  806. package/types/src/sheetHeader/_InvalidSheetHeaderRange.d.ts +7 -0
  807. package/types/src/sheetHeader/_InvalidSheetHeaderRange.d.ts.map +1 -0
  808. package/types/src/sheetHeader/index.d.ts +2 -0
  809. package/types/src/sheetHeader/index.d.ts.map +1 -0
  810. package/types/src/sheetProtection/ISheetProtection.d.ts +150 -0
  811. package/types/src/sheetProtection/ISheetProtection.d.ts.map +1 -0
  812. package/types/src/sheetProtection/SheetProtection.d.ts +39 -0
  813. package/types/src/sheetProtection/SheetProtection.d.ts.map +1 -0
  814. package/types/src/sheetProtection/index.d.ts +2 -0
  815. package/types/src/sheetProtection/index.d.ts.map +1 -0
  816. package/types/src/sheetView/ISheetView.d.ts +439 -0
  817. package/types/src/sheetView/ISheetView.d.ts.map +1 -0
  818. package/types/src/sheetView/SheetView.d.ts +113 -0
  819. package/types/src/sheetView/SheetView.d.ts.map +1 -0
  820. package/types/src/sheetView/_SheetViewUtils.d.ts +19 -0
  821. package/types/src/sheetView/_SheetViewUtils.d.ts.map +1 -0
  822. package/types/src/sheetView/index.d.ts +2 -0
  823. package/types/src/sheetView/index.d.ts.map +1 -0
  824. package/types/src/slicer/ISlicer.d.ts +38 -0
  825. package/types/src/slicer/ISlicer.d.ts.map +1 -0
  826. package/types/src/slicer/Slicer.d.ts +41 -0
  827. package/types/src/slicer/Slicer.d.ts.map +1 -0
  828. package/types/src/slicer/index.d.ts +2 -0
  829. package/types/src/slicer/index.d.ts.map +1 -0
  830. package/types/src/sort/ISort.d.ts +318 -0
  831. package/types/src/sort/ISort.d.ts.map +1 -0
  832. package/types/src/sort/Sort.d.ts +48 -0
  833. package/types/src/sort/Sort.d.ts.map +1 -0
  834. package/types/src/sort/_SortUtils.d.ts +12 -0
  835. package/types/src/sort/_SortUtils.d.ts.map +1 -0
  836. package/types/src/sort/index.d.ts +3 -0
  837. package/types/src/sort/index.d.ts.map +1 -0
  838. package/types/src/string/IStringCollection.d.ts +50 -0
  839. package/types/src/string/IStringCollection.d.ts.map +1 -0
  840. package/types/src/string/StringCollection.d.ts +26 -0
  841. package/types/src/string/StringCollection.d.ts.map +1 -0
  842. package/types/src/string/index.d.ts +3 -0
  843. package/types/src/string/index.d.ts.map +1 -0
  844. package/types/src/style/IStyle.d.ts +485 -0
  845. package/types/src/style/IStyle.d.ts.map +1 -0
  846. package/types/src/style/IStyleCollection.d.ts +292 -0
  847. package/types/src/style/IStyleCollection.d.ts.map +1 -0
  848. package/types/src/style/StyleCollection.d.ts +125 -0
  849. package/types/src/style/StyleCollection.d.ts.map +1 -0
  850. package/types/src/style/_BuiltInStyleDefs.d.ts +18 -0
  851. package/types/src/style/_BuiltInStyleDefs.d.ts.map +1 -0
  852. package/types/src/style/_BuiltInStyleNames.d.ts +20 -0
  853. package/types/src/style/_BuiltInStyleNames.d.ts.map +1 -0
  854. package/types/src/style/index.d.ts +5 -0
  855. package/types/src/style/index.d.ts.map +1 -0
  856. package/types/src/table/AnchoredTable.d.ts +349 -0
  857. package/types/src/table/AnchoredTable.d.ts.map +1 -0
  858. package/types/src/table/AutoTable.d.ts +64 -0
  859. package/types/src/table/AutoTable.d.ts.map +1 -0
  860. package/types/src/table/ITable.d.ts +714 -0
  861. package/types/src/table/ITable.d.ts.map +1 -0
  862. package/types/src/table/ITableCollection.d.ts +88 -0
  863. package/types/src/table/ITableCollection.d.ts.map +1 -0
  864. package/types/src/table/ITableStyle.d.ts +318 -0
  865. package/types/src/table/ITableStyle.d.ts.map +1 -0
  866. package/types/src/table/Table.d.ts +8 -0
  867. package/types/src/table/Table.d.ts.map +1 -0
  868. package/types/src/table/TableCollection.d.ts +20 -0
  869. package/types/src/table/TableCollection.d.ts.map +1 -0
  870. package/types/src/table/_AutoTableColumn.d.ts +27 -0
  871. package/types/src/table/_AutoTableColumn.d.ts.map +1 -0
  872. package/types/src/table/_BuiltInTableStyles.d.ts +9 -0
  873. package/types/src/table/_BuiltInTableStyles.d.ts.map +1 -0
  874. package/types/src/table/_FilterField.d.ts +30 -0
  875. package/types/src/table/_FilterField.d.ts.map +1 -0
  876. package/types/src/table/_NamedTable.d.ts +84 -0
  877. package/types/src/table/_NamedTable.d.ts.map +1 -0
  878. package/types/src/table/_NamedTableSource.d.ts +57 -0
  879. package/types/src/table/_NamedTableSource.d.ts.map +1 -0
  880. package/types/src/table/_SortField.d.ts +29 -0
  881. package/types/src/table/_SortField.d.ts.map +1 -0
  882. package/types/src/table/_TableColumn.d.ts +51 -0
  883. package/types/src/table/_TableColumn.d.ts.map +1 -0
  884. package/types/src/table/_TableMessages.d.ts +5 -0
  885. package/types/src/table/_TableMessages.d.ts.map +1 -0
  886. package/types/src/table/_TableUtils.d.ts +94 -0
  887. package/types/src/table/_TableUtils.d.ts.map +1 -0
  888. package/types/src/table/index.d.ts +5 -0
  889. package/types/src/table/index.d.ts.map +1 -0
  890. package/types/src/text/AutoNumberingScheme.d.ts +175 -0
  891. package/types/src/text/AutoNumberingScheme.d.ts.map +1 -0
  892. package/types/src/text/Bullet.d.ts +34 -0
  893. package/types/src/text/Bullet.d.ts.map +1 -0
  894. package/types/src/text/IText.d.ts +53 -0
  895. package/types/src/text/IText.d.ts.map +1 -0
  896. package/types/src/text/ITextFrame.d.ts +313 -0
  897. package/types/src/text/ITextFrame.d.ts.map +1 -0
  898. package/types/src/text/TextBoxAlignment.d.ts +141 -0
  899. package/types/src/text/TextBoxAlignment.d.ts.map +1 -0
  900. package/types/src/text/TextFrame.d.ts +43 -0
  901. package/types/src/text/TextFrame.d.ts.map +1 -0
  902. package/types/src/text/TextLine.d.ts +24 -0
  903. package/types/src/text/TextLine.d.ts.map +1 -0
  904. package/types/src/text/TextParagraph.d.ts +61 -0
  905. package/types/src/text/TextParagraph.d.ts.map +1 -0
  906. package/types/src/text/TextRotation.d.ts +106 -0
  907. package/types/src/text/TextRotation.d.ts.map +1 -0
  908. package/types/src/text/TextRun.d.ts +85 -0
  909. package/types/src/text/TextRun.d.ts.map +1 -0
  910. package/types/src/text/TextUtils.d.ts +165 -0
  911. package/types/src/text/TextUtils.d.ts.map +1 -0
  912. package/types/src/text/TextVisitor.d.ts +11 -0
  913. package/types/src/text/TextVisitor.d.ts.map +1 -0
  914. package/types/src/text/TextWrapper.d.ts +78 -0
  915. package/types/src/text/TextWrapper.d.ts.map +1 -0
  916. package/types/src/text/_TextUtils.d.ts +90 -0
  917. package/types/src/text/_TextUtils.d.ts.map +1 -0
  918. package/types/src/text/impl/Phrase.d.ts +3 -0
  919. package/types/src/text/impl/Phrase.d.ts.map +1 -0
  920. package/types/src/text/impl/TabStrategy.d.ts +9 -0
  921. package/types/src/text/impl/TabStrategy.d.ts.map +1 -0
  922. package/types/src/text/impl/WordWrapUtils.d.ts +6 -0
  923. package/types/src/text/impl/WordWrapUtils.d.ts.map +1 -0
  924. package/types/src/text/index.d.ts +7 -0
  925. package/types/src/text/index.d.ts.map +1 -0
  926. package/types/src/text/richtext/IStyledFont.d.ts +330 -0
  927. package/types/src/text/richtext/IStyledFont.d.ts.map +1 -0
  928. package/types/src/text/richtext/index.d.ts +2 -0
  929. package/types/src/text/richtext/index.d.ts.map +1 -0
  930. package/types/src/theme/ITheme.d.ts +252 -0
  931. package/types/src/theme/ITheme.d.ts.map +1 -0
  932. package/types/src/theme/IThemeCollection.d.ts +84 -0
  933. package/types/src/theme/IThemeCollection.d.ts.map +1 -0
  934. package/types/src/theme/ThemeCollection.d.ts +62 -0
  935. package/types/src/theme/ThemeCollection.d.ts.map +1 -0
  936. package/types/src/theme/_BuiltInColorSchemes.d.ts +3 -0
  937. package/types/src/theme/_BuiltInColorSchemes.d.ts.map +1 -0
  938. package/types/src/theme/_BuiltInFontSchemes.d.ts +3 -0
  939. package/types/src/theme/_BuiltInFontSchemes.d.ts.map +1 -0
  940. package/types/src/theme/_BuiltInThemeDefs.d.ts +3 -0
  941. package/types/src/theme/_BuiltInThemeDefs.d.ts.map +1 -0
  942. package/types/src/theme/_ThemeMessages.d.ts +3 -0
  943. package/types/src/theme/_ThemeMessages.d.ts.map +1 -0
  944. package/types/src/theme/_ThemeUtils.d.ts +3 -0
  945. package/types/src/theme/_ThemeUtils.d.ts.map +1 -0
  946. package/types/src/theme/index.d.ts +4 -0
  947. package/types/src/theme/index.d.ts.map +1 -0
  948. package/types/src/transaction/ITransaction.d.ts +594 -0
  949. package/types/src/transaction/ITransaction.d.ts.map +1 -0
  950. package/types/src/transaction/Transaction.d.ts +184 -0
  951. package/types/src/transaction/Transaction.d.ts.map +1 -0
  952. package/types/src/transaction/TransactionSaveStateManager.d.ts +85 -0
  953. package/types/src/transaction/TransactionSaveStateManager.d.ts.map +1 -0
  954. package/types/src/transaction/TransactionUndoManager.d.ts +60 -0
  955. package/types/src/transaction/TransactionUndoManager.d.ts.map +1 -0
  956. package/types/src/transaction/index.d.ts +5 -0
  957. package/types/src/transaction/index.d.ts.map +1 -0
  958. package/types/src/type/ICollection.d.ts +110 -0
  959. package/types/src/type/ICollection.d.ts.map +1 -0
  960. package/types/src/type/IProperties.d.ts +51 -0
  961. package/types/src/type/IProperties.d.ts.map +1 -0
  962. package/types/src/type/ITypes.d.ts +69 -0
  963. package/types/src/type/ITypes.d.ts.map +1 -0
  964. package/types/src/type/Registry.d.ts +66 -0
  965. package/types/src/type/Registry.d.ts.map +1 -0
  966. package/types/src/type/index.d.ts +5 -0
  967. package/types/src/type/index.d.ts.map +1 -0
  968. package/types/src/utils/GeomUtils.d.ts +61 -0
  969. package/types/src/utils/GeomUtils.d.ts.map +1 -0
  970. package/types/src/utils/ObjectPath.d.ts +9 -0
  971. package/types/src/utils/ObjectPath.d.ts.map +1 -0
  972. package/types/src/utils/Profiler.d.ts +38 -0
  973. package/types/src/utils/Profiler.d.ts.map +1 -0
  974. package/types/src/utils/_CSSUtils.d.ts +156 -0
  975. package/types/src/utils/_CSSUtils.d.ts.map +1 -0
  976. package/types/src/utils/_GeomUtils.d.ts +14 -0
  977. package/types/src/utils/_GeomUtils.d.ts.map +1 -0
  978. package/types/src/utils/_RangeCoordUtils.d.ts +84 -0
  979. package/types/src/utils/_RangeCoordUtils.d.ts.map +1 -0
  980. package/types/src/utils/_RangeSetUtils.d.ts +55 -0
  981. package/types/src/utils/_RangeSetUtils.d.ts.map +1 -0
  982. package/types/src/utils/index.d.ts +2 -0
  983. package/types/src/utils/index.d.ts.map +1 -0
  984. package/types/src/workbook/IWorkbook.d.ts +711 -0
  985. package/types/src/workbook/IWorkbook.d.ts.map +1 -0
  986. package/types/src/workbook/Workbook.d.ts +342 -0
  987. package/types/src/workbook/Workbook.d.ts.map +1 -0
  988. package/types/src/workbook/WorkbookRange.d.ts +25 -0
  989. package/types/src/workbook/WorkbookRange.d.ts.map +1 -0
  990. package/types/src/workbook/WorkbookRanges.d.ts +39 -0
  991. package/types/src/workbook/WorkbookRanges.d.ts.map +1 -0
  992. package/types/src/workbook/_WorkbookMessages.d.ts +8 -0
  993. package/types/src/workbook/_WorkbookMessages.d.ts.map +1 -0
  994. package/types/src/workbook/_WorkbookUtils.d.ts +35 -0
  995. package/types/src/workbook/_WorkbookUtils.d.ts.map +1 -0
  996. package/types/src/workbook/index.d.ts +3 -0
  997. package/types/src/workbook/index.d.ts.map +1 -0
  998. package/types/src/workbookProtection/IWorkbookProtection.d.ts +57 -0
  999. package/types/src/workbookProtection/IWorkbookProtection.d.ts.map +1 -0
  1000. package/types/src/workbookProtection/WorkbookProtection.d.ts +14 -0
  1001. package/types/src/workbookProtection/WorkbookProtection.d.ts.map +1 -0
  1002. package/types/src/workbookProtection/index.d.ts +2 -0
  1003. package/types/src/workbookProtection/index.d.ts.map +1 -0
  1004. package/types/src/workbookView/IWorkbookView.d.ts +134 -0
  1005. package/types/src/workbookView/IWorkbookView.d.ts.map +1 -0
  1006. package/types/src/workbookView/WorkbookView.d.ts +49 -0
  1007. package/types/src/workbookView/WorkbookView.d.ts.map +1 -0
  1008. package/types/src/workbookView/index.d.ts +3 -0
  1009. package/types/src/workbookView/index.d.ts.map +1 -0
  1010. package/browser/cjs/B1wkCHMcDuFkMcC_.cjs +0 -6
  1011. package/browser/cjs/B6GPcN051NmcYcIT.cjs +0 -124
  1012. package/browser/cjs/BLBAZ-Bmj0EAhunn.cjs +0 -6
  1013. package/browser/cjs/BP8dBZEDNeacQUNp.cjs +0 -7
  1014. package/browser/cjs/BhNultME1o9xbmcX.cjs +0 -15
  1015. package/browser/cjs/Bm_Mc6TDFCZ1OJNj.cjs +0 -6
  1016. package/browser/cjs/Bo1CE3hgxUD5DGqu.cjs +0 -6
  1017. package/browser/cjs/Btp8A0kzb6cHSEMD.cjs +0 -6
  1018. package/browser/cjs/BvS2Hclafqxj6DCP.cjs +0 -6
  1019. package/browser/cjs/CASsDxt2bA8JHiEW.cjs +0 -6
  1020. package/browser/cjs/CI7HTC82ehwZZ7G9.cjs +0 -55
  1021. package/browser/cjs/CNw4tHphpF3kplDH.cjs +0 -6
  1022. package/browser/cjs/CO7SAK1ru6qnh7fr.cjs +0 -6
  1023. package/browser/cjs/CdLUUmZCUY5uWnq5.cjs +0 -6
  1024. package/browser/cjs/Cegi9isUAUZKUYFl.cjs +0 -6
  1025. package/browser/cjs/CnlnOI_NWWeETB4i.cjs +0 -6
  1026. package/browser/cjs/CphmaCdyCfgLRsS0.cjs +0 -6
  1027. package/browser/cjs/D0Qme7PcsKfdtShi.cjs +0 -6
  1028. package/browser/cjs/D74bWkyzhU8E2TDh.cjs +0 -6
  1029. package/browser/cjs/DFQA35q7KQ-zS2eo.cjs +0 -6
  1030. package/browser/cjs/DK27kwlwz0N4_IpD.cjs +0 -6
  1031. package/browser/cjs/DMfUZBX5dMS-QcFB.cjs +0 -6
  1032. package/browser/cjs/DTrbxLKRbIsj3mPI.cjs +0 -6
  1033. package/browser/cjs/DUbyVNEdEpgkjI-U.cjs +0 -6
  1034. package/browser/cjs/DUiZ8WcVcUyjfILT.cjs +0 -6
  1035. package/browser/cjs/DzZ_6y4OF7HzFZLT.cjs +0 -6
  1036. package/browser/cjs/vQgVD2EniUvkeXnq.cjs +0 -6
  1037. package/browser/esm/B8depZMfw4f8vJ6H.mjs +0 -10
  1038. package/browser/esm/B9z2sURkI9ThbLxE.mjs +0 -10
  1039. package/browser/esm/BDSqdyFcw4FRrODg.mjs +0 -23823
  1040. package/browser/esm/BLoU0uz84A8fWYom.mjs +0 -10
  1041. package/browser/esm/BgKy-xWSJeSV_EyO.mjs +0 -10
  1042. package/browser/esm/Bi2_8iLEY_M-v_34.mjs +0 -10
  1043. package/browser/esm/Bzs_r45vqhZAtTZK.mjs +0 -10
  1044. package/browser/esm/C39Yfk__mPOF8auo.mjs +0 -10
  1045. package/browser/esm/C4EnSMaP8fTEJmhu.mjs +0 -10
  1046. package/browser/esm/CWj2Ts01muSR6zp-.mjs +0 -12
  1047. package/browser/esm/Cd2b3Z4DxOR0M3qa.mjs +0 -4022
  1048. package/browser/esm/Cg7YNnt2uhmFG_3d.mjs +0 -10
  1049. package/browser/esm/CkU9J_RtpNfpxh0y.mjs +0 -10
  1050. package/browser/esm/D0Mb17_7UFEFNmkU.mjs +0 -426
  1051. package/browser/esm/D6VvBNUOfq8QUBY5.mjs +0 -10
  1052. package/browser/esm/DE0iHIHhP7sczC_y.mjs +0 -10
  1053. package/browser/esm/DORXFXgRUsjkR1kA.mjs +0 -10
  1054. package/browser/esm/DTPLUnlOvF2feqR4.mjs +0 -10
  1055. package/browser/esm/DTzUiMAnLD_Zuf0f.mjs +0 -10
  1056. package/browser/esm/D_lQo-PErOoj-8tN.mjs +0 -10
  1057. package/browser/esm/DbK0GAKpj9hwwFwY.mjs +0 -10
  1058. package/browser/esm/DflesN5VzS43jsHK.mjs +0 -5653
  1059. package/browser/esm/DoMqoQP6F7OPue_g.mjs +0 -10
  1060. package/browser/esm/DrIkV6ixO7gbuv7Q.mjs +0 -10
  1061. package/browser/esm/mxYovIi79sCzcZtQ.mjs +0 -10
  1062. package/browser/esm/oRsIla0R_H7slM9k.mjs +0 -10
  1063. package/browser/esm/u5XTTNCFdsbCZ-ud.mjs +0 -10
  1064. package/node/esm/3vOMW8PI4UI73pTa.mjs +0 -10
  1065. package/node/esm/B9z2sURkI9ThbLxE.mjs +0 -10
  1066. package/node/esm/BE2XMKirjoBI9zkt.mjs +0 -1072
  1067. package/node/esm/BL_7m0SH43tASZc8.mjs +0 -10
  1068. package/node/esm/BLoU0uz84A8fWYom.mjs +0 -10
  1069. package/node/esm/BNoPG6CBaybfp_G7.mjs +0 -10
  1070. package/node/esm/BgKy-xWSJeSV_EyO.mjs +0 -10
  1071. package/node/esm/Bi2_8iLEY_M-v_34.mjs +0 -10
  1072. package/node/esm/C4EnSMaP8fTEJmhu.mjs +0 -10
  1073. package/node/esm/CS080xy3HgmgAFgx.mjs +0 -10
  1074. package/node/esm/Cg7YNnt2uhmFG_3d.mjs +0 -10
  1075. package/node/esm/D6VvBNUOfq8QUBY5.mjs +0 -10
  1076. package/node/esm/D7cm1_99nK7c_-6L.mjs +0 -13
  1077. package/node/esm/DE0iHIHhP7sczC_y.mjs +0 -10
  1078. package/node/esm/DElHitSTYjDdkUx1.mjs +0 -10
  1079. package/node/esm/DORXFXgRUsjkR1kA.mjs +0 -10
  1080. package/node/esm/DP7a0Jrz8vTZnv2W.mjs +0 -10
  1081. package/node/esm/DTzUiMAnLD_Zuf0f.mjs +0 -10
  1082. package/node/esm/D_lQo-PErOoj-8tN.mjs +0 -10
  1083. package/node/esm/DbK0GAKpj9hwwFwY.mjs +0 -10
  1084. package/node/esm/DoMqoQP6F7OPue_g.mjs +0 -10
  1085. package/node/esm/mxYovIi79sCzcZtQ.mjs +0 -10
  1086. package/node/esm/oRsIla0R_H7slM9k.mjs +0 -10
  1087. package/node/esm/sVuz1UjytOtK5gck.mjs +0 -2458
  1088. package/node/esm/u5XTTNCFdsbCZ-ud.mjs +0 -10
@@ -0,0 +1,331 @@
1
+ import { FormulaError, IFunction, IRuntime } from '@sheetxl/primitives';
2
+ import { ICalculation } from '../ICalculation';
3
+ import { ISymbolRegistry } from '../symbol';
4
+ import { TokenType } from '../TokenType';
5
+ import { CompiledFormula, ParseError } from './Types';
6
+ import { ASTNode } from './ASTTypes';
7
+ import { FormulaSeparators } from './FormulaSeparators';
8
+ /**
9
+ * Walks the ancestor path (root → parent order) and returns the nearest ancestor
10
+ * matching the given type, or undefined if none exists.
11
+ */
12
+ export declare function findAncestor(path: ASTNode[], type: TokenType): ASTNode | undefined;
13
+ /**
14
+ * @param preserveExpression Editing mode: token `text` must reproduce the TYPED source exactly, so a
15
+ * scoped reference prepends its raw typed sheet prefix (`value.scopeImage` — `sheet2!`, `'Sheet 1'!`).
16
+ * Display mode (`false`) leaves `text` as the bare part; `resolveTokenSymbols` re-synthesizes the
17
+ * qualifier from the resolved (rename-safe) sheet name.
18
+ */
19
+ export declare function generateFormulaTokens(rootNode: ASTNode, preserveExpression?: boolean, emitSeparators?: FormulaSeparators): ICalculation.FormulaToken[];
20
+ /**
21
+ * Concatenate a token stream back to source text (each token's raw `text`, falling back to a string
22
+ * `value`; synthesized tokens like `Empty` contribute nothing). Used by the editing-mode compiler to
23
+ * verify a token stream is FAITHFUL — that it reproduces the typed expression char-for-char — before
24
+ * handing it to an editor that lays colored spans over the raw text by offset.
25
+ *
26
+ * A scoped reference's token captures only its own part (`A1`, `MyName`, `#REF!`) — the sheet
27
+ * qualifier is re-synthesized from the structured `value`'s scope (a Cell's coords, a Named's
28
+ * NamedReference, an error reference's ErrorRef, resolved through `symbols` when linked), mirroring
29
+ * what the display layer (`resolveTokenSymbols`) does, so `Sheet2!A1`, `Sheet1!MyName` and
30
+ * `Data!#REF!` reconstruct.
31
+ */
32
+ export declare function tokensToText(tokens: readonly ICalculation.FormulaToken[], symbols?: ISymbolRegistry | null): string;
33
+ /**
34
+ * Returns the tokens for the subtree rooted at the node with the given evalIndex.
35
+ */
36
+ export declare function getSubtreeTokens(ast: ASTNode, evalIndex: number): ICalculation.FormulaToken[];
37
+ /**
38
+ * Post-processes the AST after {@link linkSymbols} to normalize every
39
+ * `TableReference` node so its `value` holds a pre-built
40
+ * {@link StructuredReference} query object instead of a raw table-name string.
41
+ *
42
+ * @remarks
43
+ * - Must run **after** {@link linkSymbols} (stable IDs already in place) and
44
+ * **before** {@link compileAST}.
45
+ * - Child nodes (TableColumn, TableSpecifier, Prefix '@', etc.) remain in
46
+ * `inputs` for formula-text rendering. They are skipped during compilation
47
+ * via a {@link findAncestor} path check on `TokenType.TableReference`.
48
+ * - Both explicit refs (`Table1[Col]`, value = stable ID) and implicit refs
49
+ * (`[Col]`, value = `''`) are handled identically — the `tableId` field of
50
+ * the resulting {@link StructuredReference} carries the distinction.
51
+ */
52
+ export declare function normalizeStructuredRefs(ast: ASTNode): ASTNode;
53
+ /**
54
+ * Rewrites `[#This Row]` specifier syntax inside `TableReference` inputs to the
55
+ * canonical `@` prefix form used for internal storage and display.
56
+ *
57
+ * `Table1[[#This Row],[Column]]` → `Table1[@[Column]]`
58
+ *
59
+ * Call after parsing from XLSX (import / setValue). Not called during transient
60
+ * UI editing so the formula bar preserves exactly what the user typed.
61
+ *
62
+ * @returns A new AST (structurally shared where unchanged).
63
+ */
64
+ export declare function rewriteThisRowToAt(ast: ASTNode): ASTNode;
65
+ /**
66
+ * Sorts the items inside every `TableReference` into Excel's canonical order — section specifiers
67
+ * in band order (`#All` | `#Headers`, `#Data`, `#Totals`), then the column selector.
68
+ *
69
+ * `Table1[[#Data],[#Headers]]` → `Table1[[#Headers],[#Data]]`
70
+ *
71
+ * @remarks
72
+ * Excel ACCEPTS the out-of-order form on entry and silently rewrites it on commit, so this is a
73
+ * round-trip requirement, not a correctness one: evaluation never cared (`_buildStructuredReference`
74
+ * reduces the items to order-independent flags), but a file written in the typed order does not
75
+ * match what Excel would have stored.
76
+ *
77
+ * Commit-path only — `preserveExpression` (formula-editor) mode keeps exactly what the user typed,
78
+ * the same boundary {@link rewriteThisRowToAt} observes. Runs AFTER that rewrite, which has already
79
+ * folded `[#This Row]` into the `@` prefix, so only the four band specifiers need a rank.
80
+ *
81
+ * @returns A new AST (structurally shared where unchanged).
82
+ */
83
+ export declare function reorderStructuredRefItems(ast: ASTNode): ASTNode;
84
+ export declare function compileAST(runtime: IRuntime, symbols: ISymbolRegistry | undefined, original: ASTNode, preserveExpression?: boolean, error?: ParseError | null, getFunction?: ((name: string) => IFunction | null) | null): CompiledFormula;
85
+ /**
86
+ * Convert a chevrotain error into a {@link FormulaError.Parse}.
87
+ *
88
+ * The message is the raw error text (`Missing closing parenthesis ')'`) — NOT prefixed with its
89
+ * position. Position lives structurally on the error (`getDetails()` → `{ line, column }`), so a
90
+ * consumer decides how to present it: a tooltip can show just the text, while a caller that wants the
91
+ * caret can read the coordinates (or run them back through {@link ParserUtils.formatParseErrorMessage}).
92
+ *
93
+ * @param error Any error from chevrotain.
94
+ */
95
+ export declare function formatChevrotainError(error: any): FormulaError.Known;
96
+ export declare function copyTrivia(target: ASTNode, source: ASTNode): ASTNode;
97
+ export declare const binaryOperatorsPrecedence: readonly string[][];
98
+ export declare const rangeSpanOperators: readonly string[];
99
+ export declare const rangedOperators: readonly string[];
100
+ export declare const rangesOperators: readonly string[];
101
+ /**
102
+ * Used to determine is a node is a range node for writing dynamic arrays to Excel
103
+ */
104
+ export declare const isRangedNode: (node: ASTNode) => boolean;
105
+ /**
106
+ * Finds an implicit-intersection operand that cannot possibly be a reference, or `null` if the
107
+ * formula has none.
108
+ *
109
+ * @param root The root of the formula's AST.
110
+ * @param getFunction Resolves a function's stableId to its declaration, or `null`.
111
+ *
112
+ * @remarks
113
+ * Implicit intersection (the whitespace operator) is defined over LOCATIONS — `A1:A10 B1:B10` is
114
+ * the cells they have in common. Handing it something that computes a value is not a runtime
115
+ * failure, it is a formula that never had a meaning, and Excel refuses the entry outright rather
116
+ * than evaluating it (verified against Excel 16.0 by
117
+ * `spreadsheetbench/formula-tests/probe-space-paren.ps1`, which walks the operand kinds:
118
+ * `INDEX(...)` — reference-returning — is accepted on both sides, `RANDBETWEEN(...)`, `(3)`,
119
+ * `(H1:H5+0)` and `TRUE` are all rejected).
120
+ *
121
+ * This matters most for a formula that LOOKS like a function call: `=SEQUENCE (3)` is not a call at
122
+ * all, because the space keeps the `(` from binding to the name — it is the name `SEQUENCE`
123
+ * intersected with `(3)`. Left to evaluate, the answer depended on what the operands happened to
124
+ * lex as, so one typo produced #NAME?, #REF! or #NULL! for the same mistake.
125
+ *
126
+ * The one place we knowingly diverge from Excel: when the LEFT operand is a built-in function name
127
+ * (`=SUM (H1:H5)`), Excel rejects it because `SUM` is reserved and cannot be a name, while we let it
128
+ * resolve and report #NAME?. Recognizing that case needs a function table at PARSE time, which the
129
+ * parse path has no access to — and "SUM is not a defined name" is an honest answer.
130
+ */
131
+ export declare const findNonReferenceIntersectionOperand: (root: ASTNode, getFunction: ((name: string) => IFunction | null) | null) => ASTNode | null;
132
+ /**
133
+ * Finds an array constant whose rows are not all the same length — a JAGGED literal such as
134
+ * `{1,2;3}`.
135
+ *
136
+ * @param root The root of the formula's AST.
137
+ * @returns A human-readable description of the first jagged array, or `null`.
138
+ *
139
+ * @remarks
140
+ * **An array constant is rectangular, or it is not a formula.** Excel refuses a jagged one at
141
+ * ENTRY; it does not pad the short row with `#N/A`. The refusal is about SHAPE alone — neither
142
+ * content nor position changes it. Measured against Excel 16.0
143
+ * (`spreadsheetbench/formula-tests/probe-jagged-array.ps1`): `{1,2;3}`, `{1;2,3}`, `{1,2;3;4,5}`,
144
+ * `{1,2;3,4,5}`, `{"a","b";"c"}`, `{TRUE,FALSE;TRUE}`, `{#REF!,1;2}`, `SUM({1,2;3})`,
145
+ * `SUM(1,{1,2;3})`, `{1,2;3}+1` and `INDEX({1,2;3},1,1)` are all refused, while every rectangular
146
+ * control (`{1}`, `{1,2,3}`, `{1;2;3}`, `{1,2;3,4}`, `{1,2;3,4;5,6}`) is accepted and spills to
147
+ * exactly its written shape.
148
+ *
149
+ * Deciding it HERE rather than at evaluation is the same lesson as `findArityViolation`, and for a
150
+ * sharper reason: accepting a jagged literal is not a harmless superset, because the writer emits
151
+ * whatever parsed. A jagged `<f>` ON DISK makes the workbook UNOPENABLE — Excel declines the whole
152
+ * file rather than repairing the one cell (`probe-jagged-array2.ps1` patches `{1,2;3}` into an
153
+ * otherwise healthy saved sheet, after which `Workbooks.Open` fails outright while the unpatched
154
+ * seed opens fine). So this is a roundtrip guard, not merely entry parity.
155
+ *
156
+ * Reported here rather than in `FormulaParser._ruleLiteralArray` because on an Array node
157
+ * `error` already MEANS "the closing brace was never consumed" — `CompilerUtils`' token emitter
158
+ * suppresses the `}` when it is set. Since a parse-errored formula re-images from its tokens,
159
+ * flagging the node would silently rewrite the user's text to `={1,2;3`.
160
+ */
161
+ export declare const findJaggedArrayLiteral: (root: ASTNode) => string | null;
162
+ /**
163
+ * Finds a call whose ARGUMENT COUNT the declaration cannot accept — too many, or a required
164
+ * parameter with no argument.
165
+ *
166
+ * @param root The root of the formula's AST.
167
+ * @param getFunction Resolves a function name to its declaration; `null` disables the check.
168
+ * @returns A human-readable description of the first violation, or `null`.
169
+ *
170
+ * @remarks
171
+ * Arity is decidable from the AST — argument count from the call, declared arity from the
172
+ * registry — so by the "only the compiler emits `#PARSE!`" rule it belongs here. Excel agrees:
173
+ * `=IMAGE()` with too few arguments cannot be typed in at all.
174
+ *
175
+ * **This is the "when" half of CALC-ISSUES item 29, and it converts a silent failure into a
176
+ * loud one.** Previously arity was checked during EVALUATION (`TypedFunction`'s
177
+ * `RuntimeError.ARGS_TOO_MANY` / `PARAM_MISSING`), which raised `#PARSE!` at calc time —
178
+ * and `#PARSE!` is precisely what `WorksheetEmitter` refuses to write, so the cell was
179
+ * downgraded to a literal string and the formula vanished on save with no warning. Deciding
180
+ * it at compile time surfaces it where the user is typing.
181
+ *
182
+ * It does NOT fix a WRONG declaration: an arity stricter than Excel's still rejects a legal
183
+ * call, just earlier. That is the other half of item 29 and needs the COM sweep. The runtime
184
+ * checks stay as a backstop for paths that never compile (`IFunction.execute`, item 35).
185
+ */
186
+ export declare const findArityViolation: (root: ASTNode, getFunction: ((name: string) => IFunction | null) | null) => string | null;
187
+ /**
188
+ * Finds an argument that is STATICALLY KNOWN to compute a value sitting in a reference-only
189
+ * (`r:'p'`) parameter — `COLUMN(1)`, `OFFSET(ABS(A1),1,1)`, `SUBTOTAL(9,A1+0)`.
190
+ *
191
+ * @param root The root of the formula's AST.
192
+ * @param getFunction Resolves a function name to its declaration; `null` disables the check.
193
+ * @returns The offending argument node, or `null`.
194
+ *
195
+ * @remarks
196
+ * **Excel decides this at ENTRY, and so must we** (measured over 34 operand kinds x
197
+ * `OFFSET`/`COLUMN`, `spreadsheetbench/formula-tests/probe-ref-slot-entry-boundary.ps1`; both
198
+ * outers agree on every row, so this is the SLOT's rule, not one function's validation). Excel
199
+ * has two channels: what it can PROVE is not a reference is refused outright and the formula
200
+ * cannot exist; what it cannot prove is accepted and fails at evaluation with `#VALUE!`. Excel
201
+ * Online persists a refused formula as a literal STRING — measured in a user-authored
202
+ * `error-offset.xlsx`, where `=OFFSET(ABS(a1),1,1)` came back as `<c t="s">` while
203
+ * `=OFFSET(IF(TRUE,1),1,1)` came back as a real `<f>` with a cached `#VALUE!`.
204
+ *
205
+ * Deciding it HERE is what makes that faithful. Previously the runtime guessed from the value's
206
+ * shape and could not tell `IF(TRUE,1)` from a typed `1` once both were the number 1, so it
207
+ * answered `#PARSE!` for a formula Excel accepts — and `#PARSE!` is exactly what
208
+ * `WorksheetEmitter` refuses to write, so the cell was saved as text and the formula was lost.
209
+ *
210
+ * The provability test is the callee's declared RETURN: a scalar return proves it (`ABS`, `SUM`,
211
+ * `IFERROR`), a ranged return does not (`IF`, `CHOOSE`, `INDEX`). Note a ranged return is
212
+ * currently ambiguous between "array" (`SEQUENCE`, `FILTER` — Excel refuses these) and
213
+ * "may be a reference" (`IF`, `INDEX` — Excel accepts), so we are deliberately PERMISSIVE there:
214
+ * those cases keep today's behavioral and stay reachable only by hand, never from an
215
+ * Excel-authored file. Splitting them needs a distinct `unknown` return type (CALC-ISSUES 39).
216
+ */
217
+ export declare const findValueInReferenceOnlySlot: (root: ASTNode, getFunction: ((name: string) => IFunction | null) | null) => ASTNode | null;
218
+ /**
219
+ * Finds a `Call` whose callee is STATICALLY KNOWN to produce a value — `=SUM(2)(3)`, `=3(1)`,
220
+ * `="x"(1)`, `={1,2}(1)`, `=(1+1)(3)` — which Excel refuses at ENTRY.
221
+ *
222
+ * @param root The root of the formula's AST.
223
+ * @param getFunction Resolves a function name to its declaration; `null` disables the check.
224
+ * @returns The first violation's message, or `null`.
225
+ *
226
+ * @remarks
227
+ * The application design's one rule (§3.1, measured over 34 operands run through BOTH slots):
228
+ * the callee slot and the intersection slot share a single predicate — the operand's declared
229
+ * return must not be provably a value. So this is {@link isDefinitelyNotReferenceNode} asked at a
230
+ * `Call` node's `inputs[0]`, nothing more: a lambda-returning declaration passes (`getLambda()`),
231
+ * an untyped one passes (`IF(TRUE,1,2)(3)` is accepted and fails at runtime — the decisive probe
232
+ * row: no flow analysis, no constant folding), a reference passes (`=A1(3)` is a runtime `#REF!`),
233
+ * and only a provable value is refused.
234
+ */
235
+ export declare const findInvalidCallee: (root: ASTNode, getFunction: ((name: string) => IFunction | null) | null) => string | null;
236
+ /**
237
+ * Rewrites every call to an UNKNOWN function into a name application —
238
+ * `Call(Named(name), …args)`.
239
+ *
240
+ * @param root The parsed AST (pre-{@link bindScopes}, pre-{@link linkSymbols}).
241
+ * @param getFunction Resolves a function name to its declaration; `null` disables the rewrite.
242
+ * @returns A new root, or the SAME root when nothing changed (copy-on-write).
243
+ *
244
+ * @remarks
245
+ * The lexer's FunctionToken fires on ANY identifier touching a `(`, so `MyLam(3)` — the way a
246
+ * NAMED LAMBDA is called — arrives as a Function node and previously died at `#NAME?` without the
247
+ * name ever being consulted. Excel's model has no function-call node at all (`App { head, args }`,
248
+ * with an unknown head resolving as a name — application §8.1); this rewrite is that rule at the
249
+ * one place it differs for us.
250
+ *
251
+ * What falls out, on purpose:
252
+ * - `=Doubler(3)` against `Doubler = LAMBDA(x,x*2)` resolves the name, gets the lambda value, and
253
+ * applies it — the L2 headline.
254
+ * - The Named callee registers a real `namedIds` edge, so entering `=Doubler(3)` BEFORE the name
255
+ * exists is `#NAME?` that HEALS when the name is defined — a Function node never did.
256
+ * - A genuinely unknown name still answers `#NAME?` (the callee errors and the Call propagates
257
+ * it), and a KNOWN function is never touched, so `_xlfn.`-prefixed spellings and the whole
258
+ * registry path stay exactly as they were.
259
+ */
260
+ export declare function rewriteUnknownFunctionCalls(root: ASTNode, getFunction: ((name: string) => IFunction | null) | null): ASTNode;
261
+ /**
262
+ * Annotates the `LET`/`LAMBDA` scopes in a parsed AST: each declaration position is marked a
263
+ * BINDER and every use its scope covers is bound to that binder's slot.
264
+ *
265
+ * @param root The parsed AST (post read-transform, pre {@link linkSymbols}).
266
+ * @param getFunction Resolves a function name to its declaration; see {@link _binderKind}.
267
+ * @returns A new root, or the SAME root when nothing is bound (copy-on-write).
268
+ *
269
+ * @remarks
270
+ * **Runs before {@link linkSymbols}, and that is the point.** A bound node is claimed here, so no
271
+ * `NamedFormula` symbol is minted for it, no dependency edge is drawn, and no dead id is left
272
+ * behind: a parameter is not a name. The node stays a `named` node — the public lite view (and so
273
+ * io-xlsx's `_xlpm.` spelling) is unchanged — but it stops being a REFERENCE and reads its value
274
+ * from its binding rather than from the resolver.
275
+ *
276
+ * Declaration positions are purely syntactic, the same rule io-xlsx's `_prefixScopeParameters`
277
+ * proved on the lite tree:
278
+ * - `LAMBDA` — every argument except the last declares; the last is the body.
279
+ * - `LET` — the even-indexed arguments except the last declare, the odd ones are their values, and
280
+ * the last is the body.
281
+ *
282
+ * Binding ORDER is the one rule the shape does not give away, and it is measured: a `LET` name is
283
+ * in scope only from the argument AFTER its own value, so the same spelling in an earlier one is
284
+ * the outer / defined name — `LET(zz,zz,zz)` binds only the third `zz`.
285
+ *
286
+ * Shadowing needs no special case: the environment is a stack and a use takes the INNERMOST
287
+ * binding, so an inner scope's name wins over an outer one's, and a parameter wins over a defined
288
+ * name (it never reaches the resolver at all).
289
+ */
290
+ export declare function bindScopes(root: ASTNode, getFunction?: ((name: string) => IFunction | null) | null): ASTNode;
291
+ /**
292
+ * Finds a malformed `LET`/`LAMBDA` scope — a shape Excel refuses at ENTRY.
293
+ *
294
+ * @param root The root of the formula's AST.
295
+ * @param getFunction Resolves a function name to its declaration; see {@link _binderKind}.
296
+ * @returns The first violation's message, or `null`.
297
+ *
298
+ * @remarks
299
+ * Same channel and same reason as {@link findArityViolation}: Excel decides these before the
300
+ * formula can exist, so we do too — a refused shape is a parse error, not a cell that evaluates to
301
+ * something. Read from the shipping Excel Online analyzer
302
+ * (`d:/dev/excel-calc-ref/excelOnlineCalc.min.js`, `applySpecificWorksheetFunctionChecks`), which
303
+ * reports `Duplicate_binder` / `Invalid_binder` / `Missing_binder` per declaration and
304
+ * `Insufficient_function_arguments` with `numArgsExpected: max(3, n + 1 + n % 2)` for `LET` — the
305
+ * `n % 2` term being exactly the even-argument-count refusal.
306
+ *
307
+ * Duplicates compare case-INSENSITIVELY (Excel keys them in a `stringCompareCI` map), the same
308
+ * normalization a name comparison gets everywhere else.
309
+ */
310
+ export declare const findBinderViolation: (root: ASTNode, getFunction: ((name: string) => IFunction | null) | null) => string | null;
311
+ /**
312
+ * Visits the AST and links display names to stable IDs using the symbol registry.
313
+ *
314
+ * @param ast The root AST node to start the traversal.
315
+ * @param symbols The symbol registry used to resolve display names to stable IDs.
316
+ * @param scope The sheet this formula is written on, or `null`/omitted when there is none.
317
+ * Only defined names need it, and only because they can be sheet-scoped: `MonthName` on January
318
+ * and the same text on February are two different names when each sheet defines its own, so the
319
+ * vantage is part of the question. Without it every reference binds to whichever definition
320
+ * happened to win globally.
321
+ * @returns The updated AST with linked symbols.
322
+ */
323
+ export declare function linkSymbols(ast: ASTNode, symbols: ISymbolRegistry, scope?: string | null): ASTNode;
324
+ /**
325
+ * Returns a new AST with every relative Cell node's coordinates shifted by (rowDelta, colDelta),
326
+ * wrapping out-of-bounds results within [0, max) (Excel behavioral).
327
+ * Absolute ($) coords and whole-row/whole-column sentinels (Number.MIN_SAFE_INTEGER) are untouched.
328
+ * Unchanged subtrees are structurally shared (copy-on-write via visitAST).
329
+ */
330
+ export declare function translateCellNodes(ast: ASTNode, rowDelta: number, colDelta: number, maxRow?: number, maxCol?: number): ASTNode;
331
+ //# sourceMappingURL=CompilerUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompilerUtils.d.ts","sourceRoot":"","sources":["../../../../../src/calculation/compiler/CompilerUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,SAAS,EAAe,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAW/F,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,KAAK,eAAe,EAAc,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EACL,KAAK,eAAe,EAA0B,KAAK,UAAU,EAC9D,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,KAAK,OAAO,EACb,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,KAAK,iBAAiB,EAAqD,MAAM,qBAAqB,CAAC;AAKhH;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAKlF;AAkKD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,OAAO,EACjB,kBAAkB,GAAE,OAAa,EAKjC,cAAc,GAAE,iBAAsC,GACrD,YAAY,CAAC,YAAY,EAAE,CAmX7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,SAAS,YAAY,CAAC,YAAY,EAAE,EAC5C,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,GAC/B,MAAM,CAkCR;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,MAAM,GAChB,YAAY,CAAC,YAAY,EAAE,CAc7B;AAiGD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAM7D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAyCxD;AAkBD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAiB/D;AA+ID,wBAAgB,UAAU,CACxB,OAAO,EAAE,QAAQ,EACjB,OAAO,EAAE,eAAe,GAAG,SAAS,EACpC,QAAQ,EAAE,OAAO,EACjB,kBAAkB,GAAE,OAAa,EACjC,KAAK,GAAE,UAAU,GAAG,IAAS,EAC7B,WAAW,GAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAW,GAC9D,eAAe,CAqSjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,GAAG,GACT,YAAY,CAAC,KAAK,CAmBpB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAWpE;AAED,eAAO,MAAM,yBAAyB,qBAQpC,CAAC;AAKH,eAAO,MAAM,kBAAkB,mBAA0C,CAAC;AAO1E,eAAO,MAAM,eAAe,mBAAmE,CAAC;AAEhG,eAAO,MAAM,eAAe,mBAAgG,CAAC;AAgC7H;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,MAAM,OAAO,KAAG,OAoB5C,CAAA;AA0GD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,mCAAmC,GAC9C,MAAM,OAAO,EACb,aAAa,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,KACvD,OAAO,GAAG,IAkBZ,CAAA;AAoHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,sBAAsB,GAAI,MAAM,OAAO,KAAG,MAAM,GAAG,IAuB/D,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,kBAAkB,GAC7B,MAAM,OAAO,EACb,aAAa,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,KACvD,MAAM,GAAG,IAgDX,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,4BAA4B,GACvC,MAAM,OAAO,EACb,aAAa,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,KACvD,OAAO,GAAG,IA4BZ,CAAA;AAGD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,GAC5B,MAAM,OAAO,EACb,aAAa,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,KACvD,MAAM,GAAG,IAkBX,CAAA;AAwHD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,OAAO,EACb,WAAW,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,GACvD,OAAO,CAOT;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,EACb,WAAW,GAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAW,GAC9D,OAAO,CA+IT;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,mBAAmB,GAC9B,MAAM,OAAO,EACb,aAAa,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,KACvD,MAAM,GAAG,IAwDX,CAAA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,GAAG,EAAE,OAAO,EACZ,OAAO,EAAE,eAAe,EACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GACpB,OAAO,CAuFT;AAQD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,MAAM,SAAU,EAChB,MAAM,SAAU,GACf,OAAO,CAoBT"}
@@ -0,0 +1,69 @@
1
+ import { IFunction, IRuntime } from '@sheetxl/primitives';
2
+ import { ISymbolRegistry } from '../symbol';
3
+ import { ICalculation } from '../ICalculation';
4
+ import { IFormulaCompiler, CompiledFormula } from './Types';
5
+ import { FormulaParseOptions } from './FormulaParser';
6
+ /**
7
+ * How the compiler balances speed against error recovery. The two are per-INSTANCE (not per-call)
8
+ * because they change what a compile produces, not just how hard it tries — a caller holds the
9
+ * compiler that matches its needs.
10
+ */
11
+ export type FormulaCompilerProfile =
12
+ /**
13
+ * The bulk path (load / commit / recalc). Expressions are normalized (e.g. `[#This Row]` → `@`) and a
14
+ * parse failure costs nothing extra: the result is a single `unparsed` token carrying the raw text
15
+ * plus the error — nothing is lost on save, and no recovery work is spent.
16
+ */
17
+ 'calc'
18
+ /**
19
+ * The editor path (`createFormula` while typing). Expressions are preserved exactly as
20
+ * typed, and a parse failure buys maximum recovery: the longest parseable prefix is compiled (its
21
+ * references are real) and `getTokens()` is guaranteed FAITHFUL — concatenating the tokens
22
+ * reproduces the source char-for-char, with everything un-parseable as `unparsed` token(s).
23
+ */
24
+ | 'editing';
25
+ /**
26
+ * Options for constructing a {@link FormulaCompiler}.
27
+ */
28
+ export interface FormulaCompilerOptions extends FormulaParseOptions {
29
+ /**
30
+ * The speed/recovery profile. Defaults to `'calc'`.
31
+ */
32
+ profile?: FormulaCompilerProfile;
33
+ }
34
+ export declare class FormulaCompiler implements IFormulaCompiler {
35
+ private readonly _parser;
36
+ /** `true` for the `'editing'` profile — preserve the typed expression + maximum recovery. */
37
+ private readonly _editing;
38
+ constructor(options?: FormulaCompilerOptions);
39
+ /** @inheritdoc IFormulaCompiler.compile */
40
+ compile(runtime: IRuntime, rowIndex: number, colIndex: number, expression: string, symbols?: ISymbolRegistry, getFunction?: ((name: string) => IFunction | null) | null, scope?: string | null, formulaTransform?: ICalculation.FormulaTransform): CompiledFormula;
41
+ /** @inheritdoc IFormulaCompiler.autoCorrect */
42
+ autoCorrect(expression: string): string | null;
43
+ /**
44
+ * The zero-recovery parse-failure result: a compiled formula whose only token is the raw expression
45
+ * as `unparsed`, evaluating to the parse error. Nothing is lost (the text round-trips), nothing is
46
+ * spent — this is the calc profile's entire failure path, and editing's last resort.
47
+ */
48
+ private _compileUnparsed;
49
+ /**
50
+ * Recover a fully-COMPILED formula for an expression the parser couldn't parse faithfully: the longest
51
+ * parseable prefix, compiled (so `getReferences()` + tokens are real), presented as an error. Candidate
52
+ * prefixes end at TOKEN boundaries (from a tolerant re-lex — character trimming could land mid-token,
53
+ * where e.g. a long string literal never re-lexes), longest first. A prefix is accepted only when it
54
+ * compiles AND its tokens reproduce the prefix text exactly; the un-parseable tail is then appended as
55
+ * `unparsed` token(s) (see {@link _appendUnparsedTail}), so the WHOLE result round-trips the source.
56
+ * Returns `null` when nothing down to the attempt cap parses. Only reached on a parse failure, so its
57
+ * cost is off the common (valid) path.
58
+ */
59
+ private _recoverCompiled;
60
+ /**
61
+ * Append the un-parseable `tail` to `tokens` as `unparsed` token(s): stamp the enclosing function
62
+ * context (from the last token that has one) so a caret in the tail still resolves to the right
63
+ * function + argument, and split off a trailing identifier run (`[A-Za-z_][A-Za-z0-9_]*` at a token
64
+ * boundary, not glued to a preceding digit like `12abc`) as its own `isLookup` token, so a partial
65
+ * name being typed can still drive autocomplete.
66
+ */
67
+ private _appendUnparsedTail;
68
+ }
69
+ //# sourceMappingURL=FormulaCompiler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormulaCompiler.d.ts","sourceRoot":"","sources":["../../../../../src/calculation/compiler/FormulaCompiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIlF,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EACL,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAC5C,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAwD,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEjH;;;;GAIG;AACH,MAAM,MAAM,sBAAsB;AAChC;;;;GAIG;AACD,MAAM;AACR;;;;;GAKG;GACD,SAAS,CAAC;AAEd;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,mBAAmB;IACjE;;OAEG;IACH,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC;AASD,qBAAa,eAAgB,YAAW,gBAAgB;IACtD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgB;IACxC,6FAA6F;IAC7F,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;gBAEvB,OAAO,CAAC,EAAE,sBAAsB;IAQ5C,2CAA2C;IAC3C,OAAO,CACL,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,eAAe,EACzB,WAAW,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,EACzD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EACrB,gBAAgB,CAAC,EAAE,YAAY,CAAC,gBAAgB,GAC/C,eAAe;IAsIlB,+CAA+C;IAC/C,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IA4B9C;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAiCxB;;;;;;;;;OASG;IACH,OAAO,CAAC,gBAAgB;IA4ExB;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;CAmC5B"}
@@ -0,0 +1,85 @@
1
+ import { ILexingResult, TokenType as CTokenType } from 'chevrotain';
2
+ import { FormulaSeparators, CANONICAL_SEPARATORS, formulaSeparatorsForDecimal } from './FormulaSeparators';
3
+ import { CompilerLocale } from './CompilerLocale';
4
+ export { type FormulaSeparators, CANONICAL_SEPARATORS, formulaSeparatorsForDecimal };
5
+ export interface FormulaLexerOptions {
6
+ /**
7
+ * Maximum column index (1-based). Defaults to Excel's 16,384 (XFD).
8
+ */
9
+ maxColumn?: number;
10
+ /**
11
+ * Maximum row index (1-based). Defaults to Excel's 1,048,576.
12
+ */
13
+ maxRow?: number;
14
+ /**
15
+ * The locale to tokenize for — separators (Plane 1) plus the localized boolean/error alternates
16
+ * (Plane 3) the lexer adds alongside the always-lexed canonical set. Defaults to
17
+ * {@link CANONICAL_LOCALE} (canonical separators, English-only literals).
18
+ */
19
+ locale?: CompilerLocale;
20
+ }
21
+ /**
22
+ * Used for tokenizing a string using formula tokens.
23
+ */
24
+ export declare class FormulaLexer {
25
+ private readonly _lexer;
26
+ /** The token vocabulary passed to the Chevrotain parser. */
27
+ private readonly _vocabulary;
28
+ /** The locale this lexer tokenizes with — shared with the parser (actions) and emit path. */
29
+ private readonly _locale;
30
+ /** Grid bounds the cell/column matchers were built against — see {@link getMaxRow}. */
31
+ private readonly _maxColumn;
32
+ private readonly _maxRow;
33
+ /**
34
+ * A lexer for this exact configuration, built at most once.
35
+ *
36
+ * Construction is not cheap — the whole token set is rebuilt, and bucketing
37
+ * `_nameStartCharsHint` alone measures ~0.4 ms — and a `FormulaLexer` was previously built
38
+ * per `FormulaParser`, i.e. per `Sheet`. Nothing here is mutable after construction
39
+ * (every field is `readonly`, `tokenize` returns a fresh result), so one instance serves
40
+ * every caller with the same configuration.
41
+ *
42
+ * Keyed on the locale by IDENTITY rather than by value. The lexer reads separators, error
43
+ * literals and boolean spellings off that object, so the same object always means the same
44
+ * tokens; two equal-but-distinct locale objects merely miss the cache, which costs a build
45
+ * and never correctness.
46
+ */
47
+ static shared(config?: FormulaLexerOptions): FormulaLexer;
48
+ constructor(config?: FormulaLexerOptions);
49
+ /**
50
+ * Break an expression into tokens.
51
+ *
52
+ * @param expression The text to tokenize.
53
+ * @param throwOnError If `false`, lexing errors do not throw — the partial result (the tokens that
54
+ * DID lex, plus `errors`) is returned as-is. Used by editing-mode recovery to find the last clean
55
+ * token boundary in an expression whose tail can't lex (e.g. an unterminated string).
56
+ * @returns The result of lexing, including the list of tokens and any errors.
57
+ */
58
+ tokenize(expression: string, throwOnError?: boolean): ILexingResult;
59
+ /**
60
+ * Return the token vocabulary, which maps token names to Chevrotain token types.
61
+ */
62
+ getVocabulary(): Record<string, CTokenType>;
63
+ /**
64
+ * The locale this lexer tokenizes with. The parser reads it for its actions (mapping typed booleans/
65
+ * errors/numbers → canonical AST values); it also carries the separators the emit path re-images with.
66
+ */
67
+ getLocale(): CompilerLocale;
68
+ /** The last valid column (1-based) — `A1`/`AC` beyond it lex as a name, not a reference. */
69
+ getMaxColumn(): number;
70
+ /**
71
+ * The last valid row (1-based).
72
+ *
73
+ * The cell matcher applies this itself (`A1048577` falls through to a NAME), but a whole-row
74
+ * operand cannot: a bare digit run lexes as a NUMBER, and only the parser knows it sits beside a
75
+ * range operator. The parser reads this to bound that conversion — Excel refuses `1:1048577` and
76
+ * `0:1` outright (`spreadsheetbench/formula-tests/probe-mixed-range-operand4.ps1`).
77
+ */
78
+ getMaxRow(): number;
79
+ /**
80
+ * The fully-resolved separators this lexer tokenizes with. The parser reads `separatorDecimal`
81
+ * to normalize number images (`1,5` → `1.5`); the emit path reads all four to localize display.
82
+ */
83
+ getSeparators(): FormulaSeparators;
84
+ }
85
+ //# sourceMappingURL=FormulaLexer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormulaLexer.d.ts","sourceRoot":"","sources":["../../../../../src/calculation/compiler/FormulaLexer.ts"],"names":[],"mappings":"AAAA,OAAO,EAE2D,KAAK,aAAa,EAClF,KAAK,SAAS,IAAI,UAAU,EAC7B,MAAM,YAAY,CAAC;AAIpB,OAAO,EACL,KAAK,iBAAiB,EAAE,oBAAoB,EAAE,2BAA2B,EAC1E,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,cAAc,EAAoB,MAAM,kBAAkB,CAAC;AAEzE,OAAO,EAAE,KAAK,iBAAiB,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,CAAC;AAKrF,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAQ;IAC/B,4DAA4D;IAC5D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6B;IACzD,6FAA6F;IAC7F,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiB;IACzC,uFAAuF;IACvF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IAEjC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,YAAY;gBAkB7C,MAAM,CAAC,EAAE,mBAAmB;IA+QxC;;;;;;;;OAQG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,GAAE,OAAY,GAAG,aAAa;IAqBvE;;OAEG;IACH,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC;IAI3C;;;OAGG;IACH,SAAS,IAAI,cAAc;IAI3B,4FAA4F;IAC5F,YAAY,IAAI,MAAM;IAItB;;;;;;;OAOG;IACH,SAAS,IAAI,MAAM;IAInB;;;OAGG;IACH,aAAa,IAAI,iBAAiB;CAGnC"}