@sheetxl/formulas 0.7.21 → 0.7.23-beta.1

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 (245) hide show
  1. package/README.md +136 -12
  2. package/browser/cjs/1XrWGMP3GmsQOMIX.cjs +1 -0
  3. package/browser/cjs/49_x589Na12sizKK.cjs +1 -0
  4. package/browser/cjs/4nReftSsKWmnRdtf.cjs +1 -0
  5. package/browser/cjs/507hQYooKKjnRzsZ.cjs +1 -0
  6. package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +1 -0
  7. package/browser/cjs/BK0SCfN_VZYqBxoQ.cjs +1 -0
  8. package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +1 -0
  9. package/browser/cjs/C9C-pr-T_ThweQX9.cjs +1 -0
  10. package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +1 -0
  11. package/browser/cjs/CRx1WvmgBjT8WVyB.cjs +1 -0
  12. package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +1 -0
  13. package/browser/cjs/CXlzsh_WHCOsErJ1.cjs +1 -0
  14. package/browser/cjs/CpJJh4UnFl1_qFui.cjs +1 -0
  15. package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +1 -0
  16. package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +1 -0
  17. package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +1 -0
  18. package/browser/cjs/DDnGLOLTqLFsdUDS.cjs +1 -0
  19. package/browser/cjs/DG2kqsWRUtVugjay.cjs +1 -0
  20. package/browser/cjs/DM7-R_ltoLbA9jde.cjs +1 -0
  21. package/browser/cjs/DNKyaSruDogoBd2H.cjs +1 -0
  22. package/browser/cjs/Du4jBiFxRIF1OjD4.cjs +1 -0
  23. package/browser/cjs/EeOVMRq7TuptFKTc.cjs +1 -0
  24. package/browser/cjs/Kvn916ebqGc4t6hv.cjs +1 -0
  25. package/browser/cjs/aONv0Ys3C8xmnaR8.cjs +1 -0
  26. package/browser/cjs/index.cjs +1 -6
  27. package/browser/cjs/z_rZE1OHFPpdGBh4.cjs +1 -0
  28. package/browser/esm/BHMlK3Db4AEwCc8k.mjs +105 -0
  29. package/browser/esm/Be1Tx6lgVRj6QlY1.mjs +319 -0
  30. package/browser/esm/Bzrz7GIyfT0PuIn6.mjs +24 -0
  31. package/browser/esm/C-lXpgXlA2WKf1V_.mjs +14 -0
  32. package/browser/esm/C5MTczfnFrB6dolC.mjs +119 -0
  33. package/browser/esm/C5Vw8q0MSo7v62lf.mjs +123 -0
  34. package/browser/esm/C8UX8jzdyVM8iAqD.mjs +173 -0
  35. package/browser/esm/CGlPjt0P7YJjti8l.mjs +12 -0
  36. package/browser/esm/CRlIy5CFlhXBrDWk.mjs +28 -0
  37. package/browser/esm/CWJFZhfpaNCRfPUF.mjs +144 -0
  38. package/browser/esm/CY4PVEGg-h4B-ULu.mjs +382 -0
  39. package/browser/esm/Cob4zcJp6JIPD88Q.mjs +17 -0
  40. package/browser/esm/Crca5jE3Yf7IZSH-.mjs +316 -0
  41. package/browser/esm/CtrldQ03taJCXRon.mjs +96 -0
  42. package/browser/esm/D1jCuakdJDAZRD90.mjs +28 -0
  43. package/browser/esm/DCSVv5SQ5HKw36ZJ.mjs +21 -0
  44. package/browser/esm/DMSc03XuAxrkQNc6.mjs +146 -0
  45. package/browser/esm/DOmYwMQ5JE_iPKuc.mjs +37 -0
  46. package/browser/esm/DTxIlCgwKM1DjV9j.mjs +15 -0
  47. package/browser/esm/DaEIkAVABMGdBSd-.mjs +13 -0
  48. package/browser/esm/Di6GWguaGctcPMXf.mjs +138 -0
  49. package/browser/esm/Dw5qhRU9fyKn0s0a.mjs +860 -0
  50. package/browser/esm/TJ5zLKdp58uJXh1V.mjs +111 -0
  51. package/browser/esm/ZkTa8jqGfCRiG5BM.mjs +22 -0
  52. package/browser/esm/index.mjs +13173 -13
  53. package/browser/esm/xGJGkl7HKha1KqKD.mjs +23 -0
  54. package/licenses/dependencies.txt +92 -1
  55. package/node/esm/BHMlK3Db4AEwCc8k.mjs +105 -0
  56. package/node/esm/BraxPv_fCpgAIJF5.mjs +319 -0
  57. package/node/esm/Bzrz7GIyfT0PuIn6.mjs +24 -0
  58. package/node/esm/C5MTczfnFrB6dolC.mjs +119 -0
  59. package/node/esm/C5Vw8q0MSo7v62lf.mjs +123 -0
  60. package/node/esm/C8UX8jzdyVM8iAqD.mjs +173 -0
  61. package/node/esm/CGlPjt0P7YJjti8l.mjs +12 -0
  62. package/node/esm/CRlIy5CFlhXBrDWk.mjs +28 -0
  63. package/node/esm/CWJFZhfpaNCRfPUF.mjs +144 -0
  64. package/node/esm/CY4PVEGg-h4B-ULu.mjs +382 -0
  65. package/node/esm/CiJmfBLxjqO3iRgD.mjs +14 -0
  66. package/node/esm/Cob4zcJp6JIPD88Q.mjs +17 -0
  67. package/node/esm/Crca5jE3Yf7IZSH-.mjs +316 -0
  68. package/node/esm/CtrldQ03taJCXRon.mjs +96 -0
  69. package/node/esm/D-ZOXtNuCTDM93kQ.mjs +13 -0
  70. package/node/esm/DCSVv5SQ5HKw36ZJ.mjs +21 -0
  71. package/node/esm/DMSc03XuAxrkQNc6.mjs +146 -0
  72. package/node/esm/DOmYwMQ5JE_iPKuc.mjs +37 -0
  73. package/node/esm/Di6GWguaGctcPMXf.mjs +138 -0
  74. package/node/esm/Dw5qhRU9fyKn0s0a.mjs +860 -0
  75. package/node/esm/TJ5zLKdp58uJXh1V.mjs +111 -0
  76. package/node/esm/ZkTa8jqGfCRiG5BM.mjs +22 -0
  77. package/node/esm/dGnxKKDT-QB9Z3ZI.mjs +28 -0
  78. package/node/esm/index.mjs +11091 -13
  79. package/node/esm/n1pCMSYSb9N-oHFd.mjs +15 -0
  80. package/node/esm/xGJGkl7HKha1KqKD.mjs +23 -0
  81. package/package.json +4 -3
  82. package/resources/contents.json +14 -0
  83. package/resources/locales/contents.json +9 -0
  84. package/resources/locales/de/functions.json +298 -0
  85. package/types/index.d.ts +4 -17
  86. package/types/src/.generated/decl/database/Database.decl.d.ts +4 -0
  87. package/types/src/.generated/decl/database/Database.decl.d.ts.map +1 -0
  88. package/types/src/.generated/decl/dateTime/Date.decl.d.ts +4 -0
  89. package/types/src/.generated/decl/dateTime/Date.decl.d.ts.map +1 -0
  90. package/types/src/.generated/decl/engineering/Bessel.decl.d.ts +4 -0
  91. package/types/src/.generated/decl/engineering/Bessel.decl.d.ts.map +1 -0
  92. package/types/src/.generated/decl/engineering/Bitwise.decl.d.ts +4 -0
  93. package/types/src/.generated/decl/engineering/Bitwise.decl.d.ts.map +1 -0
  94. package/types/src/.generated/decl/engineering/Convert.decl.d.ts +4 -0
  95. package/types/src/.generated/decl/engineering/Convert.decl.d.ts.map +1 -0
  96. package/types/src/.generated/decl/engineering/Engineering.decl.d.ts +4 -0
  97. package/types/src/.generated/decl/engineering/Engineering.decl.d.ts.map +1 -0
  98. package/types/src/.generated/decl/engineering/Error.decl.d.ts +4 -0
  99. package/types/src/.generated/decl/engineering/Error.decl.d.ts.map +1 -0
  100. package/types/src/.generated/decl/engineering/Imaginary.decl.d.ts +4 -0
  101. package/types/src/.generated/decl/engineering/Imaginary.decl.d.ts.map +1 -0
  102. package/types/src/.generated/decl/information/Information.decl.d.ts +4 -0
  103. package/types/src/.generated/decl/information/Information.decl.d.ts.map +1 -0
  104. package/types/src/.generated/decl/japanese/Date.decl.d.ts +4 -0
  105. package/types/src/.generated/decl/japanese/Date.decl.d.ts.map +1 -0
  106. package/types/src/.generated/decl/japanese/Text.decl.d.ts +4 -0
  107. package/types/src/.generated/decl/japanese/Text.decl.d.ts.map +1 -0
  108. package/types/src/.generated/decl/logical/Logical.decl.d.ts +4 -0
  109. package/types/src/.generated/decl/logical/Logical.decl.d.ts.map +1 -0
  110. package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts +4 -0
  111. package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts.map +1 -0
  112. package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts +4 -0
  113. package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts.map +1 -0
  114. package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts +4 -0
  115. package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts.map +1 -0
  116. package/types/src/.generated/decl/mathTrig/Math.decl.d.ts +4 -0
  117. package/types/src/.generated/decl/mathTrig/Math.decl.d.ts.map +1 -0
  118. package/types/src/.generated/decl/mathTrig/Trig.decl.d.ts +4 -0
  119. package/types/src/.generated/decl/mathTrig/Trig.decl.d.ts.map +1 -0
  120. package/types/src/.generated/decl/operators/Operators.decl.d.ts +4 -0
  121. package/types/src/.generated/decl/operators/Operators.decl.d.ts.map +1 -0
  122. package/types/src/.generated/decl/statistical/Distribution.decl.d.ts +4 -0
  123. package/types/src/.generated/decl/statistical/Distribution.decl.d.ts.map +1 -0
  124. package/types/src/.generated/decl/statistical/Statistical.decl.d.ts +4 -0
  125. package/types/src/.generated/decl/statistical/Statistical.decl.d.ts.map +1 -0
  126. package/types/src/.generated/decl/testing/Testing.decl.d.ts +4 -0
  127. package/types/src/.generated/decl/testing/Testing.decl.d.ts.map +1 -0
  128. package/types/src/.generated/decl/text/Text.decl.d.ts +4 -0
  129. package/types/src/.generated/decl/text/Text.decl.d.ts.map +1 -0
  130. package/types/src/.generated/decl/thai/Text.decl.d.ts +4 -0
  131. package/types/src/.generated/decl/thai/Text.decl.d.ts.map +1 -0
  132. package/types/src/.generated/decl/web/FilterXML.decl.d.ts +4 -0
  133. package/types/src/.generated/decl/web/FilterXML.decl.d.ts.map +1 -0
  134. package/types/src/.generated/decl/web/Web.decl.d.ts +4 -0
  135. package/types/src/.generated/decl/web/Web.decl.d.ts.map +1 -0
  136. package/types/src/.generated/desc/database/Database.desc.d.ts +4 -0
  137. package/types/src/.generated/desc/database/Database.desc.d.ts.map +1 -0
  138. package/types/src/.generated/desc/dateTime/Date.desc.d.ts +4 -0
  139. package/types/src/.generated/desc/dateTime/Date.desc.d.ts.map +1 -0
  140. package/types/src/.generated/desc/engineering/Bessel.desc.d.ts +4 -0
  141. package/types/src/.generated/desc/engineering/Bessel.desc.d.ts.map +1 -0
  142. package/types/src/.generated/desc/engineering/Bitwise.desc.d.ts +4 -0
  143. package/types/src/.generated/desc/engineering/Bitwise.desc.d.ts.map +1 -0
  144. package/types/src/.generated/desc/engineering/Convert.desc.d.ts +4 -0
  145. package/types/src/.generated/desc/engineering/Convert.desc.d.ts.map +1 -0
  146. package/types/src/.generated/desc/engineering/Engineering.desc.d.ts +4 -0
  147. package/types/src/.generated/desc/engineering/Engineering.desc.d.ts.map +1 -0
  148. package/types/src/.generated/desc/engineering/Error.desc.d.ts +4 -0
  149. package/types/src/.generated/desc/engineering/Error.desc.d.ts.map +1 -0
  150. package/types/src/.generated/desc/engineering/Imaginary.desc.d.ts +4 -0
  151. package/types/src/.generated/desc/engineering/Imaginary.desc.d.ts.map +1 -0
  152. package/types/src/.generated/desc/information/Information.desc.d.ts +4 -0
  153. package/types/src/.generated/desc/information/Information.desc.d.ts.map +1 -0
  154. package/types/src/.generated/desc/japanese/Date.desc.d.ts +4 -0
  155. package/types/src/.generated/desc/japanese/Date.desc.d.ts.map +1 -0
  156. package/types/src/.generated/desc/japanese/Text.desc.d.ts +4 -0
  157. package/types/src/.generated/desc/japanese/Text.desc.d.ts.map +1 -0
  158. package/types/src/.generated/desc/logical/Logical.desc.d.ts +4 -0
  159. package/types/src/.generated/desc/logical/Logical.desc.d.ts.map +1 -0
  160. package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts +4 -0
  161. package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts.map +1 -0
  162. package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts +4 -0
  163. package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts.map +1 -0
  164. package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts +4 -0
  165. package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts.map +1 -0
  166. package/types/src/.generated/desc/mathTrig/Math.desc.d.ts +4 -0
  167. package/types/src/.generated/desc/mathTrig/Math.desc.d.ts.map +1 -0
  168. package/types/src/.generated/desc/mathTrig/Trig.desc.d.ts +4 -0
  169. package/types/src/.generated/desc/mathTrig/Trig.desc.d.ts.map +1 -0
  170. package/types/src/.generated/desc/operators/Operators.desc.d.ts +4 -0
  171. package/types/src/.generated/desc/operators/Operators.desc.d.ts.map +1 -0
  172. package/types/src/.generated/desc/statistical/Distribution.desc.d.ts +4 -0
  173. package/types/src/.generated/desc/statistical/Distribution.desc.d.ts.map +1 -0
  174. package/types/src/.generated/desc/statistical/Statistical.desc.d.ts +4 -0
  175. package/types/src/.generated/desc/statistical/Statistical.desc.d.ts.map +1 -0
  176. package/types/src/.generated/desc/testing/Testing.desc.d.ts +4 -0
  177. package/types/src/.generated/desc/testing/Testing.desc.d.ts.map +1 -0
  178. package/types/src/.generated/desc/text/Text.desc.d.ts +4 -0
  179. package/types/src/.generated/desc/text/Text.desc.d.ts.map +1 -0
  180. package/types/src/.generated/desc/thai/Text.desc.d.ts +4 -0
  181. package/types/src/.generated/desc/thai/Text.desc.d.ts.map +1 -0
  182. package/types/src/.generated/desc/web/FilterXML.desc.d.ts +4 -0
  183. package/types/src/.generated/desc/web/FilterXML.desc.d.ts.map +1 -0
  184. package/types/src/.generated/desc/web/Web.desc.d.ts +4 -0
  185. package/types/src/.generated/desc/web/Web.desc.d.ts.map +1 -0
  186. package/types/src/.generated/index.d.ts +7 -0
  187. package/types/src/.generated/index.d.ts.map +1 -0
  188. package/types/src/_utils/AggregateIFS.d.ts +39 -0
  189. package/types/src/_utils/AggregateIFS.d.ts.map +1 -0
  190. package/types/src/_utils/Consts.d.ts +14 -0
  191. package/types/src/_utils/Consts.d.ts.map +1 -0
  192. package/types/src/_utils/Errors.d.ts +33 -0
  193. package/types/src/_utils/Errors.d.ts.map +1 -0
  194. package/types/src/_utils/ReduceIf.d.ts +26 -0
  195. package/types/src/_utils/ReduceIf.d.ts.map +1 -0
  196. package/types/src/database/Database.d.ts +86 -0
  197. package/types/src/database/Database.d.ts.map +1 -0
  198. package/types/src/dateTime/Date.d.ts +139 -0
  199. package/types/src/dateTime/Date.d.ts.map +1 -0
  200. package/types/src/engineering/Bessel.d.ts +26 -0
  201. package/types/src/engineering/Bessel.d.ts.map +1 -0
  202. package/types/src/engineering/Bitwise.d.ts +101 -0
  203. package/types/src/engineering/Bitwise.d.ts.map +1 -0
  204. package/types/src/engineering/Convert.d.ts +9 -0
  205. package/types/src/engineering/Convert.d.ts.map +1 -0
  206. package/types/src/engineering/Engineering.d.ts +14 -0
  207. package/types/src/engineering/Engineering.d.ts.map +1 -0
  208. package/types/src/engineering/Error.d.ts +25 -0
  209. package/types/src/engineering/Error.d.ts.map +1 -0
  210. package/types/src/engineering/Imaginary.d.ts +155 -0
  211. package/types/src/engineering/Imaginary.d.ts.map +1 -0
  212. package/types/src/information/Information.d.ts +166 -0
  213. package/types/src/information/Information.d.ts.map +1 -0
  214. package/types/src/japanese/Date.d.ts +15 -0
  215. package/types/src/japanese/Date.d.ts.map +1 -0
  216. package/types/src/japanese/Text.d.ts +8 -0
  217. package/types/src/japanese/Text.d.ts.map +1 -0
  218. package/types/src/logical/Logical.d.ts +133 -0
  219. package/types/src/logical/Logical.d.ts.map +1 -0
  220. package/types/src/lookupReference/GroupBy.d.ts +19 -0
  221. package/types/src/lookupReference/GroupBy.d.ts.map +1 -0
  222. package/types/src/lookupReference/PivotBy.d.ts +24 -0
  223. package/types/src/lookupReference/PivotBy.d.ts.map +1 -0
  224. package/types/src/lookupReference/Reference.d.ts +296 -0
  225. package/types/src/lookupReference/Reference.d.ts.map +1 -0
  226. package/types/src/mathTrig/Math.d.ts +430 -0
  227. package/types/src/mathTrig/Math.d.ts.map +1 -0
  228. package/types/src/mathTrig/Trig.d.ts +107 -0
  229. package/types/src/mathTrig/Trig.d.ts.map +1 -0
  230. package/types/src/operators/Operators.d.ts +107 -0
  231. package/types/src/operators/Operators.d.ts.map +1 -0
  232. package/types/src/statistical/Distribution.d.ts +858 -0
  233. package/types/src/statistical/Distribution.d.ts.map +1 -0
  234. package/types/src/statistical/Statistical.d.ts +165 -0
  235. package/types/src/statistical/Statistical.d.ts.map +1 -0
  236. package/types/src/testing/Testing.d.ts +28 -0
  237. package/types/src/testing/Testing.d.ts.map +1 -0
  238. package/types/src/text/Text.d.ts +312 -0
  239. package/types/src/text/Text.d.ts.map +1 -0
  240. package/types/src/thai/Text.d.ts +8 -0
  241. package/types/src/thai/Text.d.ts.map +1 -0
  242. package/types/src/web/FilterXML.d.ts +8 -0
  243. package/types/src/web/FilterXML.d.ts.map +1 -0
  244. package/types/src/web/Web.d.ts +11 -0
  245. package/types/src/web/Web.d.ts.map +1 -0
