@sheetxl/formulas 0.7.28-beta.4 → 0.8.0-beta.10

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 (128) hide show
  1. package/README.md +15 -22
  2. package/browser/esm/{DQXZXiayIDbfnOUM.mjs → -sN4SmS9cUOrcjVR.mjs} +1 -1
  3. package/browser/esm/{K0CU2XaCnJJwh9a5.mjs → 0Q46gxHg8afOLJ7K.mjs} +37 -3
  4. package/{node/esm/B2zbBC2YuaYszbHd.mjs → browser/esm/B-Ig6HWcV53g7Zy0.mjs} +1 -1
  5. package/browser/esm/{ec8i9mVgadWEbuYy.mjs → B3LvTqivuAJYZW9O.mjs} +1 -1
  6. package/browser/esm/{CB4iUafw8x-4z_ff.mjs → B52kG70ukWJKrVHl.mjs} +2 -5
  7. package/browser/esm/{BXyQ76W9hObzOdf2.mjs → B9GCCzx3ZtHrtgsZ.mjs} +1 -1
  8. package/{node/esm/CmxGNGhfoNTz4Ku7.mjs → browser/esm/BCRhRyTDe0QO3_TF.mjs} +2 -2
  9. package/browser/esm/{DNz39xRoqy8IPYb3.mjs → BTygNwyrCzzpikEl.mjs} +1 -1
  10. package/{node/esm/BIxWkCV-r5U5zPnQ.mjs → browser/esm/C1TlAj8cFI90ziZT.mjs} +51 -11
  11. package/browser/esm/{Ctxig2_c-GErg911.mjs → C2WtsJFzD2GtwSHc.mjs} +69 -4
  12. package/{node/esm/BM0KaGfI1Lqav17f.mjs → browser/esm/C2nw0NszguSU0idO.mjs} +1 -1
  13. package/browser/esm/{AuzqFslmIMxseCn8.mjs → CXDwT-uLbi_ZUF6Q.mjs} +1 -1
  14. package/browser/esm/{jFM2MqBdxFWP6QmN.mjs → CXvEGkvOOLo4v17T.mjs} +1 -1
  15. package/browser/esm/{B2b-ZmAhe94pNDT0.mjs → CYtUFqOZCtbGw6Sa.mjs} +1 -1
  16. package/browser/esm/{DIUPlZfIoj507k-C.mjs → CpGJ_hA0h7CW4Jwu.mjs} +1 -1
  17. package/{node/esm/CWI62PClHru85-mL.mjs → browser/esm/CrfZkfvKRkK2qzpP.mjs} +1 -1
  18. package/browser/esm/{BHG0YIMg5kOV3mNl.mjs → D-w_d2PrWN8kwM-Z.mjs} +1 -1
  19. package/browser/esm/{VRXC1SwOYSkv1Vs4.mjs → DG5YNbA9Ya6Uu3DG.mjs} +1 -1
  20. package/{node/esm/ymPI-MJUjuYe2n5v.mjs → browser/esm/DO9cbfqY2roOBQQi.mjs} +1 -1
  21. package/{node/esm/Co7O0P5yM1i0exNK.mjs → browser/esm/DYoyWWN86dEdpzVg.mjs} +1 -1
  22. package/browser/esm/{wDeMNrClyQscDTwZ.mjs → D_PYZQxUASNNORTU.mjs} +48 -2
  23. package/{node/esm/DjFalvyAcEOwNagC.mjs → browser/esm/KekfJtUQq6sPOmPq.mjs} +1 -1
  24. package/browser/esm/{DiV1y5wtlmlsRDfm.mjs → PDRj7r-fmSBrQgPS.mjs} +1 -1
  25. package/browser/esm/index.mjs +5186 -5889
  26. package/licenses/dependencies.txt +0 -33
  27. package/node/esm/{DQXZXiayIDbfnOUM.mjs → -sN4SmS9cUOrcjVR.mjs} +1 -1
  28. package/node/esm/{K0CU2XaCnJJwh9a5.mjs → 0Q46gxHg8afOLJ7K.mjs} +37 -3
  29. package/{browser/esm/B2zbBC2YuaYszbHd.mjs → node/esm/B-Ig6HWcV53g7Zy0.mjs} +1 -1
  30. package/node/esm/{CB4iUafw8x-4z_ff.mjs → B52kG70ukWJKrVHl.mjs} +2 -5
  31. package/node/esm/{BXyQ76W9hObzOdf2.mjs → B9GCCzx3ZtHrtgsZ.mjs} +1 -1
  32. package/{browser/esm/CmxGNGhfoNTz4Ku7.mjs → node/esm/BCRhRyTDe0QO3_TF.mjs} +2 -2
  33. package/node/esm/{Dnrd8jP_j1AWCUX6.mjs → BN0QCtL-dZU8U-hd.mjs} +1 -1
  34. package/node/esm/{8_dh9QnzvNBCvWpp.mjs → Bp4XujtHH5z4dKlz.mjs} +1 -1
  35. package/{browser/esm/BIxWkCV-r5U5zPnQ.mjs → node/esm/C--VBbIp253pJfw9.mjs} +51 -11
  36. package/node/esm/{BsBiI5HHw7jjXgp5.mjs → C-jlV3objhN9hpyt.mjs} +1 -1
  37. package/node/esm/{D1iK18Nn8mRQo6Fk.mjs → C1Qq-yVzO0uZUnVb.mjs} +1 -1
  38. package/node/esm/{Ctxig2_c-GErg911.mjs → C2WtsJFzD2GtwSHc.mjs} +69 -4
  39. package/{browser/esm/BM0KaGfI1Lqav17f.mjs → node/esm/C2nw0NszguSU0idO.mjs} +1 -1
  40. package/node/esm/{B2b-ZmAhe94pNDT0.mjs → CYtUFqOZCtbGw6Sa.mjs} +1 -1
  41. package/node/esm/{DcSbVdpEmRbpaZf0.mjs → Cf28UVIhJr5Y-_24.mjs} +1 -1
  42. package/node/esm/{wDeMNrClyQscDTwZ.mjs → CkO4Hx9aLq7m3emI.mjs} +48 -2
  43. package/{browser/esm/CWI62PClHru85-mL.mjs → node/esm/CrfZkfvKRkK2qzpP.mjs} +1 -1
  44. package/node/esm/{BHG0YIMg5kOV3mNl.mjs → D-w_d2PrWN8kwM-Z.mjs} +1 -1
  45. package/node/esm/{VRXC1SwOYSkv1Vs4.mjs → DG5YNbA9Ya6Uu3DG.mjs} +1 -1
  46. package/{browser/esm/ymPI-MJUjuYe2n5v.mjs → node/esm/DO9cbfqY2roOBQQi.mjs} +1 -1
  47. package/{browser/esm/Co7O0P5yM1i0exNK.mjs → node/esm/DYoyWWN86dEdpzVg.mjs} +1 -1
  48. package/{browser/esm/DjFalvyAcEOwNagC.mjs → node/esm/KekfJtUQq6sPOmPq.mjs} +1 -1
  49. package/node/esm/{DiV1y5wtlmlsRDfm.mjs → PDRj7r-fmSBrQgPS.mjs} +1 -1
  50. package/node/esm/index.mjs +5778 -4648
  51. package/package.json +6 -8
  52. package/types/src/.generated/decl/dateTime/Date.decl.d.ts +2 -1
  53. package/types/src/.generated/decl/information/Information.decl.d.ts +2 -1
  54. package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts +2 -1
  55. package/types/src/.generated/decl/mathTrig/Math.decl.d.ts +2 -1
  56. package/types/src/.generated/desc/dateTime/Date.desc.d.ts +2 -1
  57. package/types/src/.generated/desc/information/Information.desc.d.ts +2 -1
  58. package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts +2 -1
  59. package/types/src/.generated/desc/mathTrig/Math.desc.d.ts +2 -1
  60. package/types/src/_utils/AValues.d.ts +30 -0
  61. package/types/src/_utils/AggregateIFS.d.ts +5 -3
  62. package/types/src/_utils/Arithmetic.d.ts +36 -0
  63. package/types/src/_utils/Combinatorics.d.ts +20 -0
  64. package/types/src/_utils/Distributions.d.ts +94 -0
  65. package/types/src/_utils/Errors.d.ts +1 -20
  66. package/types/src/_utils/FirstCell.d.ts +32 -0
  67. package/types/src/_utils/Matrix.d.ts +31 -0
  68. package/types/src/_utils/SpecialFunctions.d.ts +91 -0
  69. package/types/src/_utils/X87.d.ts +28 -0
  70. package/types/src/database/Database.d.ts +25 -25
  71. package/types/src/dateTime/Date.d.ts +250 -41
  72. package/types/src/engineering/Bessel.d.ts +9 -9
  73. package/types/src/engineering/Bitwise.d.ts +35 -35
  74. package/types/src/engineering/Convert.d.ts +3 -3
  75. package/types/src/engineering/Engineering.d.ts +5 -5
  76. package/types/src/engineering/Error.d.ts +9 -9
  77. package/types/src/engineering/Imaginary.d.ts +54 -54
  78. package/types/src/information/Information.d.ts +124 -55
  79. package/types/src/japanese/Date.d.ts +2 -2
  80. package/types/src/japanese/Text.d.ts +1 -1
  81. package/types/src/logical/Logical.d.ts +45 -39
  82. package/types/src/lookupReference/Reference.d.ts +212 -86
  83. package/types/src/mathTrig/Math.d.ts +499 -149
  84. package/types/src/mathTrig/Trig.d.ts +26 -22
  85. package/types/src/operators/Operators.d.ts +15 -15
  86. package/types/src/statistical/Distribution.d.ts +157 -161
  87. package/types/src/statistical/Statistical.d.ts +37 -37
  88. package/types/src/testing/Testing.d.ts +2 -2
  89. package/types/src/text/Text.d.ts +119 -54
  90. package/types/src/thai/Text.d.ts +1 -1
  91. package/types/src/web/FilterXML.d.ts +1 -1
  92. package/types/src/web/Web.d.ts +2 -2
  93. package/browser/cjs/1XrWGMP3GmsQOMIX.cjs +0 -1
  94. package/browser/cjs/49_x589Na12sizKK.cjs +0 -1
  95. package/browser/cjs/4nReftSsKWmnRdtf.cjs +0 -1
  96. package/browser/cjs/507hQYooKKjnRzsZ.cjs +0 -1
  97. package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +0 -1
  98. package/browser/cjs/BK0SCfN_VZYqBxoQ.cjs +0 -1
  99. package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +0 -1
  100. package/browser/cjs/C9C-pr-T_ThweQX9.cjs +0 -1
  101. package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +0 -1
  102. package/browser/cjs/CRx1WvmgBjT8WVyB.cjs +0 -1
  103. package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +0 -1
  104. package/browser/cjs/CXlzsh_WHCOsErJ1.cjs +0 -1
  105. package/browser/cjs/CpJJh4UnFl1_qFui.cjs +0 -1
  106. package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +0 -1
  107. package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +0 -1
  108. package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
  109. package/browser/cjs/DDnGLOLTqLFsdUDS.cjs +0 -1
  110. package/browser/cjs/DG2kqsWRUtVugjay.cjs +0 -1
  111. package/browser/cjs/DM7-R_ltoLbA9jde.cjs +0 -1
  112. package/browser/cjs/DNKyaSruDogoBd2H.cjs +0 -1
  113. package/browser/cjs/Du4jBiFxRIF1OjD4.cjs +0 -1
  114. package/browser/cjs/EeOVMRq7TuptFKTc.cjs +0 -1
  115. package/browser/cjs/Kvn916ebqGc4t6hv.cjs +0 -1
  116. package/browser/cjs/aONv0Ys3C8xmnaR8.cjs +0 -1
  117. package/browser/cjs/index.cjs +0 -1
  118. package/browser/cjs/z_rZE1OHFPpdGBh4.cjs +0 -1
  119. package/browser/esm/74anAHR6YDREjbgI.mjs +0 -24
  120. package/browser/esm/BebVPCumXxQqABDP.mjs +0 -21
  121. package/node/esm/74anAHR6YDREjbgI.mjs +0 -24
  122. package/node/esm/BebVPCumXxQqABDP.mjs +0 -21
  123. package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts +0 -4
  124. package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts +0 -4
  125. package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts +0 -4
  126. package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts +0 -4
  127. package/types/src/lookupReference/GroupBy.d.ts +0 -19
  128. package/types/src/lookupReference/PivotBy.d.ts +0 -24
