@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,166 @@
1
+ import { FormulaError, AcceptError, AcceptRefError, Scalar, IReferenceRange, IRange, Flatten } from '@sheetxl/primitives';
2
+ /**
3
+ * @summary Returns information about the cell.
4
+ * @param {'address' | 'col' | 'contents' | 'row' | 'type'} infoType The type of information to return.
5
+ * @param infoType
6
+ * @param reference
7
+ *
8
+ * @remarks
9
+ * This has similar functionality to Excel online but is missing formatting information from Excel desktop.
10
+ * {@link https://support.office.com/client/results?authtype=unknown&lcid=1033&locale=en-us&ns=EXCEL&syslcid=1033&uilcid=1033&version=90&helpid=xlmain11.chm60173}
11
+ */
12
+ export declare function CELL(infoType: string, reference?: AcceptError<IReferenceRange>): Scalar;
13
+ /**
14
+ * @name ERROR.TYPE
15
+ * @summary Returns a number matching an error value.
16
+ * @param errorVal is the error value for which you want the identifying number, and can be an actual error value or a reference to a cell containing an error value.
17
+ */
18
+ export declare function ERROR_TYPE(errorVal: AcceptError<Scalar>): Scalar;
19
+ /**
20
+ * @summary Returns information about the current operating system.
21
+ * @param {'DIRECTORY' | 'NUMFILE' | 'ORIGIN' | 'OSVERSION' | 'RECALC' | 'RELEASE' | 'SYSTEM' | 'USER'} typeText The type of information to return.
22
+ */
23
+ export declare function INFO(typeText: string): string;
24
+ /**
25
+ * @summary Checks whether a reference is to an empty cell, and returns TRUE or FALSE.
26
+ * @param value is the cell or a name that refers to the cell you want to test.
27
+ */
28
+ export declare function ISBLANK(value: AcceptError<Scalar>): boolean;
29
+ /**
30
+ * @summary Returns TRUE if the value is a date.
31
+ * @param value The value to check.
32
+ * @category Sheets
33
+ *
34
+ * @remarks
35
+ * A TEXT predicate, despite the name — it asks whether text spells a date, not whether a value
36
+ * is one. Measured in Sheets 2026-08-19: every number is FALSE at every serial, `0`, `1`,
37
+ * `2958465` and `-1` alike, and so is `DATEVALUE("1/1/2020")`, whose declared return is a
38
+ * number. Booleans and blanks are FALSE; errors propagate with their identity. Text is TRUE
39
+ * when the parser accepts the WHOLE string — a bare `"July"` and `"2/30/2020"` are FALSE.
40
+ *
41
+ * Where Sheets and Excel disagree on a SPELLING, Excel wins here: `ISDATE("July 20 1969")` is
42
+ * FALSE (Excel wants the comma in month-day-year order), `ISDATE("Feb 30")` is TRUE (Excel
43
+ * reads a number that cannot be a day as a 2-digit year — Feb 1930), and `ISDATE("1969-20-07")`
44
+ * is FALSE (year-first is year-month-day with a four-digit year; Sheets takes year-day-month,
45
+ * Excel does not). All measured, all the opposite of Sheets, and all inherited rather than
46
+ * decided here: this shares the `DATEVALUE` parser, and that parser answers to Excel.
47
+ *
48
+ * **`ISDATE(A1)` on a date cell is FALSE here and TRUE in Sheets — deliberately.** Sheets reads
49
+ * the referenced cell's NUMBER FORMAT, and that is the parity we cannot reach: a date here is a
50
+ * number carrying a date format, formats are not exposed to a formula, and the calculation graph
51
+ * does not treat a format edit as a change that dirties anything — so a format-reading `ISDATE`
52
+ * would answer correctly once and then go stale on the next reformat. Reading the value instead
53
+ * (any serial-range number is a date) was the alternative, and it was rejected: it would have
54
+ * contradicted six measured results to buy back one, and called `ISDATE(42)` a date.
55
+ *
56
+ * Sheets also answers TRUE for `ISDATE(TODAY())` and `ISDATE(TIME(13,0,0))` — there the
57
+ * argument's static type is a date, which is why `DATEVALUE` differs from `TODAY` there despite
58
+ * both evaluating to a number. That provenance does not survive to a function here either.
59
+ */
60
+ export declare function ISDATE(value: Scalar): boolean;
61
+ /**
62
+ * @summary Returns TRUE if the value is a valid email address.
63
+ * @param value The value to check.
64
+ * @category Sheets
65
+ */
66
+ export declare function ISEMAIL(value: string): boolean;
67
+ /**
68
+ * @summary Checks whether a value is an error other than #N/A, and returns TRUE or FALSE.
69
+ * @param value is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.
70
+ */
71
+ export declare function ISERR(value: AcceptError<Scalar>): Scalar;
72
+ /**
73
+ * @summary Checks whether a value is an error, and returns TRUE or FALSE
74
+ * @param value is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value
75
+ */
76
+ export declare function ISERROR(value: AcceptError<Scalar>): Scalar;
77
+ /**
78
+ * @summary Returns TRUE if the number is even.
79
+ * @param number is the value to test.
80
+ *
81
+ * @remarks
82
+ * We take a range to error if a range.
83
+ */
84
+ export declare function ISEVEN(number: IRange<number>): Scalar;
85
+ /**
86
+ * @summary Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE.
87
+ * @param reference is a reference to the cell you want to test. Reference can be a cell reference, a formula, or name that refers to a cell.
88
+ */
89
+ export declare function ISFORMULA(reference: AcceptError<IReferenceRange>): boolean;
90
+ /**
91
+ * @summary Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE.
92
+ * @param value is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.
93
+ */
94
+ export declare function ISLOGICAL(value: AcceptError<Scalar>): boolean;
95
+ /**
96
+ * @summary Checks whether a value is #N/A, and returns TRUE or FALSE.
97
+ * @param value is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.
98
+ */
99
+ export declare function ISNA(value: AcceptError<Scalar>): boolean;
100
+ /**
101
+ * @summary Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.
102
+ * @param value is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value.
103
+ */
104
+ export declare function ISNONTEXT(value: AcceptError<Scalar>): boolean;
105
+ /**
106
+ * @summary Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.
107
+ * @param value is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value.
108
+ */
109
+ export declare function ISNUMBER(value: AcceptError<Scalar>): boolean;
110
+ /**
111
+ * @summary Returns TRUE if the number is odd.
112
+ * @param number is the value to test.
113
+ *
114
+ * @remarks
115
+ * We take a range to error if a range.
116
+ */
117
+ export declare function ISODD(number: IRange<number>): Scalar;
118
+ /**
119
+ * @summary Checks whether the value is omitted, and returns TRUE or FALSE.
120
+ * @param argument is the value you want to test, such as a LAMBDA parameter.
121
+ */
122
+ export declare function ISOMITTED(argument: AcceptError<Scalar>): boolean;
123
+ /**
124
+ * @summary Returns TRUE if the value is a valid HTTP or HTTPS URL.
125
+ * @param value The value to check.
126
+ * @category Sheets
127
+ */
128
+ export declare function ISURL(value: string): boolean;
129
+ /**
130
+ * @summary Checks whether a value is a reference, and returns TRUE or FALSE.
131
+ * @param value is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.
132
+ */
133
+ export declare function ISREF(value: Flatten<AcceptError<IRange>>): boolean;
134
+ /**
135
+ * @summary Converts a value to text in a specific number format.
136
+ * @param value is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value.
137
+ */
138
+ export declare function ISTEXT(value: AcceptError<Scalar>): boolean;
139
+ /**
140
+ * @summary Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero).
141
+ * @param value is the value to convert.
142
+ */
143
+ export declare function N(value: AcceptError<Scalar>): Scalar;
144
+ /**
145
+ * @summary Returns the #N/A error value
146
+ */
147
+ export declare function NA(): FormulaError.Known;
148
+ /**.
149
+ * @summary Returns the sheet number of the referenced sheet.
150
+ * @param value is the name of a sheet or a reference that you want the sheet number of. If omitted the number of the sheet containing the function is returned.
151
+ */
152
+ export declare function SHEET(value?: AcceptRefError<IRange>): Scalar;
153
+ /**
154
+ * @summary Returns the number of sheets in a reference.
155
+ * @param reference is a reference for which you want to know the number of sheets it contains. If omitted the number of sheets in the workbook containing the function is returned.
156
+ *
157
+ * @remarks
158
+ * A non-reference argument — a number, text, an array, a computed value — returns `#N/A`.
159
+ */
160
+ export declare function SHEETS(reference?: AcceptRefError<IRange>): number | FormulaError.Known;
161
+ /**
162
+ * @summary Returns an integer representing the data type of a value: number = 1; text = 2; logical value = 4; error value = 16; array = 64; compound data = 128.
163
+ * @param value is the value to check.
164
+ */
165
+ export declare function TYPE(value: AcceptError<IRange>): number;
166
+ //# sourceMappingURL=Information.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Information.d.ts","sourceRoot":"","sources":["../../../../src/information/Information.ts"],"names":[],"mappings":"AACA,OAAO,EACW,YAAY,EAC5B,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,MAAM,EAAE,KAAK,eAAe,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EACpG,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;GASG;AAEH,wBAAgB,IAAI,CAClB,QAAQ,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,GACvC,MAAM,CA8CR;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAKhE;AAED;;;GAGG;AAEH,wBAAgB,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAyC7C;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAE3D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAU7C;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAK9C;AAED;;;GAGG;AACH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BAAgB,CAAC,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAKpD;AAED;;GAEG;AACH,wBAAgB,EAAE,IAAI,YAAY,CAAC,KAAK,CAEvC;AAED;;;GAGG;AACH,wBAAgB,KAAK,CACnB,KAAK,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAC7B,MAAM,CAgBR;AAED;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,YAAY,CAAC,KAAK,CAOtF;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAWvD"}
@@ -0,0 +1,15 @@
1
+ import { Scalar } from '@sheetxl/primitives';
2
+ /**
3
+ * @hidden Unimplemented Japanese.
4
+ * @summary Converts a standard date code into a localized text string.
5
+ * @param number A numeric value representing a date code.
6
+ */
7
+ export declare function DATESTRING(number: number): Scalar;
8
+ /**
9
+ * @hidden Unimplemented Japanese.
10
+ * @summary Converts a number into Japanese Kanji words.
11
+ * @param number A numeric value representing a date code.
12
+ * @param number2 A numeric value representing a date code.
13
+ */
14
+ export declare function NUMBERSTRING(number: number, number2: number): Scalar;
15
+ //# sourceMappingURL=Date.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Date.d.ts","sourceRoot":"","sources":["../../../../src/japanese/Date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAKjD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAGpE"}
@@ -0,0 +1,8 @@
1
+ import { Scalar, IReferenceRange } from '@sheetxl/primitives';
2
+ /**
3
+ * @hidden Unimplemented Japanese.
4
+ * @summary Returns the phonetic spelling of a text string.
5
+ * @param reference Text string or a reference to a single cell or a range of cells that contain a furigana text string.
6
+ */
7
+ export declare function PHONETIC(reference: IReferenceRange): Scalar | undefined;
8
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/japanese/Text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,MAAM,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtF;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,SAAS,EAAE,eAAe,GAAW,MAAM,GAAG,SAAS,CAG/E"}
@@ -0,0 +1,133 @@
1
+ import { IRange, AcceptError, AcceptRefError, IReferenceRange, Scalar, Lambda, Omittable, Repeating } from '@sheetxl/primitives';
2
+ /**
3
+ * @summary Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE.
4
+ * @param logical are 1 to 255 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references.
5
+ */
6
+ export declare function AND(logical: IRange[]): Scalar;
7
+ /**
8
+ * @summary Applies a LAMBDA function to each column and returns an array of the results.
9
+ * @param array is an array to be separated by column.
10
+ * @param fn is a LAMBDA that takes a column as its single parameter and returns one result for it.
11
+ */
12
+ export declare function BYCOL(array: AcceptRefError<IRange>, fn?: Lambda<[column: IRange], Scalar>): IRange;
13
+ /**
14
+ * @summary Applies a LAMBDA function to each row and returns an array of the results.
15
+ * @param array is an array to be separated by row.
16
+ * @param fn is a LAMBDA that takes a row as its single parameter and returns one result for it.
17
+ */
18
+ export declare function BYROW(array: AcceptRefError<IRange>, fn?: Lambda<[row: IRange], Scalar>): IRange;
19
+ /**
20
+ * @summary Returns the logical value FALSE.
21
+ */
22
+ export declare function FALSE(): boolean;
23
+ /**
24
+ * @summary Flattens all the values from one or more ranges into a single column.
25
+ * @param ranges One or more ranges or scalar values to flatten.
26
+ * @category Sheets
27
+ */
28
+ export declare function FLATTEN(ranges: AcceptError<IRange>[]): IRange;
29
+ /**
30
+ * @summary Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE.
31
+ * @param logicalTest is any value or expression that can be evaluated to TRUE or FALSE.
32
+ * @param valueIfTrue is the value that is returned if logicalTest is TRUE. If omitted, TRUE is returned. You can nest up to seven IF functions.
33
+ * @param valueIfFalse is the value that is returned if logicalTest is FALSE. If omitted, FALSE is returned.
34
+ */
35
+ export declare function IF(logicalTest: boolean, valueIfTrue: AcceptError<any>, valueIfFalse?: AcceptError<any>): any;
36
+ /**
37
+ * @summary Returns valueIfError if expression is an error and the value of the expression itself otherwise.
38
+ * @param value is any value or expression or reference.
39
+ * @param valueIfError is any value or expression or reference.
40
+ */
41
+ export declare function IFERROR(value: AcceptError<Scalar>, valueIfError: AcceptError<any>): Scalar;
42
+ /**
43
+ * @summary Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.
44
+ * @param value is any value or expression or reference.
45
+ * @param valueIfNA is any value or expression or reference.
46
+ */
47
+ export declare function IFNA(value: AcceptError<Scalar>, valueIfNA: AcceptError<any>): Scalar;
48
+ /**
49
+ * @summary Checks whether one or more conditions are met and returns a value corresponding to the first TRUE condition.
50
+ * @param condition the conditions to test and the values to return for them.
51
+ * @param condition.logicalTest is any value or expression that can be evaluated to TRUE or FALSE.
52
+ * @param condition.logicalTrue is the value returned if logicalTest is TRUE.
53
+ */
54
+ export declare function IFS(condition: Repeating<[logicalTest: boolean, logicalTrue: AcceptError<any>]>): any;
55
+ /**
56
+ * @summary Creates a function value which can be called within formulas.
57
+ * @param parameterOrCalculation a parameter or a calculation that returns a value. If a parameter, it must be the last argument.
58
+ */
59
+ export declare function LAMBDA(parameterOrCalculation: AcceptError<IRange>[]): Lambda;
60
+ /**
61
+ * @summary Assigns calculation results to names. Useful for storing intermediate calculations and values by defining names inside a formula. These names only apply within the scope of the LET function.
62
+ * @param name the name, or a calculation which can make use of all names within the LET. Names must start with a letter, cannot be the output of a formula, or conflict with range syntax.
63
+ * @param nameOrValue the value associated with the name.
64
+ */
65
+ export declare function LET(name: AcceptError<any>, nameOrValue: AcceptError<IRange>, calculationOrName: AcceptError<IRange>, ...rest: AcceptError<IRange>[]): any;
66
+ /**
67
+ * @summary Returns a calculated array of a specified row and column size, by applying a LAMBDA function.
68
+ * @param rows is the number of rows in the array. Must be greater than zero.
69
+ * @param columns is the number of columns in the array. Must be greater than zero.
70
+ * @param fn is a LAMBDA that is called to create the array. The LAMBDA takes two parameters, row index and column index.
71
+ */
72
+ export declare function MAKEARRAY(rows: Omittable<number, 1>, columns: Omittable<number, 1>, fn: Lambda<[rowIndex: number, colIndex: number], Scalar>): IRange;
73
+ /**
74
+ * @summary Returns an array formed by 'mapping' each value in the array(s) to a new value by applying a lambda to create a new value.
75
+ * @param array is an array to be mapped.
76
+ * @param lambdaOrArray is a LAMBDA which must be the last argument and must have a parameter for each array passed, or another array to be mapped.
77
+ */
78
+ export declare function MAP(array: AcceptRefError<IRange>, lambdaOrArray: (any | Lambda<any[], Scalar>)[]): IRange;
79
+ /**
80
+ * @summary Changes FALSE to TRUE, or TRUE to FALSE.
81
+ * @param logical is a value or expression that can be evaluated to TRUE or FALSE.
82
+ */
83
+ export declare function NOT(logical: boolean): boolean;
84
+ /**
85
+ * @summary Checks whether any of the arguments are TRUE, and returns TRUE or FALSE. Returns FALSE only if all arguments are FALSE.
86
+ * @param logical are 1 to 255 conditions that you want to test that can be either TRUE or FALSE.
87
+ */
88
+ export declare function OR(logical: IRange[]): Scalar;
89
+ /**
90
+ * @summary Reduces an array to an accumulated value by applying a LAMBDA function to each value and returning the total value in the accumulator.
91
+ * @param initialValue is the starting value for the accumulator.
92
+ * @param array is an array to be reduced.
93
+ * @param fn is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value.
94
+ */
95
+ export declare function REDUCE(initialValue: Omittable<AcceptError<any>>, array: AcceptRefError<IRange>, fn: Lambda<[accumulator: any, value: Scalar], any>): any;
96
+ /**
97
+ * @summary Reduces the cells specified by a given condition or criteria.
98
+ * @param range is the range of cells you want evaluated.
99
+ * @param criteria is the condition or criteria in the form of a number, expression, or text that defines which cells will be reduced.
100
+ * @param reduceRange are the actual cells to reduce. If omitted, the cells in range are used. This can be blank.
101
+ * @param fn is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value.
102
+ * @category SheetXL
103
+ *
104
+ * @remarks
105
+ * This is a lambda equivalent to SUMIF, COUNTIF, and AVERAGEIF.
106
+ */
107
+ export declare function REDUCEIF(range: AcceptError<IReferenceRange>, criteria: AcceptError<Scalar>, reduceRange: Omittable<AcceptError<IReferenceRange>>, fn: Lambda<[accumulator: Scalar, value: Scalar], Scalar>): Scalar;
108
+ /**
109
+ * @summary Scans an array by applying a LAMBDA function to each value and returns an array that has each intermediate value.
110
+ * @param initialValue is the starting value for the accumulator.
111
+ * @param array is an array to be reduced.
112
+ * @param fn is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value.
113
+ */
114
+ export declare function SCAN(initialValue: Omittable<Scalar>, array: AcceptRefError<IRange>, fn: Lambda<[accumulator: Scalar, value: Scalar], Scalar>): IRange;
115
+ /**
116
+ * @summary Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value is returned.
117
+ * @param match the values to compare against expression and the results to return for them.
118
+ * @param match.value is a value to compare against expression.
119
+ * @param match.result is a result to be returned if the corresponding value matches expression.
120
+ * @param expression is an expression to be evaluated.
121
+ * @param defaultResult is the result to be returned when no value matches expression.
122
+ */
123
+ export declare function SWITCH(expression: Scalar, match: Repeating<[value: Scalar, result: AcceptError<any>]>, defaultResult?: Omittable<AcceptError<any>, 0>): any;
124
+ /**
125
+ * @summary Returns the logical value TRUE.
126
+ */
127
+ export declare function TRUE(): boolean;
128
+ /**
129
+ * @summary Returns a logical 'Exclusive Or' of all arguments.
130
+ * @param logical are 1 to 254 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references.
131
+ */
132
+ export declare function XOR(logical: IRange[]): Scalar;
133
+ //# sourceMappingURL=Logical.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logical.d.ts","sourceRoot":"","sources":["../../../../src/logical/Logical.ts"],"names":[],"mappings":"AACA,OAAO,EACyB,MAAM,EACpC,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EACtH,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,wBAAgB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAc7C;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CACnB,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,GACpC,MAAM,CASR;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CACnB,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7B,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,GACjC,MAAM,CASR;AAED;;GAEG;AACH,wBAAgB,KAAK,IAAI,OAAO,CAE/B;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,CAiB7D;AAED;;;;;GAKG;AACH,wBAAgB,EAAE,CAChB,WAAW,EAAE,OAAO,EACpB,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,EAC7B,YAAY,GAAE,WAAW,CAAC,GAAG,CAAS,GACrC,GAAG,CAEL;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CACrB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAC1B,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,GAC7B,MAAM,CAER;A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"}
@@ -0,0 +1,19 @@
1
+ import { IRange, AcceptRefError, Flatten, Omittable, Scalar } from '@sheetxl/primitives';
2
+ /**
3
+ * @hidden Unimplemented TODO
4
+ * @summary Aggregate values by row fields.
5
+ * @param rowFields The range or array containing the row fields.
6
+ * @param values The range or array containing the values to aggregate.
7
+ * @param fn The function used to do the aggregations.
8
+ * @param fieldHeaders A number between 0 and 3 that specifies whether the field data has headers and whether field headers should be returned in the results.
9
+ * @param totalDepth Show totals for the row fields. 0 for none, 1 for grand totals, 2 for grand total and first level subtotals, etc.
10
+ * @param sortOrder The column index to sort the row fields on. A negative index will sort in reverse order.
11
+ * @param filterArray param-534 paramName-535.
12
+ * @param fieldRelationship The relationship of fields when multiple columns are supplied to the rowFields argument.
13
+ */
14
+ export declare function GROUPBY(rowFields: AcceptRefError<IRange>, values: IRange, fn: Flatten<any>, // This can be either a Lamda function or a builtIn.
15
+ fieldHeaders?: Omittable<number>, // 0-no, 1-yes, 2-no but generate, 3-yes and show
16
+ totalDepth?: number, // 0-no totals, 1-grand totals, 2-grand and subtotals, -1-grand totals at top, -2 grand and sub totals at top
17
+ sortOrder?: Omittable<Flatten<any>>, // <0, >0
18
+ filterArray?: Omittable<Flatten<boolean>>, fieldRelationship?: number): Scalar[][];
19
+ //# sourceMappingURL=GroupBy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupBy.d.ts","sourceRoot":"","sources":["../../../../src/lookupReference/GroupBy.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,MAAM,EAAwB,KAAK,cAAc,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEtJ;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CACrB,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,oDAAoD;AACtE,YAAY,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,iDAAiD;AACnF,UAAU,GAAE,MAAQ,EAAE,6GAA6G;AACnI,SAAS,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS;AAC9C,WAAW,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EACzC,iBAAiB,GAAE,MAAQ,GACxB,MAAM,EAAE,EAAE,CAGd"}
@@ -0,0 +1,24 @@
1
+ import { IRange, AcceptRefError, Flatten, Omittable, Scalar } from '@sheetxl/primitives';
2
+ /**
3
+ * @hidden Unimplemented TODO
4
+ * @summary Aggregate values by rows and columns.
5
+ * @param rowFields The range or array containing the row fields.
6
+ * @param colFields The range or array containing the column fields.
7
+ * @param values The range or array containing the value fields.
8
+ * @param fn The function used to do the aggregations.
9
+ * @param fieldHeaders A number between 0 and 3 that specifies whether the field data has headers and whether field headers should be return in the results.
10
+ * @param rowTotalDepth Show totals for the row fields. 0 for none, 1 for grand totals, 2 for grand totals and first level subtotals, etc.
11
+ * @param rowSortOrder The column index to sort the row fields on. A negative index will sort in reverse order.
12
+ * @param colTotalDepth Show totals for the column fields. 0 for none, 1 for grand totals, 2 for grand totals and first level subtotals, etc.
13
+ * @param colSortOrder The column index to sort the column fields on. A negative index will sort in reverse order.
14
+ * @param filterArray An array of boolean where TRUE represents a row to retain.
15
+ * @param relativeTo Defines what PERCENTOF is calculated relative to.
16
+ */
17
+ export declare function PIVOTBY(rowFields: AcceptRefError<IRange>, colFields: AcceptRefError<IRange>, values: Flatten<IRange>, fn: Flatten<IRange>, // Wow, this is a lambda function? No. I don't think so...
18
+ fieldHeaders?: Omittable<number>, // 0-no, 1-yes, 2-no but generate, 3-yes and show
19
+ rowTotalDepth?: number, // 0-no totals, 1-grand totals, 2-grand and subtotals, -1-grand totals at top, -2 grand and sub totals at top
20
+ rowSortOrder?: Omittable<Flatten<any>>, // <0, >0
21
+ colTotalDepth?: number, // 0-no totals, 1-grand totals, 2-grand and subtotals, -1-grand totals at top, -2 grand and sub totals at top
22
+ colSortOrder?: Omittable<Flatten<any>>, // <0, >0
23
+ filterArray?: Omittable<Flatten<boolean>>, relativeTo?: number): Scalar[][];
24
+ //# sourceMappingURL=PivotBy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PivotBy.d.ts","sourceRoot":"","sources":["../../../../src/lookupReference/PivotBy.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,MAAM,EAAwB,KAAK,cAAc,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEtJ;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CACrB,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,EACvB,EAAE,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,0DAA0D;AAC/E,YAAY,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,iDAAiD;AACnF,aAAa,GAAE,MAAQ,EAAE,6GAA6G;AACtI,YAAY,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS;AACjD,aAAa,GAAE,MAAQ,EAAE,6GAA6G;AACtI,YAAY,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS;AACjD,WAAW,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EACzC,UAAU,GAAE,MAAQ,GACnB,MAAM,EAAE,EAAE,CAIZ"}