@sheetxl/formulas 0.8.0-beta.2 → 0.8.0-beta.20
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.
- package/LICENSE.md +17 -7
- package/README.md +2 -3
- package/browser/esm/3MjjLbfOPZ40SqTI.mjs +30 -0
- package/browser/esm/{DjXw3atxP-P9JI39.mjs → 5y02JFe2tnWa3sBP.mjs} +2 -2
- package/browser/esm/{B_5HCl2iI1AXGllh.mjs → B8ILRLh_wPEmn5xT.mjs} +2 -2
- package/{node/esm/BdJJZaNRqLYncn3r.mjs → browser/esm/BDuzEkKl7b8PFws2.mjs} +2 -2
- package/{node/esm/CWmrg99dGX7KkCJU.mjs → browser/esm/BG97hLpk1f2R1e90.mjs} +2 -2
- package/browser/esm/{CXl9CXf0KGXUNtZp.mjs → BP0dW8qQdsH9Y8N8.mjs} +2 -2
- package/browser/esm/{4OV2RO_CWP4nMkqC.mjs → Bs5B6EHXXQYLuEz3.mjs} +2 -2
- package/browser/esm/CArF8hMIf9dj9q5i.mjs +5817 -0
- package/{node/esm/CUk8EwtBWwlXCR2j.mjs → browser/esm/CBynXbkLIsIOK7u2.mjs} +2 -2
- package/browser/esm/{BVuHG04ucrGkymAy.mjs → CMij5c85WkSThuCq.mjs} +15 -10
- package/{node/esm/Boi3LcM8Iivb_l5K.mjs → browser/esm/CUA31yP5viHnLFJP.mjs} +2 -2
- package/browser/esm/{CWY6SMVnWP72iGrA.mjs → CZrYG4kJfdRLO_xT.mjs} +2 -2
- package/{node/esm/Bf43Iq3IvoB06LYk.mjs → browser/esm/CdbWqa0aL0rKV293.mjs} +2 -2
- package/{node/esm/Bg8866dMayL6y1H_.mjs → browser/esm/Cr04c6nnIFjZTj8E.mjs} +2 -2
- package/browser/esm/{BauuYQVGaczFYyqn.mjs → CwhjftOahcZfBLEM.mjs} +2 -2
- package/browser/esm/D5Xe5n3b_FoJ-sjM.mjs +16 -0
- package/{node/esm/BUPw_w8LCTxzqyi2.mjs → browser/esm/DBIzRgVONkLhTHDH.mjs} +2 -2
- package/browser/esm/{BtONPY8z9-XPAqsg.mjs → DBx-czBTe8NR1dt5.mjs} +2 -2
- package/browser/esm/{B0Y4YjJhQJA8Muz4.mjs → DEpq70hDauIvzdWv.mjs} +2 -2
- package/{node/esm/Dlez38Z5X0YBU2xQ.mjs → browser/esm/DLP4AdrHDAOXCONZ.mjs} +2 -2
- package/browser/esm/{BxhVZW45vJLHJn3w.mjs → DPDKBTmcyJQ6Zs78.mjs} +2 -2
- package/browser/esm/{CkY_1RRc5tkjyrED.mjs → DVHfqei5s-B7gn89.mjs} +2 -2
- package/browser/esm/{-kS84bK3sUejOdg1.mjs → DhTSepUAXS_kxShT.mjs} +2 -2
- package/{node/esm/CcmByvKzgVja3yr6.mjs → browser/esm/DtqXXP-oWSneEr5v.mjs} +2 -2
- package/{node/esm/CZUEcjLsLIjL75Zs.mjs → browser/esm/LD1eRA8C3zhYqxI2.mjs} +2 -2
- package/{node/esm/BJUX0gG7CASl9l_q.mjs → browser/esm/TZK6Q8qaEB2au6hX.mjs} +2 -2
- package/browser/esm/declarations.mjs +114 -0
- package/browser/esm/index.mjs +4245 -10038
- package/node/esm/3MjjLbfOPZ40SqTI.mjs +30 -0
- package/node/esm/{D2BWBzQdoBCT5mqS.mjs → 9XmELeqLwAZBoONf.mjs} +2 -2
- package/node/esm/{B_5HCl2iI1AXGllh.mjs → B8ILRLh_wPEmn5xT.mjs} +2 -2
- package/{browser/esm/BdJJZaNRqLYncn3r.mjs → node/esm/BDuzEkKl7b8PFws2.mjs} +2 -2
- package/{browser/esm/CWmrg99dGX7KkCJU.mjs → node/esm/BG97hLpk1f2R1e90.mjs} +2 -2
- package/node/esm/{BpDSup4ua3hmCgHS.mjs → BU5Sk4yGAAS6m4RP.mjs} +2 -2
- package/node/esm/{BtaLrrwE55oJIcLv.mjs → Bi0aQfKeZ7PzCuyL.mjs} +15 -10
- package/node/esm/{4OV2RO_CWP4nMkqC.mjs → Bs5B6EHXXQYLuEz3.mjs} +2 -2
- package/{browser/esm/CUk8EwtBWwlXCR2j.mjs → node/esm/CBynXbkLIsIOK7u2.mjs} +2 -2
- package/{browser/esm/Boi3LcM8Iivb_l5K.mjs → node/esm/CUA31yP5viHnLFJP.mjs} +2 -2
- package/node/esm/{CWY6SMVnWP72iGrA.mjs → CZrYG4kJfdRLO_xT.mjs} +2 -2
- package/{browser/esm/Bf43Iq3IvoB06LYk.mjs → node/esm/CdbWqa0aL0rKV293.mjs} +2 -2
- package/{browser/esm/Bg8866dMayL6y1H_.mjs → node/esm/Cr04c6nnIFjZTj8E.mjs} +2 -2
- package/node/esm/{BauuYQVGaczFYyqn.mjs → CwhjftOahcZfBLEM.mjs} +2 -2
- package/node/esm/{Dz7ST1qPjkq088mt.mjs → D3tYi7dqQcezYD5J.mjs} +2 -2
- package/node/esm/D5Xe5n3b_FoJ-sjM.mjs +16 -0
- package/{browser/esm/BUPw_w8LCTxzqyi2.mjs → node/esm/DBIzRgVONkLhTHDH.mjs} +2 -2
- package/{browser/esm/Dlez38Z5X0YBU2xQ.mjs → node/esm/DLP4AdrHDAOXCONZ.mjs} +2 -2
- package/node/esm/DLuYFwDqTjqCoAOT.mjs +5817 -0
- package/node/esm/{-kS84bK3sUejOdg1.mjs → DhTSepUAXS_kxShT.mjs} +2 -2
- package/node/esm/{L1ywxrMIpFzquai3.mjs → Dtq7lJRg9V04TZFK.mjs} +2 -2
- package/{browser/esm/CcmByvKzgVja3yr6.mjs → node/esm/DtqXXP-oWSneEr5v.mjs} +2 -2
- package/{browser/esm/CZUEcjLsLIjL75Zs.mjs → node/esm/LD1eRA8C3zhYqxI2.mjs} +2 -2
- package/node/esm/{DAuNtqi47mn8k6wW.mjs → TFVpTmkS0FzZy6OY.mjs} +2 -2
- package/{browser/esm/BJUX0gG7CASl9l_q.mjs → node/esm/TZK6Q8qaEB2au6hX.mjs} +2 -2
- package/node/esm/declarations.mjs +114 -0
- package/node/esm/index.mjs +4933 -10715
- package/node/esm/{Cn2Y6fUYzZTcjL1D.mjs → scwBvsZGU-wZAdu9.mjs} +2 -2
- package/package.json +12 -7
- package/types/declarations.d.ts +4 -0
- package/types/src/.generated/decl/{lookupReference/PivotBy.decl.d.ts → financial/MarketHistory.decl.d.ts} +1 -1
- package/types/src/.generated/decl/{lookupReference/GroupBy.decl.d.ts → web/ImportData.decl.d.ts} +1 -1
- package/types/src/.generated/declarations.d.ts +7 -0
- package/types/src/.generated/desc/{lookupReference/PivotBy.desc.d.ts → financial/MarketHistory.desc.d.ts} +1 -1
- package/types/src/.generated/desc/{lookupReference/GroupBy.desc.d.ts → web/ImportData.desc.d.ts} +1 -1
- package/types/src/_utils/Arithmetic.d.ts +16 -0
- package/types/src/_utils/CharWidth.d.ts +23 -0
- package/types/src/_utils/Distributions.d.ts +5 -6
- package/types/src/_utils/Errors.d.ts +15 -1
- package/types/src/_utils/FirstCell.d.ts +1 -1
- package/types/src/_utils/Matrix.d.ts +3 -3
- package/types/src/_utils/SpecialFunctions.d.ts +2 -2
- package/types/src/dateTime/Date.d.ts +3 -3
- package/types/src/financial/MarketHistory.d.ts +40 -0
- package/types/src/logical/Logical.d.ts +1 -1
- package/types/src/lookupReference/Reference.d.ts +46 -17
- package/types/src/mathTrig/Math.d.ts +8 -8
- package/types/src/testing/Testing.d.ts +2 -2
- package/types/src/web/FilterXML.d.ts +1 -1
- package/types/src/web/ImportData.d.ts +26 -0
- package/types/src/web/Web.d.ts +1 -1
- package/browser/cjs/1XrWGMP3GmsQOMIX.cjs +0 -1
- package/browser/cjs/4nReftSsKWmnRdtf.cjs +0 -1
- package/browser/cjs/507hQYooKKjnRzsZ.cjs +0 -1
- package/browser/cjs/B6vy56yEA1I3B74O.cjs +0 -1
- package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +0 -1
- package/browser/cjs/BK0SCfN_VZYqBxoQ.cjs +0 -1
- package/browser/cjs/BcROQ4pvVajDQ1em.cjs +0 -1
- package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +0 -1
- package/browser/cjs/C0g87ndP2zMUbX6f.cjs +0 -1
- package/browser/cjs/C9q3zr8iCIoYDrdA.cjs +0 -1
- package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +0 -1
- package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +0 -1
- package/browser/cjs/CVHc_cJddJk7J3Zt.cjs +0 -1
- package/browser/cjs/CXlzsh_WHCOsErJ1.cjs +0 -1
- package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +0 -1
- package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +0 -1
- package/browser/cjs/DDnGLOLTqLFsdUDS.cjs +0 -1
- package/browser/cjs/DF4l8xrxkcLkgExp.cjs +0 -1
- package/browser/cjs/DG2kqsWRUtVugjay.cjs +0 -1
- package/browser/cjs/DM7-R_ltoLbA9jde.cjs +0 -1
- package/browser/cjs/DNKyaSruDogoBd2H.cjs +0 -1
- package/browser/cjs/Dtxj9JR14A-uliu5.cjs +0 -1
- package/browser/cjs/Dx7GQ4ALtNG3kshu.cjs +0 -1
- package/browser/cjs/aONv0Ys3C8xmnaR8.cjs +0 -1
- package/browser/cjs/index.cjs +0 -1
- package/browser/cjs/z_rZE1OHFPpdGBh4.cjs +0 -1
- package/browser/esm/CJZ-TeBArj3iV0tc.mjs +0 -24
- package/browser/esm/fqbUfTxrCDBe0sHK.mjs +0 -21
- package/node/esm/CJZ-TeBArj3iV0tc.mjs +0 -24
- package/node/esm/fqbUfTxrCDBe0sHK.mjs +0 -21
- package/types/src/lookupReference/GroupBy.d.ts +0 -19
- package/types/src/lookupReference/PivotBy.d.ts +0 -24
package/LICENSE.md
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2026-present SheetXL Inc. & Michael T. Ford
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
6
11
|
|
|
7
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
8
14
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -101,9 +101,8 @@ array broadcasting, spill handling.
|
|
|
101
101
|
|
|
102
102
|
Our plan is to support the complete function sets of **Microsoft Excel** and **Google Sheets**, while also embracing new and useful functions suggested by the community.
|
|
103
103
|
|
|
104
|
-
>
|
|
105
|
-
|
|
106
|
-
> Note: Connectivity Functions such as Cube and legacy RTD are currently out of scope.
|
|
104
|
+
> SheetXL has all 545 function and 27 operators.
|
|
105
|
+
> Note: SheetXL supports all Excel functions and operators except the Connectivity Functions such as Cube and legacy RTD.
|
|
107
106
|
|
|
108
107
|
## Design Goals
|
|
109
108
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.20
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
STOCKHISTORY: {
|
|
9
|
+
s: "Returns an array of historical quote data for a symbol and date range you specify.",
|
|
10
|
+
p: {
|
|
11
|
+
stock: { d: "the ticker symbol of the financial instrument (`\"IBM\"`)." },
|
|
12
|
+
startDate: { d: "the first date to return data from." },
|
|
13
|
+
endDate: { d: "the last date to return data from. Default is the start date." },
|
|
14
|
+
interval: { d: "the granularity of the data: `0` daily, `1` weekly, `2` monthly. Default is `0`." },
|
|
15
|
+
headers: { d: "whether to add column headers: `0` none, `1` a header row, `2` the instrument identifier and a header row. Default is `1`." },
|
|
16
|
+
properties: { d: "the columns to return, each a number: `0` Date, `1` Close, `2` Open, `3` High, `4` Low, `5` Volume. Default is Date and Close." }
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
FXHISTORY: {
|
|
20
|
+
s: "Returns the daily exchange rate of one currency in another over a period, from the European Central Bank's reference rates.",
|
|
21
|
+
p: {
|
|
22
|
+
from: { d: "the currency to convert from, as an ISO code (`\"USD\"`)." },
|
|
23
|
+
to: { d: "the currency to convert to, as an ISO code (`\"EUR\"`)." },
|
|
24
|
+
startDate: { d: "the first date of the period." },
|
|
25
|
+
endDate: { d: "the last date of the period. Default is the start date." },
|
|
26
|
+
headers: { d: "whether to add column headers: `0` none, `1` a header row, `2` the pair and a header row. Default is `1`." }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
export { e as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.20
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
var e = { FILTERXML: {
|
|
8
8
|
s: "Returns specific data from XML content using the specified XPath.",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.20
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
var e = {
|
|
8
8
|
"BETA.DIST": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.20
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
var e = {
|
|
8
8
|
AND: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.20
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
var e = {
|
|
8
8
|
DAVERAGE: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.20
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
var e = { CONVERT: {
|
|
8
8
|
s: "Converts a number from one measurement system to another.",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.20
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
var e = {
|
|
8
8
|
CELL: {
|