package/README.md CHANGED
@@ -32,7 +32,7 @@ volatility tracking, and full UI integration:
32
32
 
33
33
  ```ts
34
34
  /**
35
- * @summary Returns an array of random numbers.
35
+ * Returns an array of random numbers.
36
36
  * @param rows the number of rows in the returned array.
37
37
  * @param columns the number of columns in the returned array.
38
38
  * @param min the minimum number you would like returned.
@@ -40,29 +40,22 @@ volatility tracking, and full UI integration:
40
40
  * @param integer return an integer or a decimal value. TRUE for an integer, FALSE for a decimal number.
41
41
  */
42
42
  export function RANDARRAY(
43
- rows: number=1,
44
- columns: number=1,
45
- min: number=0,
46
- max: number=1,
47
- integer: boolean=false
48
- ): IRange {
49
- if (rows === 0 || columns === 0) throw FormulaError.BuiltIn.Calc;
50
- if (rows < 0 || columns < 0) throw FormulaError.BuiltIn.Value;
51
- if (min > max) throw FormulaError.BuiltIn.NA;
52
- const entireCoords = FormulaContext.getEntireCoords();
53
- if (rows + 1 > entireCoords.rowEnd || columns + 1 > entireCoords.colEnd) throw FormulaError.BuiltIn.Value;
54
-
55
- FormulaContext.markVolatile();
43
+ rows: Omittable<number>=1,
44
+ columns: Omittable<number>=1,
45
+ min: Omittable<number>=0,
46
+ max: Omittable<number>=1,
47
+ integer: Omittable<boolean>=false
48
+ ): Volatile<IRange> {
49
+ if (min > max) return FormulaError.BuiltIn.Value!;
50
+ const whole = integer === true;
51
+ if (whole && (min !== Math.trunc(min) || max !== Math.trunc(max))) return FormulaError.BuiltIn.Value!;
56
52
 
57
53
  return FormulaContext.createRange(rows, columns, (): number => {
58
- let randomValue = min + Math.random() * (max - min);
59
- // if integer is requested, round the value
60
- if (integer) {
61
- randomValue = Math.floor(randomValue);
62
- // ensure we can actually reach max value (Math.random() is [0,1))
63
- if (randomValue > max) randomValue = max;
64
- }
65
- return randomValue;
54
+ // the draw is the runtime's, so a host can seed it; never `Math.random`
55
+ if (!whole) return min + FormulaContext.getRandom() * (max - min);
56
+ // both ends are inclusive here, and the draw never reaches 1
57
+ const value = min + Math.floor(FormulaContext.getRandom() * (max - min + 1));
58
+ return value > max ? max : value;
66
59
  });
67
60
  };
68
61
  ```
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -9,7 +9,7 @@ var e = {
9
9
  s: "Returns information about the cell.",
10
10
  p: {
11
11
  infoType: { d: "The type of information to return." },
12
- reference: {}
12
+ reference: { d: "The cell to report on. Defaults to the cell holding the formula." }
13
13
  }
14
14
  },
