@sheetxl/formulas-extended 0.7.28-beta.4 → 0.8.0-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.
- package/browser/cjs/index.cjs +1 -1
- package/browser/esm/{CsrMSYiKGo3-I_Qk.mjs → B1VmvhXuEn7zaTB9.mjs} +1 -1
- package/browser/esm/{BybuwnuafVL8RdTx.mjs → BFnDPCjxJcoIItFa.mjs} +1 -1
- package/{node/esm/CN-pAKHIFQkkdFFB.mjs → browser/esm/BRwwvGaJ6HvkxjFC.mjs} +1 -1
- package/browser/esm/{XATNfSb9mKkYP5Fr.mjs → Bma3CN4_Nec6_4n7.mjs} +1 -1
- package/browser/esm/{BKnXVC21NesUzU9t.mjs → BuGemmv84T8m0wqw.mjs} +1 -1
- package/{node/esm/ffkoQUSdLhFyILRL.mjs → browser/esm/COqdI1LYTHd9oLA6.mjs} +1 -1
- package/{node/esm/y9VKeU12ARR9HmtI.mjs → browser/esm/CnVJ8GAsshRjRGA-.mjs} +1 -1
- package/browser/esm/{CShl-IMQIPnBMVpb.mjs → CwoMEzOtRihuYUTr.mjs} +1 -1
- package/browser/esm/{DnFUggiR6cNYknMt.mjs → DY3kG36QGyDbrANO.mjs} +1 -1
- package/browser/esm/{fhXUc-E6MSehd9Ep.mjs → DodhOXkSzelSxHmB.mjs} +1 -1
- package/browser/esm/{DxiRpwBhgWoK5Erd.mjs → DpoZ7h1ScIJvbOY9.mjs} +1 -1
- package/{node/esm/C2TyRseZg5dWtMq1.mjs → browser/esm/Dy6UD7hQRBsT0WNp.mjs} +1 -1
- package/browser/esm/index.mjs +425 -342
- package/{node/esm/DoS1jziW_TXjkH37.mjs → browser/esm/srpVt74r2zbvm1N0.mjs} +1 -1
- package/browser/esm/{DsJzZKURvUm7apNu.mjs → vu0NRDeeTbEHPMYS.mjs} +1 -1
- package/node/esm/{CsrMSYiKGo3-I_Qk.mjs → B1VmvhXuEn7zaTB9.mjs} +1 -1
- package/node/esm/{v9tvQuvQYcFQ0zOs.mjs → BQyZVLTMNFLbjVap.mjs} +1 -1
- package/{browser/esm/CN-pAKHIFQkkdFFB.mjs → node/esm/BRwwvGaJ6HvkxjFC.mjs} +1 -1
- package/node/esm/{XATNfSb9mKkYP5Fr.mjs → Bma3CN4_Nec6_4n7.mjs} +1 -1
- package/node/esm/{BKnXVC21NesUzU9t.mjs → BuGemmv84T8m0wqw.mjs} +1 -1
- package/{browser/esm/ffkoQUSdLhFyILRL.mjs → node/esm/COqdI1LYTHd9oLA6.mjs} +1 -1
- package/{browser/esm/y9VKeU12ARR9HmtI.mjs → node/esm/CnVJ8GAsshRjRGA-.mjs} +1 -1
- package/node/esm/{CShl-IMQIPnBMVpb.mjs → CwoMEzOtRihuYUTr.mjs} +1 -1
- package/node/esm/{fhXUc-E6MSehd9Ep.mjs → DodhOXkSzelSxHmB.mjs} +1 -1
- package/node/esm/{DxiRpwBhgWoK5Erd.mjs → DpoZ7h1ScIJvbOY9.mjs} +1 -1
- package/{browser/esm/C2TyRseZg5dWtMq1.mjs → node/esm/Dy6UD7hQRBsT0WNp.mjs} +1 -1
- package/node/esm/{C21UeAwlG4Qkfu1Z.mjs → LAkTk93odAfpvx50.mjs} +1 -1
- package/node/esm/index.mjs +872 -788
- package/{browser/esm/DoS1jziW_TXjkH37.mjs → node/esm/srpVt74r2zbvm1N0.mjs} +1 -1
- package/node/esm/{DsJzZKURvUm7apNu.mjs → vu0NRDeeTbEHPMYS.mjs} +1 -1
- package/package.json +3 -3
- package/types/src/_utils/Consts.d.ts +2 -2
- package/types/src/financial/Financial.d.ts +11 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas-extended - Formulas Enterprise - TypeScript formulas compatible with Excel built-ins. - v0.
|
|
2
|
+
* @license @sheetxl/formulas-extended - Formulas Enterprise - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.1
|
|
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-extended - Formulas Enterprise - TypeScript formulas compatible with Excel built-ins. - v0.
|
|
2
|
+
* @license @sheetxl/formulas-extended - Formulas Enterprise - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.1
|
|
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.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/formulas-extended",
|
|
3
3
|
"description": "Formulas Enterprise - TypeScript formulas compatible with Excel built-ins.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0-beta.1",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"formulas"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@sheetxl/primitives": "^0.
|
|
41
|
-
"@sheetxl/scripting": "^0.
|
|
40
|
+
"@sheetxl/primitives": "^0.8.0-beta.1",
|
|
41
|
+
"@sheetxl/scripting": "^0.8.0-beta.1"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -7,8 +7,8 @@ export declare const ColumnOriented: Readonly<{
|
|
|
7
7
|
export declare const RowOriented: Readonly<{
|
|
8
8
|
axis: "row";
|
|
9
9
|
}>;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const RowOrientedNumbers: Readonly<{
|
|
11
11
|
type: "number";
|
|
12
|
-
axis: "
|
|
12
|
+
axis: "row";
|
|
13
13
|
}>;
|
|
14
14
|
//# sourceMappingURL=Consts.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Scalar, IRange, Flatten } from '@sheetxl/primitives';
|
|
1
|
+
import { Scalar, Omittable, AcceptError, IRange, Flatten } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
3
|
* @summary Returns the number of days from the beginning of the coupon period to the settlement date.
|
|
4
4
|
* @param settlement is the security's settlement date, expressed as a serial date number.
|
|
@@ -17,8 +17,9 @@ frequency: number, basis?: number): number;
|
|
|
17
17
|
* @param startPeriod is the first period in the calculation.
|
|
18
18
|
* @param endPeriod is the last period in the calculation.
|
|
19
19
|
* @param type is the timing of the payment.
|
|
20
|
+
* @compat atp
|
|
20
21
|
*/
|
|
21
|
-
export declare function CUMIPMT(rate:
|
|
22
|
+
export declare function CUMIPMT(rate: Omittable<Scalar>, nper: Omittable<Scalar>, pv: Omittable<Scalar>, startPeriod: Omittable<Scalar>, endPeriod: Omittable<Scalar>, type: Omittable<Scalar>): number;
|
|
22
23
|
/**
|
|
23
24
|
* @summary Returns the cumulative principal paid on a loan between two periods.
|
|
24
25
|
* @param rate is the interest rate.
|
|
@@ -27,8 +28,9 @@ export declare function CUMIPMT(rate: number, nper: number, pv: number, startPer
|
|
|
27
28
|
* @param startPeriod is the first period in the calculation.
|
|
28
29
|
* @param endPeriod is the last period in the calculation.
|
|
29
30
|
* @param type is the timing of the payment.
|
|
31
|
+
* @compat atp
|
|
30
32
|
*/
|
|
31
|
-
export declare function CUMPRINC(rate:
|
|
33
|
+
export declare function CUMPRINC(rate: Omittable<Scalar>, nper: Omittable<Scalar>, pv: Omittable<Scalar>, startPeriod: Omittable<Scalar>, endPeriod: Omittable<Scalar>, type: Omittable<Scalar>): number;
|
|
32
34
|
/**
|
|
33
35
|
* @summary Returns the depreciation of an asset for a specified period using the fixed-declining balance method.
|
|
34
36
|
* @param cost is the initial cost of the asset.
|
|
@@ -77,8 +79,9 @@ export declare function DOLLARFR(decimalDollar: number, fraction: number): numbe
|
|
|
77
79
|
* @summary Returns the effective annual interest rate.
|
|
78
80
|
* @param nominalRate is the nominal interest rate.
|
|
79
81
|
* @param npery is the number of compounding periods per year.
|
|
82
|
+
* @compat atp
|
|
80
83
|
*/
|
|
81
|
-
export declare function EFFECT(nominalRate:
|
|
84
|
+
export declare function EFFECT(nominalRate: Omittable<Scalar>, npery: Omittable<Scalar>): number;
|
|
82
85
|
/**
|
|
83
86
|
* @summary Returns the future value of an investment based on periodic, constant payments and a constant interest rate.
|
|
84
87
|
* @param rate is the interest rate.
|
|
@@ -92,8 +95,9 @@ export declare function FV(rate: number, nper: number, pmt: number, pv?: number,
|
|
|
92
95
|
* @summary Returns the future value of an initial principal after applying a series of compound interest rates.
|
|
93
96
|
* @param principal is the present value.
|
|
94
97
|
* @param schedule is an array of interest rates to apply.
|
|
98
|
+
* @compat atp
|
|
95
99
|
*/
|
|
96
|
-
export declare function FVSCHEDULE(principal:
|
|
100
|
+
export declare function FVSCHEDULE(principal: Omittable<Scalar>, schedule: Omittable<AcceptError<IRange>>): number;
|
|
97
101
|
/**
|
|
98
102
|
* @summary Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate.
|
|
99
103
|
* @param rate is the interest rate.
|
|
@@ -129,8 +133,9 @@ export declare function MIRR(values: Flatten<number>, financeRate: number, reinv
|
|
|
129
133
|
* @summary Returns the annual nominal interest rate.
|
|
130
134
|
* @param effectiveRate is the effective interest rate.
|
|
131
135
|
* @param npery is the number of compounding periods per year.
|
|
136
|
+
* @compat atp
|
|
132
137
|
*/
|
|
133
|
-
export declare function NOMINAL(effectiveRate:
|
|
138
|
+
export declare function NOMINAL(effectiveRate: Omittable<Scalar>, npery: Omittable<Scalar>): number;
|
|
134
139
|
/**
|
|
135
140
|
* @summary Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.
|
|
136
141
|
* @param rate is the interest rate per period. For example, use 6%/4 for quarterly payments at 6% APR.
|