@sheetxl/sdk 0.7.23 → 0.7.24
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/4nRTADv5HPQL1vXg.cjs +55 -0
- package/browser/cjs/{DndIUQs4nIO6irLB.cjs → B-GZ3aGR4CC3aXY8.cjs} +1 -1
- package/browser/cjs/{CV7iQNCqvBZpKLBJ.cjs → B0QQPONDaFljhVKo.cjs} +1 -1
- package/browser/cjs/{D1kQTg52f7tr2QAu.cjs → B7mYmhEMfsgLLZSO.cjs} +1 -1
- package/browser/cjs/{kp-GVWMV2AdFORxI.cjs → BK32k40KghpIOlB8.cjs} +1 -1
- package/browser/cjs/{DoYutTaFf2IxW2sj.cjs → BNuFUcNR06uRsvA1.cjs} +1 -1
- package/browser/cjs/{DOido7VKKXT2TaYv.cjs → BXxW8zZCnM6ekizZ.cjs} +3 -3
- package/browser/cjs/{DN-gkj_ATeN53NrP.cjs → B_q_wjH1K_m5Z-OG.cjs} +1 -1
- package/browser/cjs/{aAY73_vSJbP7dua7.cjs → Ba0AsDQgQrStKCkJ.cjs} +1 -1
- package/browser/cjs/{BU2PaELfnf82LMTA.cjs → BnaX3btSZgKjJD3g.cjs} +1 -1
- package/browser/cjs/{C5XyRZ6PNqFJNJ0-.cjs → BpXJOTZx-SAOZ1N7.cjs} +1 -1
- package/browser/cjs/{D2XYg5Y1-v8Btiqd.cjs → BudkWKSqVr7bJRuF.cjs} +2 -2
- package/browser/cjs/{Bck6dQ0bMcJHeUbl.cjs → C4saOjDU56FUA1C_.cjs} +1 -1
- package/browser/cjs/{DqdyYhF1e-vb_sbj.cjs → CHthfW83cXfuE388.cjs} +1 -1
- package/browser/cjs/{xSkXLrebe5feuwn9.cjs → CPqsppW_PDdOuWi7.cjs} +2 -2
- package/browser/cjs/{7SSYNuap9mmCrcgH.cjs → CUudmqy1T7P7mkGl.cjs} +1 -1
- package/browser/cjs/{CFbuDAqCaZVgawmY.cjs → CbYba_LEevcP8X8n.cjs} +1 -1
- package/browser/cjs/{Y5mkvPLP4N68VZhy.cjs → CkvATWjOKcLiTZCO.cjs} +1 -1
- package/browser/cjs/{Blm0BXK1qZAabtns.cjs → D3iRCLdh1hUWXkvK.cjs} +1 -1
- package/browser/cjs/{jZipEebAM_0Muubf.cjs → D53FOFh4WSvGe4_f.cjs} +1 -1
- package/browser/cjs/{IkyEHvoBx8D8eq5w.cjs → D8NjQdFy1FQENdPM.cjs} +1 -1
- package/browser/cjs/{Q7O3vE8wBuGK136O.cjs → DHnFVxl2wCVXd5C4.cjs} +1 -1
- package/browser/cjs/{BJYXMiSlhq7cOc7f.cjs → Dw64xUCVjlNdSiKN.cjs} +1 -1
- package/browser/cjs/{C88so6umf-bc8SU-.cjs → MOaKSxq_UD2J5Eni.cjs} +1 -1
- package/browser/cjs/{2bnvR-NMIq9NgoRc.cjs → VTRx4UGe0xOmFTvv.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{BVza_aNbxpxu-ol-.cjs → qxyizrNao-3Gks7D.cjs} +1 -1
- package/browser/cjs/{B4y55oFcslzsNUh5.cjs → wcdsJwbp_PMMWcu8.cjs} +1 -1
- package/browser/esm/{nNOjzucmCgt0E0-V.mjs → 3ZLVRcfE1wxWjdrj.mjs} +1 -1
- package/browser/esm/{DdGVnxUhEGK1EQ17.mjs → B5kmsnnq_a2zF3O9.mjs} +2 -2
- package/{node/esm/DESiFH0Qc4ZGz9Y8.mjs → browser/esm/BAo36lBnQlvEr4dC.mjs} +1 -1
- package/{node/esm/C41zPEejyGu0rCel.mjs → browser/esm/BwZ944RRk5Fvs6Yd.mjs} +1 -1
- package/{node/esm/BAKkVERK2KPeLHqK.mjs → browser/esm/C1G-xsCH6Y_ja7D_.mjs} +1 -1
- package/{node/esm/DqKmpNx001nqxL9-.mjs → browser/esm/CAzE79mu7a-x2pEZ.mjs} +1 -1
- package/browser/esm/{B1G6Rgm2aL_5kgHa.mjs → CEm5O9cEAKspymuB.mjs} +1 -1
- package/{node/esm/DyZ_ZPt7AfIQRHrs.mjs → browser/esm/CSeyYzHBuoitKLbn.mjs} +1 -1
- package/{node/esm/CzoV9l2f9TIO4kfc.mjs → browser/esm/Cmpebek34NmB7dV0.mjs} +1 -1
- package/browser/esm/{CygI-Ti7qJ5CL6Je.mjs → CpwLd2BOCK1WVLsD.mjs} +1 -1
- package/browser/esm/{C9A0o1YsDyE0JrBC.mjs → CrC5be5VvjN8YfwZ.mjs} +1 -1
- package/browser/esm/{tzxeGI0F42oMAfa6.mjs → CsuiTCfCzmPduqfj.mjs} +1 -1
- package/browser/esm/{CWFoRevFfjnbjq2T.mjs → CxwxBO2x7yk3tpIF.mjs} +2 -2
- package/browser/esm/{B27KGx3M0yzx-1jA.mjs → D0auuAKpMpbhgEMy.mjs} +1 -1
- package/browser/esm/{BWsWWswYzB--9_ts.mjs → D5goRcMOjSd8ZZif.mjs} +1 -1
- package/{node/esm/BPTJcWN84JBAX42K.mjs → browser/esm/DDEe6q9G_Pmz1lDx.mjs} +1 -1
- package/browser/esm/{DnIKdFAQUj43173Y.mjs → DDZRbsQDDnP5GEsf.mjs} +1 -1
- package/browser/esm/{VuI41u3fK2SxnZx-.mjs → DJqp9vjX0ZdGvX7s.mjs} +1 -1
- package/{node/esm/Bbv16D4fVQbvmeGb.mjs → browser/esm/DPbybjBmhyd8GfFC.mjs} +1 -1
- package/browser/esm/{CSMYjH-VsLDc-kQw.mjs → DZnIIFWA1G12eVHx.mjs} +1 -1
- package/browser/esm/{CirdsRxGamKNm05_.mjs → Db5bJe8Onimcrhvj.mjs} +1 -1
- package/{node/esm/CDFBHJozbHupAXlj.mjs → browser/esm/DnKyXPJdm_lAYion.mjs} +1 -1
- package/browser/esm/{SPcuw6nJ_zr0pnDz.mjs → DpOcuJqOimTs7oFN.mjs} +5132 -5132
- package/browser/esm/{DJKk6ARpR9E3I46T.mjs → DugIyKvxDMZtI6zo.mjs} +1 -1
- package/browser/esm/{BmgqlNSqd6P-p0aE.mjs → Szxfyfq7rOsoSgQD.mjs} +3 -3
- package/browser/esm/{CsXHyy6I2hQzLofR.mjs → Xr5FE3F8vCWGZ5F8.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{BlFBBO5SEKkNu04Z.mjs → sZ-OlGRn3tftSRQo.mjs} +1 -1
- package/{browser/esm/DESiFH0Qc4ZGz9Y8.mjs → node/esm/BAo36lBnQlvEr4dC.mjs} +1 -1
- package/node/esm/{CtcwF97GsD14y_J3.mjs → BLx9RY501fxRpmUh.mjs} +1 -1
- package/node/esm/{ByA1yuaqIercddWK.mjs → BUGUMXvtGVRJjqoa.mjs} +1 -1
- package/node/esm/{BtnpUnCZsdBMD_Q7.mjs → BY5bpznEGVoQ2nbr.mjs} +1 -1
- package/node/esm/{DUYld7eB1xcP_zJU.mjs → BZngrRnBLy2_q09D.mjs} +1 -1
- package/node/esm/{CWTSlBpHnUNkabvw.mjs → BaCXM0LlL1TEKxSV.mjs} +1 -1
- package/{browser/esm/C41zPEejyGu0rCel.mjs → node/esm/BwZ944RRk5Fvs6Yd.mjs} +1 -1
- package/{browser/esm/BAKkVERK2KPeLHqK.mjs → node/esm/C1G-xsCH6Y_ja7D_.mjs} +1 -1
- package/{browser/esm/DqKmpNx001nqxL9-.mjs → node/esm/CAzE79mu7a-x2pEZ.mjs} +1 -1
- package/node/esm/{B1G6Rgm2aL_5kgHa.mjs → CEm5O9cEAKspymuB.mjs} +1 -1
- package/{browser/esm/DyZ_ZPt7AfIQRHrs.mjs → node/esm/CSeyYzHBuoitKLbn.mjs} +1 -1
- package/{browser/esm/CzoV9l2f9TIO4kfc.mjs → node/esm/Cmpebek34NmB7dV0.mjs} +1 -1
- package/node/esm/{B27KGx3M0yzx-1jA.mjs → D0auuAKpMpbhgEMy.mjs} +1 -1
- package/{browser/esm/BPTJcWN84JBAX42K.mjs → node/esm/DDEe6q9G_Pmz1lDx.mjs} +1 -1
- package/node/esm/{DnIKdFAQUj43173Y.mjs → DDZRbsQDDnP5GEsf.mjs} +1 -1
- package/node/esm/{VuI41u3fK2SxnZx-.mjs → DJqp9vjX0ZdGvX7s.mjs} +1 -1
- package/{browser/esm/Bbv16D4fVQbvmeGb.mjs → node/esm/DPbybjBmhyd8GfFC.mjs} +1 -1
- package/node/esm/{DwXS6_mvg1q2f611.mjs → DZ2bNT_wREthJFNz.mjs} +2 -2
- package/node/esm/{CSMYjH-VsLDc-kQw.mjs → DZnIIFWA1G12eVHx.mjs} +1 -1
- package/node/esm/{CirdsRxGamKNm05_.mjs → Db5bJe8Onimcrhvj.mjs} +1 -1
- package/node/esm/{jYNXw_FWxrCxfWZ3.mjs → DleT-7IR4Y9SNWld.mjs} +1 -1
- package/{browser/esm/CDFBHJozbHupAXlj.mjs → node/esm/DnKyXPJdm_lAYion.mjs} +1 -1
- package/node/esm/{9xJZZPqKAtOOOX5i.mjs → K-TBJLm0kRanHzjh.mjs} +1 -1
- package/node/esm/index.mjs +3172 -3170
- package/node/esm/{CzwXoxJ3TzyMze-U.mjs → llZohIB6k9AHOBpc.mjs} +1 -1
- package/node/esm/{BlFBBO5SEKkNu04Z.mjs → sZ-OlGRn3tftSRQo.mjs} +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +12 -3
- package/types/scripting.d.ts +47 -16
- package/browser/cjs/BS7s5HpBYp5EBvvr.cjs +0 -55
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.24
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.24
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk",
|
|
3
3
|
"description": "SDK - A high-performance, embeddable spreadsheet engine.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.24",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"automation"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@sheetxl/primitives": "^0.7.
|
|
47
|
-
"@sheetxl/scripting": "^0.7.
|
|
48
|
-
"@sheetxl/utils": "^0.7.
|
|
46
|
+
"@sheetxl/primitives": "^0.7.24",
|
|
47
|
+
"@sheetxl/scripting": "^0.7.24",
|
|
48
|
+
"@sheetxl/utils": "^0.7.24",
|
|
49
49
|
"bahttext": "^2.3.0",
|
|
50
50
|
"bessel": "^1.0.2",
|
|
51
51
|
"chalk": "^5.6.2",
|
package/types/index.d.ts
CHANGED
|
@@ -1354,15 +1354,24 @@ declare const getFileNameExtension: (path: string) => string;
|
|
|
1354
1354
|
|
|
1355
1355
|
declare function getFontList(): readonly FontHandle[];
|
|
1356
1356
|
|
|
1357
|
-
declare interface
|
|
1357
|
+
declare interface GetTypedRangeOptions<T = any, E = any> {
|
|
1358
|
+
/**
|
|
1359
|
+
* If 'true' will not return ranges that are hidden.
|
|
1360
|
+
* If partially hidden the 'fullContained' is applied.
|
|
1361
|
+
*/
|
|
1358
1362
|
ignoreHidden?: boolean | IRange.Orientation;
|
|
1363
|
+
/**
|
|
1364
|
+
* Only return ranges that are completely contained with the search range.
|
|
1365
|
+
*
|
|
1366
|
+
* @defaultValue false
|
|
1367
|
+
*/
|
|
1359
1368
|
fullyContained?: boolean;
|
|
1360
|
-
onEntry?: (value: E, entry: ISpatialMap.Entry<T>) => T | void;
|
|
1361
|
-
noCache?: boolean;
|
|
1362
1369
|
sort?: {
|
|
1363
1370
|
orientation?: IRange.Orientation;
|
|
1364
1371
|
reverse?: boolean;
|
|
1365
1372
|
};
|
|
1373
|
+
onEntry?: (value: E, entry: ISpatialMap.Entry<T>) => T | void;
|
|
1374
|
+
noCache?: boolean;
|
|
1366
1375
|
}
|
|
1367
1376
|
|
|
1368
1377
|
declare interface HiddenRun extends ITypes.RunCoordValue<boolean> {
|
package/types/scripting.d.ts
CHANGED
|
@@ -21345,23 +21345,27 @@ declare module "sheet/_SheetTypes" {
|
|
|
21345
21345
|
table?: ITable;
|
|
21346
21346
|
/**
|
|
21347
21347
|
* Conditional styles.
|
|
21348
|
+
*
|
|
21349
|
+
* @remarks
|
|
21350
|
+
* Overlaps are allowed
|
|
21348
21351
|
*/
|
|
21349
21352
|
conditionals?: ConditionalEntry[];
|
|
21350
21353
|
/**
|
|
21351
21354
|
* The style for a collection of cells.
|
|
21355
|
+
*
|
|
21356
|
+
* @remarks
|
|
21357
|
+
* This is the style set by the user.
|
|
21352
21358
|
*/
|
|
21353
21359
|
directStyle?: IProperties.ICellRanged<IStyle.Properties>;
|
|
21354
|
-
/**
|
|
21355
|
-
* This is also a collection of styles but we track these separately so that we can save
|
|
21356
|
-
* these styles back to Excel.
|
|
21357
|
-
*/
|
|
21358
|
-
styledHeaderRange?: IProperties.ICellRanged<IStyle.Properties>;
|
|
21359
21360
|
/**
|
|
21360
21361
|
* The hyperlink.
|
|
21361
21362
|
*/
|
|
21362
21363
|
hyperlink?: IHyperlink.Properties;
|
|
21363
21364
|
/**
|
|
21364
|
-
*
|
|
21365
|
+
* Directives for unlocking a range. (Only applies if the sheet is protected).
|
|
21366
|
+
*
|
|
21367
|
+
* @remarks
|
|
21368
|
+
* Overlaps are allowed
|
|
21365
21369
|
*/
|
|
21366
21370
|
unlock?: UnlockEntry[];
|
|
21367
21371
|
/**
|
|
@@ -21382,14 +21386,20 @@ declare module "sheet/_SheetTypes" {
|
|
|
21382
21386
|
continuous?: IProperties.ICellRanged<IStyle.Properties>;
|
|
21383
21387
|
/**
|
|
21384
21388
|
* The comments.
|
|
21389
|
+
*
|
|
21390
|
+
* @remarks
|
|
21391
|
+
* A block of comments for the range.
|
|
21385
21392
|
*/
|
|
21386
21393
|
comments?: IComment.JSON;
|
|
21387
21394
|
/**
|
|
21388
|
-
*
|
|
21395
|
+
* A block of R1C1 formulas.
|
|
21389
21396
|
*/
|
|
21390
21397
|
formula?: FormulaEntry;
|
|
21391
21398
|
/**
|
|
21392
|
-
*
|
|
21399
|
+
* Spills.
|
|
21400
|
+
*
|
|
21401
|
+
* @remarks
|
|
21402
|
+
* There can be multiple spills on a cell but only one will be valid.
|
|
21393
21403
|
*/
|
|
21394
21404
|
spills?: SpillEntry[];
|
|
21395
21405
|
/**
|
|
@@ -21400,13 +21410,22 @@ declare module "sheet/_SheetTypes" {
|
|
|
21400
21410
|
* Errors during calculation.
|
|
21401
21411
|
*/
|
|
21402
21412
|
calcError?: string;
|
|
21413
|
+
/**
|
|
21414
|
+
* Non overlapping data validation entries.
|
|
21415
|
+
*/
|
|
21416
|
+
dataValidation?: any;
|
|
21417
|
+
/**
|
|
21418
|
+
* Overlapping named ranges.
|
|
21419
|
+
*/
|
|
21420
|
+
namedRange?: any[];
|
|
21403
21421
|
}
|
|
21404
21422
|
/**
|
|
21405
|
-
|
|
21406
|
-
|
|
21407
|
-
|
|
21423
|
+
* Range types are stored with a sheet range.
|
|
21424
|
+
* @internal
|
|
21425
|
+
*/
|
|
21408
21426
|
const Type: {
|
|
21409
21427
|
readonly Style: "style";
|
|
21428
|
+
readonly Continuous: "continuous";
|
|
21410
21429
|
readonly Table: "table";
|
|
21411
21430
|
readonly Merge: "merge";
|
|
21412
21431
|
readonly Hyperlink: "hyperlink";
|
|
@@ -21414,11 +21433,14 @@ declare module "sheet/_SheetTypes" {
|
|
|
21414
21433
|
readonly Unlock: "unlock";
|
|
21415
21434
|
readonly Contentful: "contentful";
|
|
21416
21435
|
readonly Conditional: "conditional";
|
|
21436
|
+
/**
|
|
21437
|
+
* Has a formula
|
|
21438
|
+
*/
|
|
21417
21439
|
readonly Formula: "formula";
|
|
21418
21440
|
readonly Spill: "spill";
|
|
21419
|
-
readonly Continuous: "continuous";
|
|
21420
21441
|
readonly Pending: "pending";
|
|
21421
21442
|
readonly CalcError: "calcError";
|
|
21443
|
+
readonly Validation: "dataValidation";
|
|
21422
21444
|
};
|
|
21423
21445
|
type Type = typeof Type[keyof typeof Type];
|
|
21424
21446
|
}
|
|
@@ -22152,15 +22174,24 @@ declare module "sheet/Sheet" {
|
|
|
22152
22174
|
removeListener: IListener.Remove;
|
|
22153
22175
|
options: ICellRange.ListenerOptions;
|
|
22154
22176
|
}
|
|
22155
|
-
interface
|
|
22177
|
+
interface GetTypedRangeOptions<T = any, E = any> {
|
|
22178
|
+
/**
|
|
22179
|
+
* If 'true' will not return ranges that are hidden.
|
|
22180
|
+
* If partially hidden the 'fullContained' is applied.
|
|
22181
|
+
*/
|
|
22156
22182
|
ignoreHidden?: boolean | IRange.Orientation;
|
|
22183
|
+
/**
|
|
22184
|
+
* Only return ranges that are completely contained with the search range.
|
|
22185
|
+
*
|
|
22186
|
+
* @defaultValue false
|
|
22187
|
+
*/
|
|
22157
22188
|
fullyContained?: boolean;
|
|
22158
|
-
onEntry?: (value: E, entry: ISpatialMap.Entry<T>) => T | void;
|
|
22159
|
-
noCache?: boolean;
|
|
22160
22189
|
sort?: {
|
|
22161
22190
|
orientation?: IRange.Orientation;
|
|
22162
22191
|
reverse?: boolean;
|
|
22163
22192
|
};
|
|
22193
|
+
onEntry?: (value: E, entry: ISpatialMap.Entry<T>) => T | void;
|
|
22194
|
+
noCache?: boolean;
|
|
22164
22195
|
}
|
|
22165
22196
|
interface ViewEdgeEntry {
|
|
22166
22197
|
rowIndex: number;
|
|
@@ -22639,7 +22670,7 @@ declare module "sheet/Sheet" {
|
|
|
22639
22670
|
* Tries to cache and can exclude hidden.
|
|
22640
22671
|
* @internal
|
|
22641
22672
|
*/
|
|
22642
|
-
protected _getRangedEntries<T, E = T>(key:
|
|
22673
|
+
protected _getRangedEntries<T, E = T>(key: keyof State, ranges: readonly IRange.Coords[], options?: GetTypedRangeOptions<T, E>): T[];
|
|
22643
22674
|
/** @internal */
|
|
22644
22675
|
protected _processAnchorShift<T extends IAnchorEntry>(options: ISpatialMap.ShiftDetails<T>): ISpatialMap.Entry<T>;
|
|
22645
22676
|
/** @internal */
|