15
15
  "ERROR.TYPE": {
@@ -107,5 +107,39 @@ var e = {
107
107
  s: "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.",
108
108
  p: { value: { d: "is the value to check." } }
109
109
  }
110
+ }, t = {
111
+ CellInfoType: {
112
+ s: "The information to return about the cell.",
113
+ m: {
114
+ Address: { d: "Reference of the first cell in the reference, as text." },
115
+ Col: { d: "Column number of the cell in the reference." },
116
+ Color: { d: "1 if the cell is formatted in color for negative values; otherwise 0." },
117
+ Contents: { d: "Value of the upper-left cell in the reference; not a formula." },
118
+ Filename: { d: "Full path of the file that contains the reference, as text." },
119
+ Format: { d: "Text value corresponding to the number format of the cell." },
120
+ Parentheses: { d: "1 if the cell is formatted with parentheses for positive or all values; otherwise 0." },
121
+ Prefix: { d: "Text value corresponding to the label prefix of the cell." },
122
+ Protect: { d: "0 if the cell is not locked; otherwise 1." },
123
+ Row: { d: "Row number of the cell in the reference." },
124
+ Type: { d: "\"b\" for a blank cell, \"l\" for a text constant, \"v\" for anything else." },
125
+ Width: { d: "Column width of the cell, rounded to an integer." }
126
+ }
127
+ },
128
+ InfoType: {
129
+ s: "The information to return about the operating environment.",
130
+ m: {
131
+ Directory: { d: "Path of the current directory or folder." },
132
+ "Mem Avail": { d: "Amount of memory available. Legacy: answers #N/A." },
133
+ "Mem Used": { d: "Amount of memory being used for data. Legacy: answers #N/A." },
134
+ "Num File": { d: "Number of active worksheets in the open workbooks." },
135
+ Origin: { d: "Absolute reference of the top and leftmost visible cell." },
136
+ "OS Version": { d: "Current operating system version, as text." },
137
+ Recalc: { d: "Current recalculation mode; \"Automatic\" or \"Manual\"." },
138
+ Release: { d: "Version of the application, as text." },
139
+ System: { d: "Name of the operating environment; \"pcdos\" or \"mac\"." },
140
+ "Tot Mem": { d: "Total memory available. Legacy: answers #N/A." },
141
+ User: { d: "The licensed user. Not part of Excel." }
142
+ }
143
+ }
110
144
  };