@@ -0,0 +1,4 @@
1
+ import { MinifiedDeclarations } from '@sheetxl/scripting';
2
+ declare const declarations: MinifiedDeclarations;
3
+ export default declarations;
4
+ //# sourceMappingURL=FilterXML.decl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterXML.decl.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/decl/web/FilterXML.decl.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,QAAA,MAAM,YAAY,EAAE,oBAiBnB,CAAA;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDeclarations } from '@sheetxl/scripting';
2
+ declare const declarations: MinifiedDeclarations;
3
+ export default declarations;
4
+ //# sourceMappingURL=Web.decl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Web.decl.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/decl/web/Web.decl.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,QAAA,MAAM,YAAY,EAAE,oBAuBnB,CAAA;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Database.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Database.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/database/Database.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAyKlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Date.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Date.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/dateTime/Date.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAkOlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Bessel.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bessel.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/engineering/Bessel.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA6ClB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Bitwise.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bitwise.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/engineering/Bitwise.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAmLlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Convert.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Convert.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/engineering/Convert.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAelB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Engineering.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Engineering.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/engineering/Engineering.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAuBlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Error.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Error.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/engineering/Error.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAoClB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Imaginary.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Imaginary.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/engineering/Imaginary.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA4PlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Information.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Information.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/information/Information.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAiMlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Date.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Date.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/japanese/Date.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAsBlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Text.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/japanese/Text.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAUlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Logical.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logical.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/logical/Logical.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA0OlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=GroupBy.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupBy.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/lookupReference/GroupBy.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA+BlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=PivotBy.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PivotBy.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/lookupReference/PivotBy.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAwClB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Reference.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Reference.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/lookupReference/Reference.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA8iBlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Math.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Math.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/mathTrig/Math.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAkoBlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Trig.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Trig.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/mathTrig/Trig.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA4KlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Operators.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Operators.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/operators/Operators.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAqLlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Distribution.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Distribution.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/statistical/Distribution.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA48ClB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Statistical.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Statistical.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/statistical/Statistical.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAuSlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Testing.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Testing.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/testing/Testing.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA8BlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Text.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/text/Text.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBA2iBlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Text.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/thai/Text.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAWlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=FilterXML.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterXML.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/web/FilterXML.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAYlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=Web.desc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Web.desc.d.ts","sourceRoot":"","sources":["../../../../../../src/.generated/desc/web/Web.desc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,WAAW,EAAE,mBAiBlB,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FunctionProvider } from '@sheetxl/scripting';
2
+ /**
3
+ * Binds this module's functions into the map (see {@link FunctionProvider}).
4
+ */
5
+ declare const initialize: FunctionProvider;
6
+ export default initialize;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/.generated/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAmF3D;;GAEG;AACH,QAAA,MAAM,UAAU,EAAE,gBA+BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { IRange, IFormulaContext, IReferenceRange, Scalar } from '@sheetxl/primitives';
2
+ /**
3
+ * Internal helper for the *IFS family of aggregation functions.
4
+ * Folds the positions that satisfy EVERY `[criteriaRange, criteria]` pair.
5
+ *
6
+ * @param context - The formula context.
7
+ * @param pairs - The `[criteriaRange, criteria]` groups to evaluate. Each criteria is a single
8
+ * VALUE: the slot is declared `AcceptError<Scalar>`, so a range in that position is lifted by
9
+ * the engine and this helper is called once per element.
10
+ * @param aggregateFn - Called for each matching cell position with
11
+ * `(accumulator, value)`. `accumulator` is `null` on the first matching call.
12
+ * Return `accumulator` unchanged to skip a value (e.g. non-numeric).
13
+ * @param aggRange - Optional range to read aggregate values from. When omitted
14
+ * `value` is passed as `true` (useful for COUNTIFS-style counting).
15
+ * @param noMatchDefault - Value to return when no cells match (default `0`).
16
+ * Pass `null` when the caller needs to distinguish "zero sum" from "no match"
17
+ * (e.g. AVERAGEIFS, which must return `#DIV/0!` on no match).
18
+ * @param emptyFold - The contribution of the positions that are blank in every range, in closed
19
+ * form, applied only when EVERY criteria matches a blank. Required, and `null` (a blank
20
+ * contributes nothing) is a choice like any other: a forgotten blank term is a silently wrong
21
+ * answer, not a slow one.
22
+ *
23
+ * @remarks
24
+ * ### One sparse pass, no mask
25
+ *
26
+ * This used to build a boolean mask range per criteria pair, `broadcast` them together and then
27
+ * walk the result. Each of those is a full-extent pass, so a whole-column `COUNTIFS` allocated and
28
+ * visited several million cells to answer a question about a few dozen. `alignReduce` races the
29
+ * sides' STORED members instead — a position blank everywhere is never visited, and the mask never
30
+ * exists.
31
+ *
32
+ * Blanks keep their meaning through `emptyFold`: whether a blank matches is a constant per
33
+ * criteria (`evaluator(null)`), so the blank positions contribute one term stated once rather
34
+ * than a million evaluations. Measured, `COUNTIFS(A:A,"<>10")` is 1,048,576 and
35
+ * `COUNTIFS(A:A,"<>10",B:B,">0")` is the handful B has members at — the second pair rejects
36
+ * blanks, so the blank term drops out on its own (probe-criteria-blank.ps1).
37
+ */
38
+ export declare function aggregateIFS(context: IFormulaContext, pairs: readonly [criteriaRange: IReferenceRange | IRange, criteria: Scalar][], aggregateFn: (accumulator: Scalar, value: Scalar) => Scalar, aggRange: IRange | undefined, noMatchDefault: Scalar, emptyFold: ((accumulator: Scalar, count: number) => Scalar) | null): Scalar;
39
+ //# sourceMappingURL=AggregateIFS.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AggregateIFS.d.ts","sourceRoot":"","sources":["../../../../src/_utils/AggregateIFS.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAAgB,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,KAAK,MAAM,EACnF,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,SAAS,CAAC,aAAa,EAAE,eAAe,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,EAC7E,WAAW,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,EAC3D,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,IAAI,GACjE,MAAM,CA6CR"}
@@ -0,0 +1,14 @@
1
+ export declare const IncludeEmpty: Readonly<{
2
+ includeEmpty: true;
3
+ }>;
4
+ export declare const ColumnOriented: Readonly<{
5
+ axis: "column";
6
+ }>;
7
+ export declare const RowOriented: Readonly<{
8
+ axis: "row";
9
+ }>;
10
+ export declare const ColumnOrientedNumbers: Readonly<{
11
+ type: "number";
12
+ axis: "column";
13
+ }>;
14
+ //# sourceMappingURL=Consts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Consts.d.ts","sourceRoot":"","sources":["../../../../src/_utils/Consts.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;EAEvB,CAAC;AAEH,eAAO,MAAM,cAAc;;EAEzB,CAAC;AAEH,eAAO,MAAM,WAAW;;EAEtB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;EAGhC,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { IRange, Scalar } from '@sheetxl/primitives';
2
+ /**
3
+ * Throws the first error member (row-major) — the in-body form of the engine's reject scan,
4
+ * for functions that cannot use the engine's reject default. Call it once per range, in
5
+ * ARGUMENT order, where a function takes several.
6
+ *
7
+ * Three reasons a function ends up here, all measured:
8
+ * * its policy depends on a runtime argument (SUBTOTAL/AGGREGATE options),
9
+ * * or on which rows matched (the database family),
10
+ * * or one of its own verdicts OUTRANKS a member error, so the scan has to run after that check
11
+ * rather than before the body. The count mismatch is the one that does this
12
+ * (`CHISQ.TEST(<3 cells with an error>, <2 cells>)` is `#N/A`, not the error — the same rule
13
+ * the SUMX2MY2 family and `PROB` follow); every other validation loses to the error and needs
14
+ * no in-body scan at all.
15
+ *
16
+ * Those parameters declare `AcceptError` to keep the engine's reject default off; everything
17
+ * with a static reject policy needs no marker at all. Callers hand UNTYPED ranges, so the read
18
+ * is already raw.
19
+ */
20
+ export declare function throwFirstErrorMember(range: IRange): void;
21
+ /**
22
+ * Wraps a value-aggregating reduce callback (SUMIF / AVERAGEIF / MAXIFS / …) so an error in a
23
+ * MATCHED member becomes the whole result, while a non-matched one stays invisible.
24
+ *
25
+ * The selectivity is the point: the conditional aggregates cannot use the engine's reject default,
26
+ * because it would fault on an error the criteria excluded. They follow the same matched-rows-only
27
+ * rule as the database family. The first matched error in scan order wins, not a fixed rank by
28
+ * error kind, which is what latching the accumulator gives.
29
+ *
30
+ * Count flavors do NOT wrap: `COUNTIF(A1:A3,">1")` counts a matched error member.
31
+ */
32
+ export declare function rejectMatchedError(fn: (accumulator: Scalar, value: Scalar) => Scalar): (accumulator: Scalar, value: Scalar) => Scalar;
33
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../../../src/_utils/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAGzD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,EAAE,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,GACjD,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAMhD"}
@@ -0,0 +1,26 @@
1
+ import { IReferenceRange, Scalar } from '@sheetxl/primitives';
2
+ /**
3
+ * Internal helper for the *IF family — `COUNTIF`, `SUMIF`, `AVERAGEIF` and the public `REDUCEIF`.
4
+ * Folds the members of `range` that satisfy `criteria`, reading the folded value from `reduceRange`
5
+ * when one is given.
6
+ *
7
+ * @param range The range whose members are tested.
8
+ * @param criteria The criteria expression.
9
+ * @param reduceRange The range to read folded values from. Omit for the criteria range itself.
10
+ * @param fn Called with `(accumulator, value)` for each matching position.
11
+ * @param emptyFold The contribution of the positions that are blank in BOTH ranges, in closed
12
+ * form — see the blank note below. Required, and `null` (apply `fn`) is a choice like any
13
+ * other: a forgotten blank term is a silently wrong answer, not a slow one.
14
+ */
15
+ export declare function reduceIf(range: IReferenceRange, criteria: Scalar, reduceRange: IReferenceRange | undefined | null, fn: (accumulator: Scalar, value: Scalar) => Scalar, emptyFold: ((accumulator: Scalar, count: number) => Scalar) | null): Scalar;
16
+ /**
17
+ * `emptyFold` for a fold that COUNTS every matching position — `COUNTIF`, and the count half of
18
+ * `AVERAGEIF` when it has no separate average range.
19
+ */
20
+ export declare const countBlanks: (accumulator: Scalar, count: number) => Scalar;
21
+ /**
22
+ * `emptyFold` for a fold a blank cannot move — `SUMIF`, `MAXIFS`, `MINIFS`, and every fold that
23
+ * skips non-numeric members.
24
+ */
25
+ export declare const ignoreBlanks: (accumulator: Scalar, _count: number) => Scalar;
26
+ //# sourceMappingURL=ReduceIf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReduceIf.d.ts","sourceRoot":"","sources":["../../../../src/_utils/ReduceIf.ts"],"names":[],"mappings":"AAAA,OAAO,EAEQ,KAAK,eAAe,EAAE,KAAK,MAAM,EAC/C,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,eAAe,GAAG,SAAS,GAAG,IAAI,EAC/C,EAAE,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,EAClD,SAAS,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,IAAI,GACjE,MAAM,CAwBR;AAuBD;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,aAAa,MAAM,EAAE,OAAO,MAAM,KAAG,MAEhE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,aAAa,MAAM,EAAE,QAAQ,MAAM,KAAG,MAElE,CAAC"}
@@ -0,0 +1,86 @@
1
+ import { AcceptError, AcceptRefError, Scalar, IRange, IReferenceRange } from '@sheetxl/primitives';
2
+ /**
3
+ * @summary Averages the values in a column in a list or database that match conditions you specify.
4
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
5
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
6
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
7
+ */
8
+ export declare function DAVERAGE(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
9
+ /**
10
+ * @summary Counts the cells containing numbers in the field (column) of records in the database that match the conditions you specify.
11
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
12
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
13
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
14
+ */
15
+ export declare function DCOUNT(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
16
+ /**
17
+ * @summary Counts nonblank cells in the field (column) of records in the database that match the conditions you specify.
18
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
19
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
20
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
21
+ */
22
+ export declare function DCOUNTA(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
23
+ /**
24
+ * @summary Extracts from a database a single record that matches the conditions you specify.
25
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
26
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
27
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
28
+ */
29
+ export declare function DGET(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
30
+ /**
31
+ * @summary Returns the largest number in the field (column) of records in the database that match the conditions you specify.
32
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
33
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
34
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
35
+ */
36
+ export declare function DMAX(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
37
+ /**
38
+ * @summary Returns the smallest number in the field (column) of records in the database that match the conditions you specify.
39
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
40
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
41
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
42
+ */
43
+ export declare function DMIN(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
44
+ /**
45
+ * @summary Multiplies the values in the field (column) of records in the database that match the conditions you specify.
46
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
47
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
48
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
49
+ */
50
+ export declare function DPRODUCT(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
51
+ /**
52
+ * @summary Estimates the standard deviation based on a sample from selected database entries.
53
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
54
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
55
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
56
+ */
57
+ export declare function DSTDEV(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
58
+ /**
59
+ * @summary Calculates the standard deviation based on the entire population of selected database entries.
60
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
61
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
62
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
63
+ */
64
+ export declare function DSTDEVP(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
65
+ /**
66
+ * @summary Adds the numbers in the field (column) of records in the database that match the conditions you specify.
67
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
68
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
69
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
70
+ */
71
+ export declare function DSUM(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
72
+ /**
73
+ * @summary Estimates variance based on a sample from selected database entries.
74
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
75
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
76
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
77
+ */
78
+ export declare function DVAR(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
79
+ /**
80
+ * @summary Calculates variance based on the entire population of selected database entries.
81
+ * @param database is the range of cells that makes up the list or database. A database is a list of related data.
82
+ * @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
83
+ * @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
84
+ */
85
+ export declare function DVARP(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
86
+ //# sourceMappingURL=Database.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Database.d.ts","sourceRoot":"","sources":["../../../../src/database/Database.ts"],"names":[],"mappings":"AACA,OAAO,EACyB,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,EAC7F,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAI7B;;;;;GAKG;AACH,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAMR;AAED;;;;;GAKG;AACH,wBAAgB,MAAM,CACpB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAIR;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAIR;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAClB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAOR;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAClB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAIR;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAClB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAIR;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CASR;AAED;;;;;GAKG;AACH,wBAAgB,MAAM,CACpB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAMR;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CACrB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAMR;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAClB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAIR;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAClB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAMR;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CACnB,QAAQ,EAAE,WAAW,CAAC,eAAe,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,GAC/B,MAAM,CAMR"}