@sheetxl/sdk 0.7.8 → 0.7.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.
- package/browser/cjs/{DnpLGXBsJzbq-pmc.cjs → B5sOr_qNfzdlK6r5.cjs} +1 -1
- package/browser/cjs/{CrIpyiNDE4xPwiE2.cjs → BMAXavmiWEoQ4d7w.cjs} +1 -1
- package/browser/cjs/{CcIMVlqeSUGyzTV7.cjs → BYJYiOa62d2KcthP.cjs} +1 -1
- package/browser/cjs/{DS-XPvIFT799Sk86.cjs → Bt1Imuv4UJakhq34.cjs} +1 -1
- package/browser/cjs/{CJ1O5QhhXN5rFmrr.cjs → Bw_6g6HnrYARaE_c.cjs} +1 -1
- package/browser/cjs/{CeQLioAiRRCMsX3t.cjs → C43pmRixdQcJAYhM.cjs} +2 -2
- package/browser/cjs/{BNC-gBbT4dvaa3G9.cjs → CUHf3R7HAqlFgZfr.cjs} +1 -1
- package/browser/cjs/{SGuEbr6odZVmA6EG.cjs → CXi7-QPH2qOvW2ig.cjs} +1 -1
- package/browser/cjs/{CFpie_H5tCgDXJh1.cjs → CsoyCFi-i5balUsy.cjs} +1 -1
- package/browser/cjs/{D4XMz5zVt7JzjeGg.cjs → D0HSm46wnMwqM0fV.cjs} +1 -1
- package/browser/cjs/{BHQy1gb6LhZAl6Po.cjs → DFZn272cF7DnvpVs.cjs} +1 -1
- package/browser/cjs/{CHuqHIX7C0ipGAw5.cjs → DYh18BCrb2nRAWSC.cjs} +1 -1
- package/browser/cjs/{V2sm_Kj7jf1o3aR1.cjs → DhnjaWdsnq2k0WB6.cjs} +1 -1
- package/browser/cjs/{DdaHRXNO_ZxLwZbM.cjs → DkK2KLukNSE20weE.cjs} +1 -1
- package/browser/cjs/DoS3hyIHWQdr-NLW.cjs +55 -0
- package/browser/cjs/{COrJDitada2AfwVh.cjs → Dps8tDhlL1soLNAN.cjs} +1 -1
- package/browser/cjs/{BmTuGdxhn_5I8tFP.cjs → Fvg-zk7oHo6A28wS.cjs} +1 -1
- package/browser/cjs/{BpmpLjQP8lrrZ9bj.cjs → Jr--WwZDSz0u7gpu.cjs} +1 -1
- package/browser/cjs/{eHqmWoLopKR8v8xN.cjs → YhQ_DJJ-NASBcutY.cjs} +1 -1
- package/browser/cjs/{jb7k0jDKilOZAkL8.cjs → i1zPKZAngwRK1H6R.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DT4OtrjNdc9FRZ-P.cjs → mJI4PWzSNTlX2y_7.cjs} +1 -1
- package/browser/cjs/{D-Um4SAnTUukordZ.cjs → mWnzwcbrwDSuOQ5k.cjs} +2 -2
- package/browser/cjs/{BVFC1rou7PF5DNr3.cjs → pAaoznCw2R-NvoJO.cjs} +3 -3
- package/browser/cjs/{DtDe5E5dY_HtE5EF.cjs → rJvO21DUgDkVVJ98.cjs} +1 -1
- package/browser/cjs/{Clo82K4OyZKvDAnj.cjs → s2__xJk4opSAXMT4.cjs} +1 -1
- package/browser/cjs/{DcJo52MjFgV8I8Ta.cjs → wsNrOvjgANfZCUcJ.cjs} +1 -1
- package/browser/cjs/{C4sjrhU-xsx7QwFH.cjs → zV5DYS2805g6oBg0.cjs} +1 -1
- package/browser/esm/{BvWwmU6UATF0gFDo.mjs → 2YmVbenvf3pJnVgX.mjs} +6730 -6528
- package/browser/esm/{D58Hd1BhXgbBhTmR.mjs → 9jzbE6uqSvh2gkcM.mjs} +1 -1
- package/browser/esm/{Zp6rf0N0ANOu0W3C.mjs → B4cJvX94gkjInKF9.mjs} +1 -1
- package/{node/esm/D9YrxP69_e5WiUio.mjs → browser/esm/BB5FMNWC9DoXj2F_.mjs} +1 -1
- package/browser/esm/{3RkiE-w3ZH_JiEuq.mjs → BQ7ZqtqqmMvl87Xx.mjs} +1 -1
- package/browser/esm/{B_7lcJsW2uYGrhVA.mjs → BhZy8T3_0HmqrtYn.mjs} +1 -1
- package/{node/esm/H27XjL72qqYPRcXG.mjs → browser/esm/BkX0U6wwm5bhhoOc.mjs} +1 -1
- package/{node/esm/DASVxFn5hFcbJRvm.mjs → browser/esm/CCJHhN0uG4RlLT21.mjs} +1 -1
- package/browser/esm/{BfDpzeGzUkwXRfNO.mjs → CfhLzbwjjeTmk029.mjs} +2 -2
- package/browser/esm/{D6otx1PlsPPAA7uc.mjs → CfxraIBE6h5Sxyav.mjs} +1 -1
- package/browser/esm/{Dyu7SeRmnMns8k7P.mjs → Ch1-YbB2C42189ma.mjs} +1 -1
- package/browser/esm/{B4dxZEELu-6B7CQM.mjs → CkpqqAG46XpO7nXX.mjs} +1 -1
- package/{node/esm/DgIFvyuw8EldIkmi.mjs → browser/esm/CuUVvXtLjRd07JGG.mjs} +1 -1
- package/browser/esm/{8JeL_zgx23qmX2k1.mjs → DGLu7QFVBNDLxamQ.mjs} +1 -1
- package/{node/esm/B0REg73fTWmxU4ct.mjs → browser/esm/DWCeeKtyWbwBsMtd.mjs} +1 -1
- package/browser/esm/{BzW6nWxe637Yelc3.mjs → DefSqdVcNBlKVAMo.mjs} +1 -1
- package/browser/esm/{B8-ALKPkqDueFVkU.mjs → DkABk-qW6Oyyokp1.mjs} +2 -2
- package/browser/esm/{Y-Q5dE8CWckVWgp1.mjs → DoZ_BtRRWO1CTdku.mjs} +1 -1
- package/{node/esm/DYSW26k9CnaA4O3W.mjs → browser/esm/DpCweIlJhb7rwPUQ.mjs} +1 -1
- package/{node/esm/CVmB3eP3XO6oXnYA.mjs → browser/esm/Dub8ZgcEXucEp2NI.mjs} +1 -1
- package/{node/esm/zOhwNujLCRmercSc.mjs → browser/esm/F-KBakghLhTUf7o1.mjs} +1 -1
- package/browser/esm/{8hSURctrRvEC3ksb.mjs → MLzNHv219T3C5hvE.mjs} +1 -1
- package/{node/esm/BXzGS93N2o22SPQ1.mjs → browser/esm/OYzq3aFElHhhWUbl.mjs} +1 -1
- package/browser/esm/{DbExEFrt_CnfT9RE.mjs → fwEmOMkbOozZtG_Z.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{678p2tUCC5HfAGB6.mjs → jMZ0iMZ-2uMoOS91.mjs} +3 -3
- package/{node/esm/CKYWp9D6b8445Qyx.mjs → browser/esm/kV8uXcO0eq-dKVP6.mjs} +1 -1
- package/{node/esm/CGre_shdAXilyAJI.mjs → browser/esm/pFiDhbuMy42dhPsi.mjs} +1 -1
- package/node/esm/{D1RKIIWEy7bm0ij9.mjs → B1YReOzxQ_MwWTr7.mjs} +1 -1
- package/node/esm/{Zp6rf0N0ANOu0W3C.mjs → B4cJvX94gkjInKF9.mjs} +1 -1
- package/{browser/esm/D9YrxP69_e5WiUio.mjs → node/esm/BB5FMNWC9DoXj2F_.mjs} +1 -1
- package/node/esm/{3RkiE-w3ZH_JiEuq.mjs → BQ7ZqtqqmMvl87Xx.mjs} +1 -1
- package/node/esm/{oZjh_m_aA_353-p9.mjs → BVNYg8Q9tkggTFax.mjs} +1 -1
- package/{browser/esm/H27XjL72qqYPRcXG.mjs → node/esm/BkX0U6wwm5bhhoOc.mjs} +1 -1
- package/node/esm/{8dCADyj_MSUDg8IU.mjs → BtVIwG6U8r7kikQn.mjs} +1 -1
- package/{browser/esm/DASVxFn5hFcbJRvm.mjs → node/esm/CCJHhN0uG4RlLT21.mjs} +1 -1
- package/node/esm/{D6otx1PlsPPAA7uc.mjs → CfxraIBE6h5Sxyav.mjs} +1 -1
- package/{browser/esm/DgIFvyuw8EldIkmi.mjs → node/esm/CuUVvXtLjRd07JGG.mjs} +1 -1
- package/node/esm/{B20D5rs7WIV7hmx3.mjs → DTATxp-TMmO0pR0E.mjs} +2 -2
- package/node/esm/{B5qvtL75d78s5PZl.mjs → DVAwEnfivTa21GDa.mjs} +1 -1
- package/{browser/esm/B0REg73fTWmxU4ct.mjs → node/esm/DWCeeKtyWbwBsMtd.mjs} +1 -1
- package/node/esm/{BzW6nWxe637Yelc3.mjs → DefSqdVcNBlKVAMo.mjs} +1 -1
- package/node/esm/{BRBVp1j0hqZrUm8F.mjs → DfshBT8P2doaHCH-.mjs} +1 -1
- package/node/esm/{DCwyRFJ_odQt1p5W.mjs → DhnJcCAHnMAvIKHY.mjs} +1 -1
- package/node/esm/{Y-Q5dE8CWckVWgp1.mjs → DoZ_BtRRWO1CTdku.mjs} +1 -1
- package/{browser/esm/DYSW26k9CnaA4O3W.mjs → node/esm/DpCweIlJhb7rwPUQ.mjs} +1 -1
- package/{browser/esm/CVmB3eP3XO6oXnYA.mjs → node/esm/Dub8ZgcEXucEp2NI.mjs} +1 -1
- package/node/esm/{C1k5Lrz-x_8xlG-J.mjs → DzTkpJZ5xV-M-8g3.mjs} +1 -1
- package/{browser/esm/zOhwNujLCRmercSc.mjs → node/esm/F-KBakghLhTUf7o1.mjs} +1 -1
- package/{browser/esm/BXzGS93N2o22SPQ1.mjs → node/esm/OYzq3aFElHhhWUbl.mjs} +1 -1
- package/node/esm/{fJA55CheAPiMPPVG.mjs → X8L9OldTik-62PGX.mjs} +1 -1
- package/node/esm/index.mjs +3687 -3467
- package/{browser/esm/CKYWp9D6b8445Qyx.mjs → node/esm/kV8uXcO0eq-dKVP6.mjs} +1 -1
- package/{browser/esm/CGre_shdAXilyAJI.mjs → node/esm/pFiDhbuMy42dhPsi.mjs} +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +24 -10
- package/types/scripting.d.ts +119 -18
- package/browser/cjs/lndHXVXeKmcc3D0y.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.10
|
|
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.10
|
|
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.10",
|
|
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.10",
|
|
47
|
+
"@sheetxl/scripting": "^0.7.10",
|
|
48
|
+
"@sheetxl/utils": "^0.7.10",
|
|
49
49
|
"bahttext": "^2.3.0",
|
|
50
50
|
"bessel": "^1.0.2",
|
|
51
51
|
"chalk": "^5.6.2",
|
package/types/index.d.ts
CHANGED
|
@@ -623,6 +623,8 @@ export declare class Calculation extends AbstractModel<State_2, ICalculation.JSO
|
|
|
623
623
|
getRuntime(): IRuntime;
|
|
624
624
|
protected _checkReady(): void;
|
|
625
625
|
protected _statusMessage(): string;
|
|
626
|
+
get [Symbol.toStringTag](): string;
|
|
627
|
+
toString(): string;
|
|
626
628
|
}
|
|
627
629
|
|
|
628
630
|
/**
|
|
@@ -3955,11 +3957,6 @@ export declare namespace ICellHeader {
|
|
|
3955
3957
|
* Style id
|
|
3956
3958
|
*/
|
|
3957
3959
|
s?: number;
|
|
3958
|
-
/**
|
|
3959
|
-
* Custom style
|
|
3960
|
-
* @deprecated - Was for backward compatibility with Excel but no longer used.
|
|
3961
|
-
*/
|
|
3962
|
-
cs?: boolean;
|
|
3963
3960
|
/**
|
|
3964
3961
|
* Header level
|
|
3965
3962
|
*/
|
|
@@ -5771,9 +5768,18 @@ export declare namespace ICellRange {
|
|
|
5771
5768
|
* @remarks
|
|
5772
5769
|
* This may change shape due to insert/delete/move of cells or sheets.
|
|
5773
5770
|
*/
|
|
5774
|
-
getSource<T =
|
|
5775
|
-
|
|
5776
|
-
|
|
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;
|
|
5777
5783
|
/**
|
|
5778
5784
|
* Indicates the type of change that triggered the event.
|
|
5779
5785
|
*
|
|
@@ -18069,7 +18075,7 @@ declare namespace OverlappingRange {
|
|
|
18069
18075
|
* but it will modify the original range data.
|
|
18070
18076
|
* - **Safety:** If you need to preserve the original range data, set this to `false`.
|
|
18071
18077
|
*/
|
|
18072
|
-
reuseIterator?: IteratorResult<OverlappingRange.Intersection>;
|
|
18078
|
+
reuseIterator?: boolean | IteratorResult<OverlappingRange.Intersection>;
|
|
18073
18079
|
}
|
|
18074
18080
|
/**
|
|
18075
18081
|
* When iterating a cursor is used to track the
|
|
@@ -18960,7 +18966,8 @@ declare class SheetDirectStyle implements ISpatialMap.IUpdatableEntry, IProperti
|
|
|
18960
18966
|
protected _p: IStyle.Properties;
|
|
18961
18967
|
protected _t: IRange.Coords;
|
|
18962
18968
|
protected _e: boolean;
|
|
18963
|
-
|
|
18969
|
+
protected _o: IRange.Orientations;
|
|
18970
|
+
constructor(styles: IStyleCollection, range: IRange.Coords, properties?: IStyle.Properties, tile?: IRange.Coords, orientations?: IRange.Orientations);
|
|
18964
18971
|
isEmpty(): boolean;
|
|
18965
18972
|
getProperties(): IStyle.Properties;
|
|
18966
18973
|
/** {@inheritDoc IProperties.ICellRanged.getCoords} */
|
|
@@ -19123,6 +19130,8 @@ declare class SheetHeader implements ISheetHeader {
|
|
|
19123
19130
|
fromJSON(json: ISheetHeader.JSON): void;
|
|
19124
19131
|
/** {@inheritDoc ISheetHeader.toJSON} */
|
|
19125
19132
|
toJSON(): ISheetHeader.JSON;
|
|
19133
|
+
get [Symbol.toStringTag](): string;
|
|
19134
|
+
toString(): string;
|
|
19126
19135
|
}
|
|
19127
19136
|
|
|
19128
19137
|
/**
|
|
@@ -19249,6 +19258,8 @@ declare class SheetProtection extends DefaultProtection<ISheetProtection, ISheet
|
|
|
19249
19258
|
protected _clearProperties(): void;
|
|
19250
19259
|
protected _fromJSON(json: ISheetProtection.JSON | null): void;
|
|
19251
19260
|
protected _toJSON(json: ISheetProtection.JSON): ISheetProtection.JSON;
|
|
19261
|
+
get [Symbol.toStringTag](): string;
|
|
19262
|
+
toString(): string;
|
|
19252
19263
|
}
|
|
19253
19264
|
|
|
19254
19265
|
/**
|
|
@@ -20324,6 +20335,9 @@ export declare class Table extends AbstractAnchored<State_3, CommitView_2> imple
|
|
|
20324
20335
|
addListeners(listeners: ITable.IListeners, options?: IListener.Options): IListener.Remove;
|
|
20325
20336
|
/* Excluded from this release type: _processStateChange */
|
|
20326
20337
|
/* Excluded from this release type: _processHeaderListener */
|
|
20338
|
+
get [Symbol.toStringTag](): string;
|
|
20339
|
+
/** {@inheritDoc ICellRanges.toString} */
|
|
20340
|
+
toString(): string;
|
|
20327
20341
|
/** {@inheritDoc ITable.toJSON} */
|
|
20328
20342
|
toJSON(): ITable.JSON | null;
|
|
20329
20343
|
private _createNamed;
|
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
|
|
@@ -15944,6 +15944,8 @@ declare module "named/NamedReference" {
|
|
|
15944
15944
|
toJSON(): INamed.JSON | null;
|
|
15945
15945
|
protected _getDescription(): string;
|
|
15946
15946
|
protected _processDelete(): void;
|
|
15947
|
+
get [Symbol.toStringTag](): string;
|
|
15948
|
+
toString(): string;
|
|
15947
15949
|
}
|
|
15948
15950
|
}
|
|
15949
15951
|
declare module "named/_NamedMessages" {
|
|
@@ -18193,6 +18195,8 @@ declare module "shape/Shape" {
|
|
|
18193
18195
|
toJSON(_toResourceId?: (resource: IResource) => number): IShape.JSON;
|
|
18194
18196
|
/** {@inheritDoc Movable.Content.getTypeDescription} */
|
|
18195
18197
|
getTypeDescription(): string;
|
|
18198
|
+
get [Symbol.toStringTag](): string;
|
|
18199
|
+
toString(): string;
|
|
18196
18200
|
}
|
|
18197
18201
|
/**
|
|
18198
18202
|
* Interfaces for creating `Chart` items.
|
|
@@ -19034,6 +19038,7 @@ declare module "selection/RangeSelection" {
|
|
|
19034
19038
|
protected _cellToRangeActual(start: IRange.CellCoords, end: IRange.CellCoords): IRange.Coords;
|
|
19035
19039
|
protected _rangesFromCellOptional(selection: IRangeSelection.Coords, cell: Partial<IRange.CellCoords>, cellPivot: Partial<IRange.CellCoords>): IRange.Coords;
|
|
19036
19040
|
protected _getMaxRange(): IRange.Coords;
|
|
19041
|
+
get [Symbol.toStringTag](): string;
|
|
19037
19042
|
toString(): string;
|
|
19038
19043
|
}
|
|
19039
19044
|
}
|
|
@@ -19891,6 +19896,8 @@ declare module "sheet/header/SheetCellHeader" {
|
|
|
19891
19896
|
isEqual(other: ICellHeader): boolean;
|
|
19892
19897
|
/** {@inheritDoc ICellHeader.isEmpty} */
|
|
19893
19898
|
isEmpty(): boolean;
|
|
19899
|
+
get [Symbol.toStringTag](): string;
|
|
19900
|
+
toString(): string;
|
|
19894
19901
|
/** {@inheritDoc ICellHeader.isICellHeader} */
|
|
19895
19902
|
get isICellHeader(): true;
|
|
19896
19903
|
}
|
|
@@ -19905,6 +19912,63 @@ declare module "sheet/header/_SheetHeaderMessage" {
|
|
|
19905
19912
|
export const DESC_ROW_HEADERS: string;
|
|
19906
19913
|
export const DESC_COL_HEADERS: string;
|
|
19907
19914
|
}
|
|
19915
|
+
declare module "sheet/header/SheetCellHeaderRange" {
|
|
19916
|
+
import { IRange } from '@sheetxl/primitives';
|
|
19917
|
+
import { RunCoords } from '@sheetxl/utils';
|
|
19918
|
+
import { ITypes } from "type/index";
|
|
19919
|
+
import { ITransaction } from "transaction/index";
|
|
19920
|
+
import { ICellHeader } from "cell/index";
|
|
19921
|
+
import { ICellHeaderRange } from "cellRange/index";
|
|
19922
|
+
import { CreateCellHeaderCallback } from "sheet/header/SheetCellHeader";
|
|
19923
|
+
import * as _Utils from "sheet/header/_HeaderUtils";
|
|
19924
|
+
import { SheetHeader } from "sheet/header/SheetHeader";
|
|
19925
|
+
export class SheetCellHeaderRange implements ICellHeaderRange {
|
|
19926
|
+
protected _header: any;
|
|
19927
|
+
protected _coords: RunCoords;
|
|
19928
|
+
constructor(header: SheetHeader, coords: RunCoords);
|
|
19929
|
+
protected _forEachSpan<T = any>(callback: ICellHeaderRange.ForEachSpanCallback<T>, optionsVisitor: ICellHeaderRange.IteratorOptions, headersToScan: ITypes.RunCoordValue<_Utils.CellHeaderState>[], createCellHeader?: CreateCellHeaderCallback): T | void;
|
|
19930
|
+
/** {@inheritDoc ICellHeaderRange.forEachSpan} */
|
|
19931
|
+
forEachSpan<T = any>(callback: ICellHeaderRange.ForEachSpanCallback<T>, options?: ICellHeaderRange.IteratorOptions): T | void;
|
|
19932
|
+
/** {@inheritDoc ICellHeaderRange.forEachVisibleSpan} */
|
|
19933
|
+
forEachVisibleSpan<T = any>(callback: ICellHeaderRange.ForEachVisibleSpanCallback<T>, options?: ICellHeaderRange.ForEachVisibleSpanOptions): T | void;
|
|
19934
|
+
/** {@inheritDoc ICellHeaderRange.forEach} */
|
|
19935
|
+
forEach<T>(callback: ICellHeaderRange.ForEachCallback<T>, options?: ICellHeaderRange.IteratorOptions): T | void;
|
|
19936
|
+
/** {@inheritDoc ICellHeaderRange.updateHeaders} */
|
|
19937
|
+
updateHeaders(update: ICellHeader.Update, options?: ICellHeaderRange.UpdateHeadersOptions): this;
|
|
19938
|
+
/** {@inheritDoc ICellHeaderRange.getCoords} */
|
|
19939
|
+
getCoords(): RunCoords;
|
|
19940
|
+
/** {@inheritDoc ICellHeaderRange.setHidden} */
|
|
19941
|
+
setHidden(hidden?: boolean): this;
|
|
19942
|
+
/** {@inheritDoc ICellHeaderRange.getUsedRange} */
|
|
19943
|
+
getUsedRange(options?: ICellHeaderRange.GetRangeOptions): this;
|
|
19944
|
+
/** {@inheritDoc ICellHeaderRange.getCount} */
|
|
19945
|
+
getCount(): number;
|
|
19946
|
+
/** {@inheritDoc ICellHeaderRange.getVisibleCount} */
|
|
19947
|
+
getVisibleCount(): number;
|
|
19948
|
+
/** {@inheritDoc ICellHeaderRange.isEntireHeaders} */
|
|
19949
|
+
isEntireHeaders(): boolean;
|
|
19950
|
+
/** {@inheritDoc ICellHeaderRange.getSnapshot} */
|
|
19951
|
+
getSnapshot(options?: ICellHeaderRange.CopyOptions): ICellHeaderRange.ISnapshot;
|
|
19952
|
+
/** {@inheritDoc ICellHeaderRange.clear} */
|
|
19953
|
+
clear(): this;
|
|
19954
|
+
/** {@inheritDoc ICellHeaderRange.setSize} */
|
|
19955
|
+
setSize(size?: number | string, options?: ICellHeaderRange.SetSizeOptions): this;
|
|
19956
|
+
/** {@inheritDoc ICellHeaderRange.at} */
|
|
19957
|
+
at(index: number): ICellHeader;
|
|
19958
|
+
/** {@inheritDoc ICellHeaderRange.getOrientation} */
|
|
19959
|
+
getOrientation(): IRange.Orientation;
|
|
19960
|
+
/** {@inheritDoc ICellHeaderRange.doBatch} */
|
|
19961
|
+
doBatch<R>(callback: (commit: ITransaction.ICommit) => R | Promise<R>, options?: string | ICellHeaderRange.UpdateHeadersOptions): R | Promise<R>;
|
|
19962
|
+
/** {@inheritDoc ICellHeaderRange.getSheetHeader} */
|
|
19963
|
+
getSheetHeader<S>(): S;
|
|
19964
|
+
/** {@inheritDoc ICellHeaderRange.getA1} */
|
|
19965
|
+
getA1(): string;
|
|
19966
|
+
get [Symbol.toStringTag](): string;
|
|
19967
|
+
toString(): string;
|
|
19968
|
+
/** {@inheritDoc ICellHeaderRange.isICellHeaderRange} */
|
|
19969
|
+
get isICellHeaderRange(): true;
|
|
19970
|
+
}
|
|
19971
|
+
}
|
|
19908
19972
|
declare module "sheet/header/SheetHeader" {
|
|
19909
19973
|
import { IRange } from '@sheetxl/primitives';
|
|
19910
19974
|
import { RunCoords } from '@sheetxl/utils';
|
|
@@ -20051,6 +20115,8 @@ declare module "sheet/header/SheetHeader" {
|
|
|
20051
20115
|
fromJSON(json: ISheetHeader.JSON): void;
|
|
20052
20116
|
/** {@inheritDoc ISheetHeader.toJSON} */
|
|
20053
20117
|
toJSON(): ISheetHeader.JSON;
|
|
20118
|
+
get [Symbol.toStringTag](): string;
|
|
20119
|
+
toString(): string;
|
|
20054
20120
|
}
|
|
20055
20121
|
/**
|
|
20056
20122
|
* {@inheritDoc SheetHeader}
|
|
@@ -20186,7 +20252,8 @@ declare module "sheet/style/SheetDirectStyle" {
|
|
|
20186
20252
|
protected _p: IStyle.Properties;
|
|
20187
20253
|
protected _t: IRange.Coords;
|
|
20188
20254
|
protected _e: boolean;
|
|
20189
|
-
|
|
20255
|
+
protected _o: IRange.Orientations;
|
|
20256
|
+
constructor(styles: IStyleCollection, range: IRange.Coords, properties?: IStyle.Properties, tile?: IRange.Coords, orientations?: IRange.Orientations);
|
|
20190
20257
|
isEmpty(): boolean;
|
|
20191
20258
|
getProperties(): IStyle.Properties;
|
|
20192
20259
|
/** {@inheritDoc IProperties.ICellRanged.getCoords} */
|
|
@@ -20345,6 +20412,8 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20345
20412
|
isNone(): boolean;
|
|
20346
20413
|
/** {@inheritDoc IBorder.IStroke.toCSS} */
|
|
20347
20414
|
toCSS(): Partial<CSSStyleDeclaration>;
|
|
20415
|
+
get [Symbol.toStringTag](): string;
|
|
20416
|
+
toString(): string;
|
|
20348
20417
|
/** {@inheritDoc IBorder.IStroke.isIStroke} */
|
|
20349
20418
|
get isIStroke(): true;
|
|
20350
20419
|
}
|
|
@@ -20375,12 +20444,12 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20375
20444
|
setDiagonalDown(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.StrokeProperties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
20376
20445
|
/** {@inheritDoc IBorder.IStroke.isEmpty} */
|
|
20377
20446
|
isEmpty(): boolean;
|
|
20447
|
+
get [Symbol.toStringTag](): string;
|
|
20448
|
+
toString(): string;
|
|
20378
20449
|
/** {@inheritDoc IBorder.IStroke.isIBorder} */
|
|
20379
20450
|
get isIBorder(): true;
|
|
20380
20451
|
}
|
|
20381
20452
|
export class CellAlignment extends Inheritable<ITextFrame.IAlignment.Properties, ITextFrame.IAlignment.JSON> implements ITextFrame.IAlignment {
|
|
20382
|
-
/** {@inheritDoc ITextBoxAlignment.isITextBoxAlignment} */
|
|
20383
|
-
get isITextBoxAlignment(): true;
|
|
20384
20453
|
/** {@inheritDoc ITextBoxAlignment.getHorizontal} */
|
|
20385
20454
|
getHorizontal(): ITextFrame.HorizontalAlignment;
|
|
20386
20455
|
/** {@inheritDoc ITextBoxAlignment.setHorizontal} */
|
|
@@ -20417,8 +20486,13 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20417
20486
|
getReadingDirection(): ITextFrame.ReadingDirection;
|
|
20418
20487
|
/** {@inheritDoc ITextBoxAlignment.setReadingDirection} */
|
|
20419
20488
|
setReadingDirection(readingDirection: ITextFrame.ReadingDirection | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20489
|
+
get [Symbol.toStringTag](): string;
|
|
20490
|
+
toString(): string;
|
|
20491
|
+
/** {@inheritDoc ITextBoxAlignment.isITextBoxAlignment} */
|
|
20492
|
+
get isITextBoxAlignment(): true;
|
|
20420
20493
|
}
|
|
20421
20494
|
export class CellFont extends Inheritable<IStyledFont.Properties, IStyledFont.JSON> implements IStyledFont {
|
|
20495
|
+
/** {@inheritDoc IStyle.isEqualMeasure} */
|
|
20422
20496
|
isEqualMeasure(other: IStyledFont): boolean;
|
|
20423
20497
|
/** {@inheritDoc IStyle.toCSS} */
|
|
20424
20498
|
toCSS(darkMode?: boolean, zoom?: number, ignoreNormal?: boolean): CSSProperties;
|
|
@@ -20486,6 +20560,9 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20486
20560
|
getExtend(): boolean;
|
|
20487
20561
|
/** {@inheritDoc IStyle.setExtend} */
|
|
20488
20562
|
setExtend(extend: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20563
|
+
get [Symbol.toStringTag](): string;
|
|
20564
|
+
/** {@inheritDoc ICellRanges.toString} */
|
|
20565
|
+
toString(): string;
|
|
20489
20566
|
/** {@inheritDoc IStyle.isIStyledFont} */
|
|
20490
20567
|
get isIStyledFont(): true;
|
|
20491
20568
|
}
|
|
@@ -20496,6 +20573,8 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20496
20573
|
toCSS(_darkMode?: boolean): CSSProperties;
|
|
20497
20574
|
/** {@inheritDoc IFill.INone.toJSON} */
|
|
20498
20575
|
toJSON(): IFill.NoneJSON;
|
|
20576
|
+
get [Symbol.toStringTag](): string;
|
|
20577
|
+
toString(): string;
|
|
20499
20578
|
/** {@inheritDoc IFill.isIFill} */
|
|
20500
20579
|
get isIFill(): true;
|
|
20501
20580
|
}
|
|
@@ -20510,6 +20589,8 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20510
20589
|
toCSS(darkMode?: boolean): CSSProperties;
|
|
20511
20590
|
/** {@inheritDoc IFill.ISolid.toJSON} */
|
|
20512
20591
|
toJSON(): IFill.SolidJSON;
|
|
20592
|
+
get [Symbol.toStringTag](): string;
|
|
20593
|
+
toString(): string;
|
|
20513
20594
|
/** {@inheritDoc IFill.isIFill} */
|
|
20514
20595
|
get isIFill(): true;
|
|
20515
20596
|
}
|
|
@@ -20545,6 +20626,8 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20545
20626
|
toCSS(darkMode?: boolean, bounds?: Bounds): CSSProperties;
|
|
20546
20627
|
/** {@inheritDoc IFill.IGradient.toJSON} */
|
|
20547
20628
|
toJSON(): IFill.GradientJSON;
|
|
20629
|
+
get [Symbol.toStringTag](): string;
|
|
20630
|
+
toString(): string;
|
|
20548
20631
|
/** {@inheritDoc IFill.isIFill} */
|
|
20549
20632
|
get isIFill(): true;
|
|
20550
20633
|
}
|
|
@@ -20567,6 +20650,8 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20567
20650
|
toCSS(darkMode?: boolean): CSSProperties;
|
|
20568
20651
|
/** {@inheritDoc IFill.IPattern.toJSON} */
|
|
20569
20652
|
toJSON(): IFill.PatternJSON;
|
|
20653
|
+
get [Symbol.toStringTag](): string;
|
|
20654
|
+
toString(): string;
|
|
20570
20655
|
/** {@inheritDoc IFill.isIFill} */
|
|
20571
20656
|
get isIFill(): true;
|
|
20572
20657
|
}
|
|
@@ -20623,6 +20708,8 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20623
20708
|
getNamed(): IStyle.INamed;
|
|
20624
20709
|
/** {@inheritDoc IStyle.setNamed} */
|
|
20625
20710
|
setNamed(named: string | IStyle.INamed | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20711
|
+
get [Symbol.toStringTag](): string;
|
|
20712
|
+
toString(): string;
|
|
20626
20713
|
/** {@inheritDoc IStyle.isIStyle} */
|
|
20627
20714
|
get isIStyle(): true;
|
|
20628
20715
|
}
|
|
@@ -21379,6 +21466,8 @@ declare module "sheet/protection/SheetProtection" {
|
|
|
21379
21466
|
protected _clearProperties(): void;
|
|
21380
21467
|
protected _fromJSON(json: ISheetProtection.JSON | null): void;
|
|
21381
21468
|
protected _toJSON(json: ISheetProtection.JSON): ISheetProtection.JSON;
|
|
21469
|
+
get [Symbol.toStringTag](): string;
|
|
21470
|
+
toString(): string;
|
|
21382
21471
|
}
|
|
21383
21472
|
}
|
|
21384
21473
|
declare module "hyperlink/_HyperlinkMessages" {
|
|
@@ -22241,7 +22330,7 @@ declare module "sheet/Sheet" {
|
|
|
22241
22330
|
*/
|
|
22242
22331
|
protected _autoFit(ranges: readonly IRange.Coords[], options?: ICellRange.AutoFitOptions): void;
|
|
22243
22332
|
/** @internal */
|
|
22244
|
-
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;
|
|
22245
22334
|
/**
|
|
22246
22335
|
* Notifies listeners with a range.
|
|
22247
22336
|
* @internal
|
|
@@ -22697,13 +22786,11 @@ declare module "workbook/WorkbookRange" {
|
|
|
22697
22786
|
constructor(coords: IRange.FixableCoords, sheet: any, workbook: IWorkbook, options: WorkbookRangeOptions);
|
|
22698
22787
|
protected _createRanges(coords: readonly IRange.FixableCoords[], getOptions?: ICellRange.GetRangeOptions): ICellRanges;
|
|
22699
22788
|
protected _createRange(coords: Readonly<IRange.FixableCoords>, getOptions?: ICellRange.GetRangeOptions): this;
|
|
22700
|
-
/** {@inheritDoc ICellRange.
|
|
22701
|
-
|
|
22789
|
+
/** {@inheritDoc ICellRange.addListener} */
|
|
22790
|
+
addListener(listener: ICellRange.Listener, options?: ICellRange.ListenerOptions): IListener.Remove;
|
|
22702
22791
|
get [Symbol.toStringTag](): string;
|
|
22703
22792
|
/** {@inheritDoc ICellRange.toString} */
|
|
22704
22793
|
toString(): string;
|
|
22705
|
-
/** {@inheritDoc ICellRange.addListener} */
|
|
22706
|
-
addListener(listener: ICellRange.Listener, options?: ICellRange.ListenerOptions): IListener.Remove;
|
|
22707
22794
|
}
|
|
22708
22795
|
}
|
|
22709
22796
|
declare module "workbook/Workbook" {
|
|
@@ -24292,7 +24379,7 @@ declare module "sheet/_SheetUtils" {
|
|
|
24292
24379
|
import { ISort } from "sort/index";
|
|
24293
24380
|
import type { IRangeSelection } from "selection/index";
|
|
24294
24381
|
import { type IStyle } from "style/index";
|
|
24295
|
-
import type { ICell } from "cell/index";
|
|
24382
|
+
import type { ICell, ICellHeader } from "cell/index";
|
|
24296
24383
|
import type { ICellRange } from "cellRange/index";
|
|
24297
24384
|
import type { ISheetHeader } from "sheet/header/index";
|
|
24298
24385
|
import type { ISheet } from "sheet/ISheet";
|
|
@@ -24470,6 +24557,11 @@ declare module "sheet/_SheetUtils" {
|
|
|
24470
24557
|
* @param rangeIndex @defaultValue ranges.length 1 unless this is a single cell then -1
|
|
24471
24558
|
*/
|
|
24472
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;
|
|
24473
24565
|
}
|
|
24474
24566
|
declare module "primitives/_PrimitiveUtils" {
|
|
24475
24567
|
import { Scalar, JSScalar, ScalarType, FormulaError, IRange, IFormulaContext } from '@sheetxl/primitives';
|
|
@@ -29746,6 +29838,8 @@ declare module "calculation/Calculation" {
|
|
|
29746
29838
|
getRuntime(): IRuntime;
|
|
29747
29839
|
protected _checkReady(): void;
|
|
29748
29840
|
protected _statusMessage(): string;
|
|
29841
|
+
get [Symbol.toStringTag](): string;
|
|
29842
|
+
toString(): string;
|
|
29749
29843
|
}
|
|
29750
29844
|
/**
|
|
29751
29845
|
* Interfaces for creating `Calculation` items.
|
|
@@ -30490,11 +30584,6 @@ declare module "cell/ICellHeader" {
|
|
|
30490
30584
|
* Style id
|
|
30491
30585
|
*/
|
|
30492
30586
|
s?: number;
|
|
30493
|
-
/**
|
|
30494
|
-
* Custom style
|
|
30495
|
-
* @deprecated - Was for backward compatibility with Excel but no longer used.
|
|
30496
|
-
*/
|
|
30497
|
-
cs?: boolean;
|
|
30498
30587
|
/**
|
|
30499
30588
|
* Header level
|
|
30500
30589
|
*/
|
|
@@ -30816,6 +30905,9 @@ declare module "table/Table" {
|
|
|
30816
30905
|
protected _processStateChange(state: State, view: CommitView, commit: ITransaction.ICommit): void;
|
|
30817
30906
|
/** @internal */
|
|
30818
30907
|
protected _processHeaderListener(): void;
|
|
30908
|
+
get [Symbol.toStringTag](): string;
|
|
30909
|
+
/** {@inheritDoc ICellRanges.toString} */
|
|
30910
|
+
toString(): string;
|
|
30819
30911
|
/** {@inheritDoc ITable.toJSON} */
|
|
30820
30912
|
toJSON(): ITable.JSON | null;
|
|
30821
30913
|
private _createNamed;
|
|
@@ -33628,9 +33720,18 @@ declare module "cellRange/ICellRange" {
|
|
|
33628
33720
|
* @remarks
|
|
33629
33721
|
* This may change shape due to insert/delete/move of cells or sheets.
|
|
33630
33722
|
*/
|
|
33631
|
-
getSource<T =
|
|
33632
|
-
|
|
33633
|
-
|
|
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;
|
|
33634
33735
|
/**
|
|
33635
33736
|
* Indicates the type of change that triggered the event.
|
|
33636
33737
|
*
|