111
- export { e as default };
145
+ export { e as default, t as enums };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -812,10 +812,7 @@ var e = {
812
812
  c: "Compatibility",
813
813
  p: { number: { d: "are 1 to 255 numeric arguments corresponding to a sample of a population." } }
814
814
  },
815
- VARA: {
816
- s: "Estimates variance based on a sample, including logical values and text. Text and the logical value FALSE have the value 0; the logical value TRUE have the value 1.",
817
- p: { value: { d: "are 1 to 255 value arguments corresponding to a sample of a population." } }
818
- },
815
+ VARA: { p: { value: {} } },
819
816
  VARPA: {
820
817
  s: "Calculates variance based on the entire population, including logical values and text. Text and the logical value FALSE have the value 0; the logical value TRUE have the value 1.",
821
818
  p: { value: { d: "are 1 to 255 value arguments corresponding to a population." } }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -27,7 +27,7 @@ var e = {
27
27
  },
28
28
  ASINH: {
29
29
  s: "Returns the inverse hyperbolic sine of a number.",
30
- p: { number: { d: "is any real number equal to or greater than 1." } }
30
+ p: { number: { d: "is any real number." } }
31
31
  },
32
32
  ATAN: {
33
33
  s: "Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2.",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -70,15 +70,12 @@ var e = {
70
70
  columns: { d: "The number of columns to drop. A negative value drops from the end of the array." }
71
71
  }
72
72
  },
73
- EXPAND: {
74
- s: "Expands an array to the specified dimensions.",
75
- p: {
76
- array: { d: "The array to expand." },
77
- row: { d: "The number of rows in the expanded array. If missing, rows will not be expanded." },
78
- columns: { d: "The number of columns in the expanded array. If missing, columns will not be expanded." },
79
- padWidth: { d: "The value with which to pad. The default is #N/A." }
80
- }
81
- },
73
+ EXPAND: { p: {
74
+ array: {},
75
+ row: {},
76
+ columns: {},
77
+ padWith: {}
78
+ } },
82
79
  FIELDVALUE: {
83
80
  s: "Extracts a value from a field of a given record.",
84
81
  p: {
@@ -312,5 +309,48 @@ var e = {
312
309
  searchMode: { d: "1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc" }
313
310
  }
314
311
  }
312
+ }, t = {
313
+ MatchType: {
314
+ s: "How MATCH compares the lookup value with the values in the array.",
315
+ m: {
316
+ "Less than": { d: "The largest value that is less than or equal to the lookup value. The array must be sorted in ascending order." },
317
+ "Exact match": { d: "The first value that is exactly equal to the lookup value. The array can be in any order." },
318
+ "Greater than": { d: "The smallest value that is greater than or equal to the lookup value. The array must be sorted in descending order." }
319
+ }
320
+ },
321
+ SortOrder: {
322
+ s: "The direction SORT and SORTBY sort a key in.",
323
+ m: {
324
+ Ascending: { d: "Smallest to largest." },
325
+ Descending: { d: "Largest to smallest." }
326
+ }
327
+ },
328
+ IgnoreValues: {
329
+ s: "Which values to leave out.",
330
+ m: {
331
+ "Keep all values": { d: "Keep every value, blanks and errors included." },
332
+ "Ignore blanks": { d: "Leave out blank cells." },
333
+ "Ignore errors": { d: "Leave out error values." },
334
+ "Ignore blanks and errors": { d: "Leave out blank cells and error values." }
335
+ }
336
+ },
337
+ MatchMode: {
338
+ s: "How XLOOKUP and XMATCH match the lookup value.",
339
+ m: {
340
+ "Exact match": { d: "Only an item equal to the lookup value." },
341
+ "Exact match or next smaller item": { d: "An item equal to the lookup value, or else the next smaller item." },
342
+ "Exact match or next larger item": { d: "An item equal to the lookup value, or else the next larger item." },
343
+ "Wildcard character match": { d: "The lookup value may use *, ? and ~ as wildcards." }
344
+ }
345
+ },
346
+ SearchMode: {
347
+ s: "The order in which XLOOKUP and XMATCH search.",
348
+ m: {
349
+ "Search first-to-last": { d: "Search from the first item to the last." },
350
+ "Search last-to-first": { d: "Search from the last item to the first." },
351
+ "Binary search (sorted ascending order)": { d: "A binary search of items sorted in ascending order." },
352
+ "Binary search (sorted descending order)": { d: "A binary search of items sorted in descending order." }
353
+ }
354
+ }
315
355
  };
316
- export { e as default };
356
+ export { e as default, t as enums };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -42,8 +42,8 @@ var e = {
42
42
  s: "Rounds a number up, to the nearest integer or to the nearest multiple of significance.",
43
43
  p: {
44
44
  number: { d: "is the real number you want to round." },
45
- significance: { d: "when given and nonzero this function will round away from zero." },
46
- mode: {}
45
+ significance: { d: "is the multiple to which you want to round." },
46
+ mode: { d: "when given and nonzero this function will round away from zero." }
47
47
  }
48
48
  },
49
49
  "CEILING.PRECISE": {
@@ -378,5 +378,70 @@ var e = {
378
378
  numDigits: { d: "is a number specifying the precision of the truncation." }
379
379
  }
380
380
  }
381
+ }, t = {
382
+ AggregateFunction: {
383
+ s: "The calculation AGGREGATE performs.",
384
+ m: {
385
+ AVERAGE: { d: "The average of the values." },
386
+ COUNT: { d: "How many values are numbers." },
387
+ COUNTA: { d: "How many values are not empty." },
388
+ MAX: { d: "The largest value." },
389
+ MIN: { d: "The smallest value." },
390
+ PRODUCT: { d: "The product of the values." },
391
+ "STDEV.S": { d: "The standard deviation of a sample." },
392
+ "STDEV.P": { d: "The standard deviation of a whole population." },
393
+ SUM: { d: "The sum of the values." },
394
+ "VAR.S": { d: "The variance of a sample." },
395
+ "VAR.P": { d: "The variance of a whole population." },
396
+ MEDIAN: { d: "The middle value." },
397
+ "MODE.SNGL": { d: "The most frequent value." },
398
+ LARGE: { d: "The k-th largest value." },
399
+ SMALL: { d: "The k-th smallest value." },
400
+ "PERCENTILE.INC": { d: "The k-th percentile, k from 0 to 1 inclusive." },
401
+ "QUARTILE.INC": { d: "The quartile k, from 0 to 4 inclusive." },
402
+ "PERCENTILE.EXC": { d: "The k-th percentile, k from 0 to 1 exclusive." },
403
+ "QUARTILE.EXC": { d: "The quartile k, from 1 to 3 exclusive." }
404
+ }
405
+ },
406
+ AggregateOptions: {
407
+ s: "What AGGREGATE leaves out.",
408
+ m: {
409
+ "Ignore nested SUBTOTAL and AGGREGATE functions": { d: "Ignore nested SUBTOTAL and AGGREGATE functions." },
410
+ "Ignore hidden rows, nested SUBTOTAL and AGGREGATE functions": { d: "Ignore hidden rows, nested SUBTOTAL and AGGREGATE functions." },
411
+ "Ignore error values, nested SUBTOTAL and AGGREGATE functions": { d: "Ignore error values, nested SUBTOTAL and AGGREGATE functions." },
412
+ "Ignore hidden rows, error values, nested SUBTOTAL and AGGREGATE functions": { d: "Ignore hidden rows, error values, nested SUBTOTAL and AGGREGATE functions." },
413
+ "Ignore nothing": { d: "Ignore nothing." },
414
+ "Ignore hidden rows": { d: "Ignore hidden rows." },
415
+ "Ignore error values": { d: "Ignore error values." },
416
+ "Ignore hidden rows and error values": { d: "Ignore hidden rows and error values." }
417
+ }
418
+ },
419
+ SubtotalFunction: {
420
+ s: "The calculation SUBTOTAL performs; 101-111 leave out hidden rows.",
421
+ m: {
422
+ AVERAGE: { d: "The average of the values." },
423
+ COUNT: { d: "How many values are numbers." },
424
+ COUNTA: { d: "How many values are not empty." },
425
+ MAX: { d: "The largest value." },
426
+ MIN: { d: "The smallest value." },
427
+ PRODUCT: { d: "The product of the values." },
428
+ STDEV: { d: "The standard deviation of a sample." },
429
+ STDEVP: { d: "The standard deviation of a whole population." },
430
+ SUM: { d: "The sum of the values." },
431
+ VAR: { d: "The variance of a sample." },
432
+ VARP: { d: "The variance of a whole population." },
433
+ "AVERAGE (visible rows)": { d: "The average of the values, leaving out hidden rows." },
434
+ "COUNT (visible rows)": { d: "How many values are numbers, leaving out hidden rows." },
435
+ "COUNTA (visible rows)": { d: "How many values are not empty, leaving out hidden rows." },
436
+ "MAX (visible rows)": { d: "The largest value, leaving out hidden rows." },
437
+ "MIN (visible rows)": { d: "The smallest value, leaving out hidden rows." },
438
+ "PRODUCT (visible rows)": { d: "The product of the values, leaving out hidden rows." },
439
+ "STDEV (visible rows)": { d: "The standard deviation of a sample, leaving out hidden rows." },
440
+ "STDEVP (visible rows)": { d: "The standard deviation of a whole population, leaving out hidden rows." },
441
+ "SUM (visible rows)": { d: "The sum of the values, leaving out hidden rows." },
442
+ "VAR (visible rows)": { d: "The variance of a sample, leaving out hidden rows." },
443
+ "VARP (visible rows)": { d: "The variance of a whole population, leaving out hidden rows." }
444
+ }
445
+ }
381
446
  };
