@sheetxl/sdk 0.7.9 → 0.7.11
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/{bhE7P1KpzsfjmQ5r.cjs → 5gZevu8mexJt-Tk0.cjs} +3 -3
- package/browser/cjs/{B22pTnwVjDSSM7GS.cjs → BDCDRjfkEm0pytLk.cjs} +1 -1
- package/browser/cjs/{BXbcweTRhVgb2QGJ.cjs → BUwCvXFu15osbjB5.cjs} +1 -1
- package/browser/cjs/BXCJwFo_6EDfSUlX.cjs +55 -0
- package/browser/cjs/{B3IOVhWeqDnux4SH.cjs → B_JdiofX0puC2mFc.cjs} +1 -1
- package/browser/cjs/{ruTLqYc9pFvVzZCD.cjs → Bjh0M1RIejIAj4Pq.cjs} +1 -1
- package/browser/cjs/{Cbqx01YxLFBtBc1-.cjs → BrXmwqy3StJEwsOr.cjs} +1 -1
- package/browser/cjs/{BZesTF075OkJWn8D.cjs → BsNHpUpskD-exH1H.cjs} +1 -1
- package/browser/cjs/{DGYo-pidNOzISAnM.cjs → Bv_X8OqEmlRsQkmf.cjs} +2 -2
- package/browser/cjs/{D0BG4FL8Quz_7bM9.cjs → C59rgmZJK3FlOUR6.cjs} +1 -1
- package/browser/cjs/{CVdJCI1FaDLrSiAX.cjs → C8Bcqt5a7LucHlYg.cjs} +1 -1
- package/browser/cjs/{BuQGLzvEHQpuoe3r.cjs → C8lgtu3oD-6oTt1F.cjs} +1 -1
- package/browser/cjs/{DB3n3E5e-Uzk4F5D.cjs → CVfHDyUmU_1JV8RE.cjs} +2 -2
- package/browser/cjs/{BeugfQWLHUsJjYWp.cjs → CjUZ3yMr_gsVgXPn.cjs} +1 -1
- package/browser/cjs/{Q9Q7taCm2DK7l7wG.cjs → CrL6ZYcWHsZ6jwws.cjs} +1 -1
- package/browser/cjs/{y_JnwjKyXeqjsCB2.cjs → CyrQiGGpakMpaktt.cjs} +1 -1
- package/browser/cjs/{CZiCg9FbieIU8Rm0.cjs → D1FZwjQHdS5YuyKy.cjs} +1 -1
- package/browser/cjs/{BFyzN_JI79jVr2uy.cjs → DchXJvBNii6Xtg7w.cjs} +1 -1
- package/browser/cjs/{tmhCkuaar2Xw2iaW.cjs → Dm3SxDzQhUD777p8.cjs} +1 -1
- package/browser/cjs/{CEHmNrX8KkBmUiSO.cjs → Dpn-9o-fsUddPCil.cjs} +1 -1
- package/browser/cjs/{Dkz0Gea1ka1raWKE.cjs → DtWHmqYZIIx2p37y.cjs} +1 -1
- package/browser/cjs/{BW0aVBJI3ntXFfY7.cjs → MWn8zBfjwx4WEaRc.cjs} +1 -1
- package/browser/cjs/{BMn3UlzIiu-Jz_hX.cjs → Q7H5TC0IH1qRSJbI.cjs} +1 -1
- package/browser/cjs/{du0k_Q9EOsqIxWSw.cjs → bIfYFpHp8XCKu4XX.cjs} +1 -1
- package/browser/cjs/{DkMYJkLK-ToNBMLe.cjs → f9LzlZDedrTDVYaW.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{COZ5KnUDdjFqNWM0.cjs → loINt7m5DwgCk0o9.cjs} +1 -1
- package/browser/cjs/{Bz0rP9EcRqnVWbZf.cjs → y-f4O_t985QBIjv1.cjs} +1 -1
- package/{node/esm/Dxd4gd9RMG6Vb3FC.mjs → browser/esm/2VqvsSteXZ_vIKsT.mjs} +1 -1
- package/browser/esm/{f0POvHQSDMS831Yo.mjs → 2XeY8EYFW7ysBXQC.mjs} +1 -1
- package/browser/esm/{Dizp3z8RgwqnPF39.mjs → 9z6CRFodxnfx9iDD.mjs} +1 -1
- package/browser/esm/{DPY7j6_7i5baMItx.mjs → B37h4qPiiKhdkmhq.mjs} +1 -1
- package/{node/esm/Dt4lXU3lYBAis3zm.mjs → browser/esm/BAU9OtGs9yYnSf9K.mjs} +1 -1
- package/browser/esm/{aMika-ens7Yopkas.mjs → BPEbOkOMocukDAar.mjs} +1 -1
- package/browser/esm/{CbInKvdNI1Frpbao.mjs → BXSgUGgeI4HG_8R-.mjs} +1 -1
- package/browser/esm/{DwAuvqJukiWUWs9q.mjs → BnGCEHYqDceiuVJy.mjs} +1 -1
- package/browser/esm/{tvnLPOG7Tra-GDh5.mjs → ChEZIvO9NuTvHcOA.mjs} +1 -1
- package/browser/esm/{B6aYhVaFkfSyx3RS.mjs → CovVGEuAngdp3Qcy.mjs} +1 -1
- package/browser/esm/{n6I3q4Xge3hOPjo9.mjs → Crw-7_O7d6Qkc4cu.mjs} +2 -2
- package/{node/esm/LGPCrL2m7zJhCaoL.mjs → browser/esm/CsT_89Zow9b3Y3se.mjs} +1 -1
- package/browser/esm/{79SDQ-dwPljVm-Ru.mjs → D-ZOoxK1cxc5_BJI.mjs} +3 -3
- package/browser/esm/{D_IbVWmdMNUGb7zb.mjs → D0PO4OUSFJci0kGA.mjs} +6791 -6746
- package/{node/esm/DBN6aybNiDRbTocu.mjs → browser/esm/D1e9hAO9FlJWf7FJ.mjs} +1 -1
- package/browser/esm/{B9L4cODib2b2FsB1.mjs → D1zSypswe90EC3I6.mjs} +1 -1
- package/{node/esm/CM2WwLVDwWMvpu3Q.mjs → browser/esm/D2864L-Xux_M6oO_.mjs} +1 -1
- package/browser/esm/{Dd5ZJnTZGz3wkJvx.mjs → DH4xqJygUlG2lET2.mjs} +1 -1
- package/browser/esm/{CVFOKKF2S-oaSgLu.mjs → DXWuE1o-UUQfzt0A.mjs} +2 -2
- package/browser/esm/{CGa6lKXhqVKMV59U.mjs → D_xHjggCuNwxWwLi.mjs} +1 -1
- package/browser/esm/{DYebbmA3AAPLA3IC.mjs → DaVEypU8BFYwsSfA.mjs} +1 -1
- package/{node/esm/CkhlvXOEzH992ee4.mjs → browser/esm/Ldad50b3N2BrQH9d.mjs} +1 -1
- package/{node/esm/CRNBcH0UhZHE0f99.mjs → browser/esm/MGzrljP3VHRt7nmk.mjs} +1 -1
- package/browser/esm/{DSQWHJQB3kEX1MxN.mjs → aABK-zFqofnPJqGj.mjs} +1 -1
- package/{node/esm/BSl9PHZpx-dcReUX.mjs → browser/esm/bJBo3uc8j5S2Go5P.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/{node/esm/0hOpj_OahOtewreK.mjs → browser/esm/jzRUvp4sjg6M9n3j.mjs} +1 -1
- package/{node/esm/0DI1WTHtaIUJsBYM.mjs → browser/esm/nU8LEuctytxi6s8t.mjs} +1 -1
- package/{browser/esm/Dxd4gd9RMG6Vb3FC.mjs → node/esm/2VqvsSteXZ_vIKsT.mjs} +1 -1
- package/node/esm/{Dizp3z8RgwqnPF39.mjs → 9z6CRFodxnfx9iDD.mjs} +1 -1
- package/node/esm/{DPY7j6_7i5baMItx.mjs → B37h4qPiiKhdkmhq.mjs} +1 -1
- package/{browser/esm/Dt4lXU3lYBAis3zm.mjs → node/esm/BAU9OtGs9yYnSf9K.mjs} +1 -1
- package/node/esm/{BLYKw0Xl6-mMi_sy.mjs → BFfXGP7TlVH1UKYL.mjs} +1 -1
- package/node/esm/{CuBtn2ufnDRR9AWF.mjs → BJ27lhC2nHft7hxZ.mjs} +1 -1
- package/node/esm/{aMika-ens7Yopkas.mjs → BPEbOkOMocukDAar.mjs} +1 -1
- package/node/esm/{C0uhe94WInr5bNg6.mjs → CGqkx3RVBQTmg5TU.mjs} +1 -1
- package/node/esm/{BsQgFfGw57QhU00h.mjs → C_9uNDj180I7dwXb.mjs} +1 -1
- package/node/esm/{BDgg43tHI0WHMLFP.mjs → C_Etz1Ndt6MGtcR7.mjs} +1 -1
- package/node/esm/{C9-sEMKxQI064gKk.mjs → Cbc6DQzMsCf4bGWu.mjs} +1 -1
- package/node/esm/{tvnLPOG7Tra-GDh5.mjs → ChEZIvO9NuTvHcOA.mjs} +1 -1
- package/{browser/esm/LGPCrL2m7zJhCaoL.mjs → node/esm/CsT_89Zow9b3Y3se.mjs} +1 -1
- package/node/esm/{pncn6wzLW-__5OpG.mjs → Cu68B-_Hko3cotQs.mjs} +2 -2
- package/{browser/esm/DBN6aybNiDRbTocu.mjs → node/esm/D1e9hAO9FlJWf7FJ.mjs} +1 -1
- package/node/esm/{B9L4cODib2b2FsB1.mjs → D1zSypswe90EC3I6.mjs} +1 -1
- package/{browser/esm/CM2WwLVDwWMvpu3Q.mjs → node/esm/D2864L-Xux_M6oO_.mjs} +1 -1
- package/node/esm/{Dd5ZJnTZGz3wkJvx.mjs → DH4xqJygUlG2lET2.mjs} +1 -1
- package/node/esm/{D9FXi-8M6k_qyOi7.mjs → DsII_YZ19g2EexaT.mjs} +1 -1
- package/{browser/esm/CkhlvXOEzH992ee4.mjs → node/esm/Ldad50b3N2BrQH9d.mjs} +1 -1
- package/{browser/esm/CRNBcH0UhZHE0f99.mjs → node/esm/MGzrljP3VHRt7nmk.mjs} +1 -1
- package/node/esm/{DQJ__Lm7d2Aiybkm.mjs → T5-7OxISllpg94OC.mjs} +1 -1
- package/{browser/esm/BSl9PHZpx-dcReUX.mjs → node/esm/bJBo3uc8j5S2Go5P.mjs} +1 -1
- package/node/esm/index.mjs +3399 -3349
- package/{browser/esm/0hOpj_OahOtewreK.mjs → node/esm/jzRUvp4sjg6M9n3j.mjs} +1 -1
- package/{browser/esm/0DI1WTHtaIUJsBYM.mjs → node/esm/nU8LEuctytxi6s8t.mjs} +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +15 -10
- package/types/scripting.d.ts +24 -16
- package/browser/cjs/CSnYr9f8FLxVbEb8.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.11
|
|
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.11
|
|
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.11",
|
|
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.11",
|
|
47
|
+
"@sheetxl/scripting": "^0.7.11",
|
|
48
|
+
"@sheetxl/utils": "^0.7.11",
|
|
49
49
|
"bahttext": "^2.3.0",
|
|
50
50
|
"bessel": "^1.0.2",
|
|
51
51
|
"chalk": "^5.6.2",
|
package/types/index.d.ts
CHANGED
|
@@ -3957,11 +3957,6 @@ export declare namespace ICellHeader {
|
|
|
3957
3957
|
* Style id
|
|
3958
3958
|
*/
|
|
3959
3959
|
s?: number;
|
|
3960
|
-
/**
|
|
3961
|
-
* Custom style
|
|
3962
|
-
* @deprecated - Was for backward compatibility with Excel but no longer used.
|
|
3963
|
-
*/
|
|
3964
|
-
cs?: boolean;
|
|
3965
3960
|
/**
|
|
3966
3961
|
* Header level
|
|
3967
3962
|
*/
|
|
@@ -5773,9 +5768,18 @@ export declare namespace ICellRange {
|
|
|
5773
5768
|
* @remarks
|
|
5774
5769
|
* This may change shape due to insert/delete/move of cells or sheets.
|
|
5775
5770
|
*/
|
|
5776
|
-
getSource<T =
|
|
5777
|
-
|
|
5778
|
-
|
|
5771
|
+
getSource<T = ICellRange | ICellRanges>(): T;
|
|
5772
|
+
/**
|
|
5773
|
+
* This is the range of data that has been changed.
|
|
5774
|
+
*
|
|
5775
|
+
* @remarks
|
|
5776
|
+
* This is different than the source range as that is the entire range area that was listened to.
|
|
5777
|
+
*/
|
|
5778
|
+
getFrom(): ICellRanges;
|
|
5779
|
+
/**
|
|
5780
|
+
* Used for moves. Represents the new location of the data that has changed.
|
|
5781
|
+
*/
|
|
5782
|
+
getTo?(): ICellRange;
|
|
5779
5783
|
/**
|
|
5780
5784
|
* Indicates the type of change that triggered the event.
|
|
5781
5785
|
*
|
|
@@ -18071,7 +18075,7 @@ declare namespace OverlappingRange {
|
|
|
18071
18075
|
* but it will modify the original range data.
|
|
18072
18076
|
* - **Safety:** If you need to preserve the original range data, set this to `false`.
|
|
18073
18077
|
*/
|
|
18074
|
-
reuseIterator?: IteratorResult<OverlappingRange.Intersection>;
|
|
18078
|
+
reuseIterator?: boolean | IteratorResult<OverlappingRange.Intersection>;
|
|
18075
18079
|
}
|
|
18076
18080
|
/**
|
|
18077
18081
|
* When iterating a cursor is used to track the
|
|
@@ -18962,7 +18966,8 @@ declare class SheetDirectStyle implements ISpatialMap.IUpdatableEntry, IProperti
|
|
|
18962
18966
|
protected _p: IStyle.Properties;
|
|
18963
18967
|
protected _t: IRange.Coords;
|
|
18964
18968
|
protected _e: boolean;
|
|
18965
|
-
|
|
18969
|
+
protected _o: IRange.Orientations;
|
|
18970
|
+
constructor(styles: IStyleCollection, range: IRange.Coords, properties?: IStyle.Properties, tile?: IRange.Coords, orientations?: IRange.Orientations);
|
|
18966
18971
|
isEmpty(): boolean;
|
|
18967
18972
|
getProperties(): IStyle.Properties;
|
|
18968
18973
|
/** {@inheritDoc IProperties.ICellRanged.getCoords} */
|
package/types/scripting.d.ts
CHANGED
|
@@ -13040,7 +13040,7 @@ declare module "collections/OverlappingRangeIterator" {
|
|
|
13040
13040
|
* but it will modify the original range data.
|
|
13041
13041
|
* - **Safety:** If you need to preserve the original range data, set this to `false`.
|
|
13042
13042
|
*/
|
|
13043
|
-
reuseIterator?: IteratorResult<OverlappingRange.Intersection>;
|
|
13043
|
+
reuseIterator?: boolean | IteratorResult<OverlappingRange.Intersection>;
|
|
13044
13044
|
}
|
|
13045
13045
|
/**
|
|
13046
13046
|
* When iterating a cursor is used to track the
|
|
@@ -20252,7 +20252,8 @@ declare module "sheet/style/SheetDirectStyle" {
|
|
|
20252
20252
|
protected _p: IStyle.Properties;
|
|
20253
20253
|
protected _t: IRange.Coords;
|
|
20254
20254
|
protected _e: boolean;
|
|
20255
|
-
|
|
20255
|
+
protected _o: IRange.Orientations;
|
|
20256
|
+
constructor(styles: IStyleCollection, range: IRange.Coords, properties?: IStyle.Properties, tile?: IRange.Coords, orientations?: IRange.Orientations);
|
|
20256
20257
|
isEmpty(): boolean;
|
|
20257
20258
|
getProperties(): IStyle.Properties;
|
|
20258
20259
|
/** {@inheritDoc IProperties.ICellRanged.getCoords} */
|
|
@@ -22329,7 +22330,7 @@ declare module "sheet/Sheet" {
|
|
|
22329
22330
|
*/
|
|
22330
22331
|
protected _autoFit(ranges: readonly IRange.Coords[], options?: ICellRange.AutoFitOptions): void;
|
|
22331
22332
|
/** @internal */
|
|
22332
|
-
protected _createRangeEvent(coords: (readonly IRange.FixableCoords[]) | IRange.FixableCoords, options: NotifierOptions): ICellRange.Event;
|
|
22333
|
+
protected _createRangeEvent(coords: (readonly IRange.FixableCoords[]) | IRange.FixableCoords, options: NotifierOptions, coordsFrom?: (readonly IRange.FixableCoords[]) | IRange.FixableCoords): ICellRange.Event;
|
|
22333
22334
|
/**
|
|
22334
22335
|
* Notifies listeners with a range.
|
|
22335
22336
|
* @internal
|
|
@@ -22785,13 +22786,11 @@ declare module "workbook/WorkbookRange" {
|
|
|
22785
22786
|
constructor(coords: IRange.FixableCoords, sheet: any, workbook: IWorkbook, options: WorkbookRangeOptions);
|
|
22786
22787
|
protected _createRanges(coords: readonly IRange.FixableCoords[], getOptions?: ICellRange.GetRangeOptions): ICellRanges;
|
|
22787
22788
|
protected _createRange(coords: Readonly<IRange.FixableCoords>, getOptions?: ICellRange.GetRangeOptions): this;
|
|
22788
|
-
/** {@inheritDoc ICellRange.
|
|
22789
|
-
|
|
22789
|
+
/** {@inheritDoc ICellRange.addListener} */
|
|
22790
|
+
addListener(listener: ICellRange.Listener, options?: ICellRange.ListenerOptions): IListener.Remove;
|
|
22790
22791
|
get [Symbol.toStringTag](): string;
|
|
22791
22792
|
/** {@inheritDoc ICellRange.toString} */
|
|
22792
22793
|
toString(): string;
|
|
22793
|
-
/** {@inheritDoc ICellRange.addListener} */
|
|
22794
|
-
addListener(listener: ICellRange.Listener, options?: ICellRange.ListenerOptions): IListener.Remove;
|
|
22795
22794
|
}
|
|
22796
22795
|
}
|
|
22797
22796
|
declare module "workbook/Workbook" {
|
|
@@ -24380,7 +24379,7 @@ declare module "sheet/_SheetUtils" {
|
|
|
24380
24379
|
import { ISort } from "sort/index";
|
|
24381
24380
|
import type { IRangeSelection } from "selection/index";
|
|
24382
24381
|
import { type IStyle } from "style/index";
|
|
24383
|
-
import type { ICell } from "cell/index";
|
|
24382
|
+
import type { ICell, ICellHeader } from "cell/index";
|
|
24384
24383
|
import type { ICellRange } from "cellRange/index";
|
|
24385
24384
|
import type { ISheetHeader } from "sheet/header/index";
|
|
24386
24385
|
import type { ISheet } from "sheet/ISheet";
|
|
@@ -24558,6 +24557,11 @@ declare module "sheet/_SheetUtils" {
|
|
|
24558
24557
|
* @param rangeIndex @defaultValue ranges.length 1 unless this is a single cell then -1
|
|
24559
24558
|
*/
|
|
24560
24559
|
export const rangesToSelection: (ranges: readonly IRange.Coords[], rangeIndex?: number) => IRangeSelection.Coords;
|
|
24560
|
+
export type OrientedStyled = {
|
|
24561
|
+
orientations: IRange.Orientations;
|
|
24562
|
+
index: number;
|
|
24563
|
+
};
|
|
24564
|
+
export const headerToRangedStyles: (headers: ICellHeader.JSON[], orientation: IRange.Orientation, entireCoords: IRange.Coords) => ITypes.RangeCoordValue<OrientedStyled>[] | null;
|
|
24561
24565
|
}
|
|
24562
24566
|
declare module "primitives/_PrimitiveUtils" {
|
|
24563
24567
|
import { Scalar, JSScalar, ScalarType, FormulaError, IRange, IFormulaContext } from '@sheetxl/primitives';
|
|
@@ -30580,11 +30584,6 @@ declare module "cell/ICellHeader" {
|
|
|
30580
30584
|
* Style id
|
|
30581
30585
|
*/
|
|
30582
30586
|
s?: number;
|
|
30583
|
-
/**
|
|
30584
|
-
* Custom style
|
|
30585
|
-
* @deprecated - Was for backward compatibility with Excel but no longer used.
|
|
30586
|
-
*/
|
|
30587
|
-
cs?: boolean;
|
|
30588
30587
|
/**
|
|
30589
30588
|
* Header level
|
|
30590
30589
|
*/
|
|
@@ -33721,9 +33720,18 @@ declare module "cellRange/ICellRange" {
|
|
|
33721
33720
|
* @remarks
|
|
33722
33721
|
* This may change shape due to insert/delete/move of cells or sheets.
|
|
33723
33722
|
*/
|
|
33724
|
-
getSource<T =
|
|
33725
|
-
|
|
33726
|
-
|
|
33723
|
+
getSource<T = ICellRange | ICellRanges>(): T;
|
|
33724
|
+
/**
|
|
33725
|
+
* This is the range of data that has been changed.
|
|
33726
|
+
*
|
|
33727
|
+
* @remarks
|
|
33728
|
+
* This is different than the source range as that is the entire range area that was listened to.
|
|
33729
|
+
*/
|
|
33730
|
+
getFrom(): ICellRanges;
|
|
33731
|
+
/**
|
|
33732
|
+
* Used for moves. Represents the new location of the data that has changed.
|
|
33733
|
+
*/
|
|
33734
|
+
getTo?(): ICellRange;
|
|
33727
33735
|
/**
|
|
33728
33736
|
* Indicates the type of change that triggered the event.
|
|
33729
33737
|
*
|