382
- export { e as default };
447
+ export { e as default, t as enums };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -134,5 +134,51 @@ var e = {
134
134
  s: "Returns the year of a date, an integer in the range 1900 - 9999.",
135
135
  p: { serialNumber: { d: "is a number in the date-time code used for date and time calculation." } }
136
136
  }
137
+ }, t = {
138
+ Weekend: {
139
+ s: "The days a weekend falls on, for NETWORKDAYS.INTL and WORKDAY.INTL.",
140
+ m: {
141
+ "Saturday, Sunday": { d: "The weekend is Saturday and Sunday." },
142
+ "Sunday, Monday": { d: "The weekend is Sunday and Monday." },
143
+ "Monday, Tuesday": { d: "The weekend is Monday and Tuesday." },
144
+ "Tuesday, Wednesday": { d: "The weekend is Tuesday and Wednesday." },
145
+ "Wednesday, Thursday": { d: "The weekend is Wednesday and Thursday." },
146
+ "Thursday, Friday": { d: "The weekend is Thursday and Friday." },
147
+ "Friday, Saturday": { d: "The weekend is Friday and Saturday." },
148
+ "Sunday only": { d: "The weekend is Sunday alone." },
149
+ "Monday only": { d: "The weekend is Monday alone." },
150
+ "Tuesday only": { d: "The weekend is Tuesday alone." },
151
+ "Wednesday only": { d: "The weekend is Wednesday alone." },
152
+ "Thursday only": { d: "The weekend is Thursday alone." },
153
+ "Friday only": { d: "The weekend is Friday alone." },
154
+ "Saturday only": { d: "The weekend is Saturday alone." }
155
+ }
156
+ },
157
+ WeekdayType: {
158
+ s: "How WEEKDAY numbers the days of the week.",
159
+ m: {
160
+ "Sunday (1) through Saturday (7)": { d: "Sunday is 1 and Saturday is 7." },
161
+ "Monday (1) through Sunday (7)": { d: "Monday is 1 and Sunday is 7." },
162
+ "Monday (0) through Sunday (6)": { d: "Monday is 0 and Sunday is 6." },
163
+ "Tuesday (1) through Monday (7)": { d: "Tuesday is 1 and Monday is 7." },
164
+ "Wednesday (1) through Tuesday (7)": { d: "Wednesday is 1 and Tuesday is 7." },
165
+ "Thursday (1) through Wednesday (7)": { d: "Thursday is 1 and Wednesday is 7." },
166
+ "Friday (1) through Thursday (7)": { d: "Friday is 1 and Thursday is 7." },
167
+ "Saturday (1) through Friday (7)": { d: "Saturday is 1 and Friday is 7." }
168
+ }
169
+ },
170
+ WeekNumType: {
171
+ s: "The day a week begins on, for WEEKNUM.",
172
+ m: {
173
+ "Week begins on Sunday": { d: "Weeks begin on Sunday; week 1 is the week containing January 1." },
174
+ "Week begins on Monday": { d: "Weeks begin on Monday; week 1 is the week containing January 1." },
175
+ "Week begins on Tuesday": { d: "Weeks begin on Tuesday; week 1 is the week containing January 1." },
176
+ "Week begins on Wednesday": { d: "Weeks begin on Wednesday; week 1 is the week containing January 1." },
177
+ "Week begins on Thursday": { d: "Weeks begin on Thursday; week 1 is the week containing January 1." },
178
+ "Week begins on Friday": { d: "Weeks begin on Friday; week 1 is the week containing January 1." },
179
+ "Week begins on Saturday": { d: "Weeks begin on Saturday; week 1 is the week containing January 1." },
180
+ "Week begins on Monday (ISO 8601)": { d: "Weeks begin on Monday; week 1 is the week containing the first Thursday of the year." }
181
+ }
182
+ }
137
183
  };
138
- export { e as default };
184
+ export { e as default, t as enums };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.28-beta.4
2
+ * @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.10
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.