@sheetxl/sdk 0.6.0 → 0.6.2
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/README.md +63 -24
- package/browser/cjs/{D8d_ngke_pM3uWYb.cjs → B8kkabhwmRjnmR5v.cjs} +1 -1
- package/browser/cjs/{BZibzfKVoSIbULqr.cjs → BPpFpHlueE7gPyag.cjs} +1 -1
- package/browser/cjs/{BMCfutsitZOvLgj7.cjs → BRdTGuUigoB1NUcI.cjs} +1 -1
- package/browser/cjs/{B1NR3oB4-64w83Ib.cjs → B_qkC3AyU8i7-Uuy.cjs} +1 -1
- package/browser/cjs/{BM48UE-pARL712TW.cjs → BcDGtnIqSJPDZ4sR.cjs} +1 -1
- package/browser/cjs/{CcS-bzgrHKjKyNkJ.cjs → BcqlkUfS8uDl8ajh.cjs} +1 -1
- package/browser/cjs/{CIPSEoSbRjxK8Tw-.cjs → BkQoSo_3Cq1y1U0B.cjs} +1 -1
- package/browser/cjs/{QgXsFTkwYD-_kbIZ.cjs → Bxoq-9u-12zHrhpx.cjs} +1 -1
- package/browser/cjs/{BJ_TPKvFszujhLMP.cjs → C0v4zEZg7hjd8UTM.cjs} +1 -1
- package/browser/cjs/{BL21q2AM5AjVLgdW.cjs → CiTCbDpD3yOKkZOa.cjs} +1 -1
- package/browser/cjs/{LOkXBXPbb1knRYy8.cjs → CmSZ9Wuvcy8vU6M9.cjs} +1 -1
- package/browser/cjs/{BJpkbdT-FxfaFiRn.cjs → Cmfit2FMEKGcD5U9.cjs} +1 -1
- package/browser/cjs/{BRS-qFHYmtoQ_7ln.cjs → Cq_h7kIwrkGVlAWz.cjs} +1 -1
- package/browser/cjs/{F9Hlpzvnj7QMZlHU.cjs → DB1Mw5P6Ky5fi6sG.cjs} +1 -1
- package/browser/cjs/{dQgeX7mXUYbLg5-o.cjs → DCRExL3f-LaADs7D.cjs} +2 -2
- package/browser/cjs/{DlpGfrmXEinbBWJs.cjs → DIIXRdfui69j6bkZ.cjs} +1 -1
- package/browser/cjs/{wflnXvNQvhEw2-rs.cjs → DJa4DM8ZpY9mK7VO.cjs} +1 -1
- package/browser/cjs/{CstOJIdi9FLBK5mH.cjs → DgecgZaUsBQIqn_b.cjs} +1 -1
- package/browser/cjs/{kvFQZ-whoyFX4q4l.cjs → DqqitWA8UXcXcv9W.cjs} +3 -3
- package/browser/cjs/{CMJXN5dXNiNV6jCb.cjs → ER_oaX4tTmqQxTDf.cjs} +1 -1
- package/browser/cjs/{D3Z6AANObQQNVuA7.cjs → JHW-PeBCUY1IQ0JF.cjs} +2 -2
- package/browser/cjs/{he2zqxvU2tLrrA0e.cjs → QTcY51QN8CkcROmw.cjs} +1 -1
- package/browser/cjs/{T5P2Z1wnpwhVtk3N.cjs → cm5TmWgHO54boKRC.cjs} +1 -1
- package/browser/cjs/{CPPxySeQRj_sYBG3.cjs → dSxMgNE-m5kqapgY.cjs} +1 -1
- package/browser/cjs/iimoiZX_lPZZlxrK.cjs +54 -0
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{VL3iv1PBlFjFF83h.cjs → itKUtdnp_hnv18Mz.cjs} +1 -1
- package/browser/cjs/{BOc30G28BacyWtxg.cjs → m_c-_R3r43LlH1Oz.cjs} +1 -1
- package/browser/esm/{D2sMel66SjoddMpb.mjs → AmNdwcF6KLBFjjrP.mjs} +3 -3
- package/browser/esm/{Dn4X8YfbFO4eiMSV.mjs → B3Fq3iN-USyhc36v.mjs} +1 -1
- package/browser/esm/{BJ1zyH1WMcxANdJn.mjs → B4jj7iizIObLcCF5.mjs} +1 -1
- package/browser/esm/{D7ORCZMfB6EuNDXp.mjs → B9DaOd3r3WwsnUva.mjs} +1 -1
- package/{node/esm/BLLM1a7j2zDutgdn.mjs → browser/esm/BTHmeRgd80Ks4gLU.mjs} +1 -1
- package/{node/esm/D8gjhdx_Xqsi3cKw.mjs → browser/esm/BWX4Z3gLOqLnGq5-.mjs} +1 -1
- package/browser/esm/{oB0hNSon9iSupN61.mjs → Bf75as9Q3Qc-ypIa.mjs} +1 -1
- package/{node/esm/XPdgSbhpX_pQVL6A.mjs → browser/esm/Bl4TblmHh2ZZEOeM.mjs} +1 -1
- package/browser/esm/{CQfle-IzXwkDIwVM.mjs → Bos8gc5QIdDN9lPV.mjs} +1 -1
- package/browser/esm/{CfH8c4mOqlF1l8oE.mjs → C8nZ4K79nJAk7d5I.mjs} +1 -1
- package/browser/esm/{DSQI7KQOVQxxE9Ye.mjs → C8wxvzViedP3BIAP.mjs} +1 -1
- package/browser/esm/{DXuPTOuep8bZgurW.mjs → CarKj6rMhrrtk8RS.mjs} +1 -1
- package/{node/esm/BqqXCwiNbkGpedAS.mjs → browser/esm/CthnjrkHcV3vBELm.mjs} +1 -1
- package/browser/esm/{fRBGTsg03jaBU78d.mjs → Cz2wPTStHfeaq0j7.mjs} +1 -1
- package/browser/esm/{Dz3nvWzFEyxx2-EG.mjs → D0SKZIVpNxQG99wj.mjs} +1 -1
- package/{node/esm/CGM1copgb7JBNjMy.mjs → browser/esm/D7EAv4Yrej-O1rvi.mjs} +1 -1
- package/{node/esm/B0kdwQ-DAPMKU-Lu.mjs → browser/esm/D89YHALKlXYeVYnk.mjs} +1 -1
- package/{node/esm/DQMx53pwfb-FQSQq.mjs → browser/esm/DBkCPQqetWJLuu56.mjs} +1 -1
- package/browser/esm/{DWNAnKkI1pYESxW5.mjs → DRf_RSGRf6V-t8w4.mjs} +4472 -4465
- package/browser/esm/{Cg3GMjyc00nY-QgM.mjs → JqHG8LB7H0fj5IGk.mjs} +2 -2
- package/{node/esm/DMUR6fPI_mOuhDGg.mjs → browser/esm/LIUTDl0upH5W7a4T.mjs} +1 -1
- package/browser/esm/{xHkCX2sv6vAapv9x.mjs → P107wAWsf_qQU0Yo.mjs} +2 -2
- package/{node/esm/CnbSLtB6PZqEaHPs.mjs → browser/esm/Ps7eawwxSuV8kGKv.mjs} +1 -1
- package/{node/esm/ClPiz4hpH1Prls22.mjs → browser/esm/YFRUYXkHCBAqmxd6.mjs} +1 -1
- package/browser/esm/{ThHi760GPWarOHix.mjs → ZxDi0FtPA6wSON0q.mjs} +1 -1
- package/browser/esm/{DOOtFx98SpBU9slo.mjs → avoafXC3wFDUXth0.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{BMPtWE8rKhHUBeHq.mjs → ogjAVOURv3Dw64DC.mjs} +1 -1
- package/node/esm/{B69k6s3FDf3Y1uaY.mjs → BSNdHZaRYd8Spnxw.mjs} +1 -1
- package/{browser/esm/BLLM1a7j2zDutgdn.mjs → node/esm/BTHmeRgd80Ks4gLU.mjs} +1 -1
- package/{browser/esm/D8gjhdx_Xqsi3cKw.mjs → node/esm/BWX4Z3gLOqLnGq5-.mjs} +1 -1
- package/node/esm/{oB0hNSon9iSupN61.mjs → Bf75as9Q3Qc-ypIa.mjs} +1 -1
- package/{browser/esm/XPdgSbhpX_pQVL6A.mjs → node/esm/Bl4TblmHh2ZZEOeM.mjs} +1 -1
- package/node/esm/{CQfle-IzXwkDIwVM.mjs → Bos8gc5QIdDN9lPV.mjs} +1 -1
- package/node/esm/{BIQ8lEos4BM157nK.mjs → Bv6OTDaKokrcvlVS.mjs} +1 -1
- package/node/esm/{DSQI7KQOVQxxE9Ye.mjs → C8wxvzViedP3BIAP.mjs} +1 -1
- package/node/esm/{CUHZSrbZKQ1c2FoU.mjs → CNMOZ8sWsZO0r3Po.mjs} +1 -1
- package/node/esm/{DqAhp5KgAOgZ-Brw.mjs → CTP7pUjB4kt-dlJt.mjs} +2 -2
- package/{browser/esm/BqqXCwiNbkGpedAS.mjs → node/esm/CthnjrkHcV3vBELm.mjs} +1 -1
- package/node/esm/{fRBGTsg03jaBU78d.mjs → Cz2wPTStHfeaq0j7.mjs} +1 -1
- package/node/esm/{PaJNkGQ4-WxryDbZ.mjs → D0R7etXj7-AJQXPH.mjs} +1 -1
- package/node/esm/{Dz3nvWzFEyxx2-EG.mjs → D0SKZIVpNxQG99wj.mjs} +1 -1
- package/{browser/esm/CGM1copgb7JBNjMy.mjs → node/esm/D7EAv4Yrej-O1rvi.mjs} +1 -1
- package/{browser/esm/B0kdwQ-DAPMKU-Lu.mjs → node/esm/D89YHALKlXYeVYnk.mjs} +1 -1
- package/{browser/esm/DQMx53pwfb-FQSQq.mjs → node/esm/DBkCPQqetWJLuu56.mjs} +1 -1
- package/node/esm/{CEeGulHzh8pLSXEy.mjs → DQkht0SFCSHDLAXM.mjs} +1 -1
- package/node/esm/{CEhC1TYmvNn7QUL8.mjs → Du8UZXf9Hijkb3hs.mjs} +1 -1
- package/{browser/esm/DMUR6fPI_mOuhDGg.mjs → node/esm/LIUTDl0upH5W7a4T.mjs} +1 -1
- package/{browser/esm/CnbSLtB6PZqEaHPs.mjs → node/esm/Ps7eawwxSuV8kGKv.mjs} +1 -1
- package/node/esm/{BbT6ldt0Jgyoth6C.mjs → TxAhOic8i70At_lA.mjs} +1 -1
- package/{browser/esm/ClPiz4hpH1Prls22.mjs → node/esm/YFRUYXkHCBAqmxd6.mjs} +1 -1
- package/node/esm/{ThHi760GPWarOHix.mjs → ZxDi0FtPA6wSON0q.mjs} +1 -1
- package/node/esm/{v_Z6SkG5MWMbPzMA.mjs → aRD5OH6MI2hprUio.mjs} +1 -1
- package/node/esm/index.mjs +1786 -1768
- package/package.json +4 -4
- package/types/index.d.ts +39 -3
- package/types/scripting.d.ts +49 -10
- package/browser/cjs/JPD0wRfrt8xBhtwJ.cjs +0 -54
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.6.
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"automation"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@sheetxl/primitives": "^0.6.
|
|
35
|
-
"@sheetxl/scripting": "^0.6.
|
|
36
|
-
"@sheetxl/utils": "^0.6.
|
|
34
|
+
"@sheetxl/primitives": "^0.6.2",
|
|
35
|
+
"@sheetxl/scripting": "^0.6.2",
|
|
36
|
+
"@sheetxl/utils": "^0.6.2",
|
|
37
37
|
"bahttext": "^2.3.0",
|
|
38
38
|
"bessel": "^1.0.2",
|
|
39
39
|
"chalk": "^5.5.0",
|
package/types/index.d.ts
CHANGED
|
@@ -3162,6 +3162,14 @@ export declare namespace ICalculation {
|
|
|
3162
3162
|
* A single unit of data and meta data within an `ICellRange`, located at a specific row and column.
|
|
3163
3163
|
*/
|
|
3164
3164
|
export declare interface ICell {
|
|
3165
|
+
/**
|
|
3166
|
+
* Returns the range of the cell.
|
|
3167
|
+
*
|
|
3168
|
+
* @remarks
|
|
3169
|
+
* Returns a range for a single cell.
|
|
3170
|
+
* Temporary cells will have to return InvalidRange
|
|
3171
|
+
*/
|
|
3172
|
+
getRange(): ICellRange;
|
|
3165
3173
|
/**
|
|
3166
3174
|
* Returns the value of the cell.
|
|
3167
3175
|
*
|
|
@@ -4282,12 +4290,14 @@ export declare interface ICellRange {
|
|
|
4282
4290
|
*/
|
|
4283
4291
|
getMerges(): IRange.Coords[];
|
|
4284
4292
|
/**
|
|
4285
|
-
*
|
|
4293
|
+
* Returns a cell in the range.
|
|
4294
|
+
*
|
|
4295
|
+
* @param address The address of the cell to retrieve. This must be within the range bounds. Default Value the 'top left'
|
|
4286
4296
|
*
|
|
4287
4297
|
* @see
|
|
4288
4298
|
* {@link ICellRange.getCells}
|
|
4289
4299
|
*/
|
|
4290
|
-
getCell(): ICell;
|
|
4300
|
+
getCell(address?: ICell.Address): ICell;
|
|
4291
4301
|
/**
|
|
4292
4302
|
* Return a 2D array of {@link ICell | cells} in the shape of the range.
|
|
4293
4303
|
*
|
|
@@ -4542,6 +4552,15 @@ export declare interface ICellRange {
|
|
|
4542
4552
|
* {@link ICellRange.setValues}
|
|
4543
4553
|
*/
|
|
4544
4554
|
setValue(value: ICellRange.ValuesUpdateOrCallback, options?: ICellRange.SetValuesOptions): this;
|
|
4555
|
+
/**
|
|
4556
|
+
* Set the formula for a range.
|
|
4557
|
+
*
|
|
4558
|
+
* @remarks
|
|
4559
|
+
* Identical behavior to setValue. Exists for ergonomics
|
|
4560
|
+
* @see
|
|
4561
|
+
* {@link ICellRange.setValue}
|
|
4562
|
+
*/
|
|
4563
|
+
setFormula(value: ICellRange.ValuesUpdateOrCallback, options?: ICellRange.SetValuesOptions): this;
|
|
4545
4564
|
/**
|
|
4546
4565
|
* Re-evaluates and formulas within the range.
|
|
4547
4566
|
* @param full If `true` then all formulas will be recalculated.
|
|
@@ -11453,6 +11472,12 @@ export declare interface ISheet extends ITransaction.ITransactional, IListener.I
|
|
|
11453
11472
|
* @param options Options for the ranges.
|
|
11454
11473
|
*/
|
|
11455
11474
|
getRange(address: ICellRange.Address, options?: ICellRange.GetRangeOptions): ICellRange;
|
|
11475
|
+
/**
|
|
11476
|
+
* Returns a {@link ICell} at the specified address.
|
|
11477
|
+
*
|
|
11478
|
+
* @param address Address of the cell.
|
|
11479
|
+
*/
|
|
11480
|
+
getCell(address: ICell.Address): ICell;
|
|
11456
11481
|
/**
|
|
11457
11482
|
* Returns an {@link ICellRanges}. An {@link ICellRanges} is an ordered list of
|
|
11458
11483
|
* {@link ICellRange}s. These are used to interact with a set of contiguous 2D ranges.
|
|
@@ -12160,7 +12185,7 @@ export declare interface ISheetCollection extends ICollection<ISheet> {
|
|
|
12160
12185
|
/**
|
|
12161
12186
|
* Add an `ISheet` to the collection.
|
|
12162
12187
|
*/
|
|
12163
|
-
add(options?: ISheetCollection.AddOptions): ISheet;
|
|
12188
|
+
add(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
12164
12189
|
/**
|
|
12165
12190
|
* Returns sheets that match the filter criteria.
|
|
12166
12191
|
*
|
|
@@ -16805,6 +16830,13 @@ export declare interface IWorkbook extends ITransaction.ITransactional, IListene
|
|
|
16805
16830
|
* Returns the collection of sheets within the workbook.
|
|
16806
16831
|
*/
|
|
16807
16832
|
getSheets(): ISheetCollection;
|
|
16833
|
+
/**
|
|
16834
|
+
* Adds a new sheet to the workbook.
|
|
16835
|
+
*
|
|
16836
|
+
* @remarks
|
|
16837
|
+
* This is a convenience method that wraps `getSheets().add`.
|
|
16838
|
+
*/
|
|
16839
|
+
addSheet(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
16808
16840
|
/**
|
|
16809
16841
|
* Returns the sheet at the given offset.
|
|
16810
16842
|
*
|
|
@@ -18371,6 +18403,8 @@ export declare class Sheet implements ISheet {
|
|
|
18371
18403
|
/* Excluded from this release type: _createRanges */
|
|
18372
18404
|
/** {@inheritDoc ISheet.getRange} */
|
|
18373
18405
|
getRange(address: ICellRange.Address, options?: ICellRange.GetRangeOptions): ICellRange;
|
|
18406
|
+
/** {@inheritDoc ISheet.getCell} */
|
|
18407
|
+
getCell(address: ICell.Address): ICell;
|
|
18374
18408
|
/** {@inheritDoc ISheet.getRange} */
|
|
18375
18409
|
getRanges(address: ICellRanges.Address, options?: ICellRange.GetRangeOptions): ICellRanges;
|
|
18376
18410
|
/** {@inheritDoc ISheet.getSelectedRange} */
|
|
@@ -20539,6 +20573,8 @@ export declare class Workbook implements IWorkbook {
|
|
|
20539
20573
|
getSheetAt(index: number, visibility?: ISheet.Visibility): ISheet;
|
|
20540
20574
|
/** {@inheritDoc IWorkbook.getSheets} */
|
|
20541
20575
|
getSheets(): ISheetCollection;
|
|
20576
|
+
/** {@inheritDoc IWorkbook.addSheet} */
|
|
20577
|
+
addSheet(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
20542
20578
|
protected _getSheets(visibility?: ISheet.Visibility): ISheet[];
|
|
20543
20579
|
protected _getSheetRefs(visibility?: ISheet.Visibility): SheetRef[];
|
|
20544
20580
|
/* Excluded from this release type: _getSheetRef */
|
package/types/scripting.d.ts
CHANGED
|
@@ -15519,6 +15519,12 @@ declare module "sheet/ISheet" {
|
|
|
15519
15519
|
* @param options Options for the ranges.
|
|
15520
15520
|
*/
|
|
15521
15521
|
getRange(address: ICellRange.Address, options?: ICellRange.GetRangeOptions): ICellRange;
|
|
15522
|
+
/**
|
|
15523
|
+
* Returns a {@link ICell} at the specified address.
|
|
15524
|
+
*
|
|
15525
|
+
* @param address Address of the cell.
|
|
15526
|
+
*/
|
|
15527
|
+
getCell(address: ICell.Address): ICell;
|
|
15522
15528
|
/**
|
|
15523
15529
|
* Returns an {@link ICellRanges}. An {@link ICellRanges} is an ordered list of
|
|
15524
15530
|
* {@link ICellRange}s. These are used to interact with a set of contiguous 2D ranges.
|
|
@@ -17944,6 +17950,9 @@ declare module "sheet/SheetCell" {
|
|
|
17944
17950
|
protected _styleConditional: IStyle;
|
|
17945
17951
|
constructor(options: SheetCellOptions, coords: IRange.CellCoords, type?: ScalarType, value?: Scalar, rs?: RangeState.Intersection, p?: IRange.CellCoords, // prev
|
|
17946
17952
|
n?: IRange.CellCoords);
|
|
17953
|
+
/** {@inheritDoc ICell.getRange} */
|
|
17954
|
+
getRange(): ICellRange;
|
|
17955
|
+
/** {@inheritDoc ICell.isEqual} */
|
|
17947
17956
|
isEqual(other: ICell): boolean;
|
|
17948
17957
|
/** {@inheritDoc ICell.getCoords} */
|
|
17949
17958
|
getCoords(): IRange.CellCoords;
|
|
@@ -23987,6 +23996,14 @@ declare module "cell/ICell" {
|
|
|
23987
23996
|
* A single unit of data and meta data within an `ICellRange`, located at a specific row and column.
|
|
23988
23997
|
*/
|
|
23989
23998
|
export interface ICell {
|
|
23999
|
+
/**
|
|
24000
|
+
* Returns the range of the cell.
|
|
24001
|
+
*
|
|
24002
|
+
* @remarks
|
|
24003
|
+
* Returns a range for a single cell.
|
|
24004
|
+
* Temporary cells will have to return InvalidRange
|
|
24005
|
+
*/
|
|
24006
|
+
getRange(): ICellRange;
|
|
23990
24007
|
/**
|
|
23991
24008
|
* Returns the value of the cell.
|
|
23992
24009
|
*
|
|
@@ -26879,12 +26896,14 @@ declare module "cellRange/ICellRange" {
|
|
|
26879
26896
|
*/
|
|
26880
26897
|
getMerges(): IRange.Coords[];
|
|
26881
26898
|
/**
|
|
26882
|
-
*
|
|
26899
|
+
* Returns a cell in the range.
|
|
26900
|
+
*
|
|
26901
|
+
* @param address The address of the cell to retrieve. This must be within the range bounds. Default Value the 'top left'
|
|
26883
26902
|
*
|
|
26884
26903
|
* @see
|
|
26885
26904
|
* {@link ICellRange.getCells}
|
|
26886
26905
|
*/
|
|
26887
|
-
getCell(): ICell;
|
|
26906
|
+
getCell(address?: ICell.Address): ICell;
|
|
26888
26907
|
/**
|
|
26889
26908
|
* Return a 2D array of {@link ICell | cells} in the shape of the range.
|
|
26890
26909
|
*
|
|
@@ -27139,6 +27158,15 @@ declare module "cellRange/ICellRange" {
|
|
|
27139
27158
|
* {@link ICellRange.setValues}
|
|
27140
27159
|
*/
|
|
27141
27160
|
setValue(value: ICellRange.ValuesUpdateOrCallback, options?: ICellRange.SetValuesOptions): this;
|
|
27161
|
+
/**
|
|
27162
|
+
* Set the formula for a range.
|
|
27163
|
+
*
|
|
27164
|
+
* @remarks
|
|
27165
|
+
* Identical behavior to setValue. Exists for ergonomics
|
|
27166
|
+
* @see
|
|
27167
|
+
* {@link ICellRange.setValue}
|
|
27168
|
+
*/
|
|
27169
|
+
setFormula(value: ICellRange.ValuesUpdateOrCallback, options?: ICellRange.SetValuesOptions): this;
|
|
27142
27170
|
/**
|
|
27143
27171
|
* Re-evaluates and formulas within the range.
|
|
27144
27172
|
* @param full If `true` then all formulas will be recalculated.
|
|
@@ -29587,7 +29615,7 @@ declare module "sheet/ISheetCollection" {
|
|
|
29587
29615
|
/**
|
|
29588
29616
|
* Add an `ISheet` to the collection.
|
|
29589
29617
|
*/
|
|
29590
|
-
add(options?: ISheetCollection.AddOptions): ISheet;
|
|
29618
|
+
add(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
29591
29619
|
/**
|
|
29592
29620
|
* Returns sheets that match the filter criteria.
|
|
29593
29621
|
*
|
|
@@ -32091,10 +32119,12 @@ declare module "sheet/SheetRange" {
|
|
|
32091
32119
|
protected _validateWrite(): void;
|
|
32092
32120
|
/** {@inheritDoc ICellRange.updateCells} */
|
|
32093
32121
|
updateCells(value: ICellRange.Update, options?: ICellRange.UpdateCellsOptions, updateCoords?: IRange.Coords): this;
|
|
32094
|
-
/** {@inheritDoc ICellRange.setValue} */
|
|
32095
|
-
setValue(value: ScalarUpdate, options?: ICellRange.SetValuesOptions): this;
|
|
32096
32122
|
/** {@inheritDoc ICellRange.setValues} */
|
|
32097
32123
|
setValues(value: ICellRange.ValuesUpdate, options?: ICellRange.SetValuesOptions): this;
|
|
32124
|
+
/** {@inheritDoc ICellRange.setValue} */
|
|
32125
|
+
setValue(value: ScalarUpdate, options?: ICellRange.SetValuesOptions): this;
|
|
32126
|
+
/** {@inheritDoc ICellRange.setFormula} */
|
|
32127
|
+
setFormula(value: ScalarUpdate, options?: ICellRange.SetValuesOptions): this;
|
|
32098
32128
|
/** @internal */
|
|
32099
32129
|
protected _setValueOrValues(value: ICellRange.ValuesUpdate, options?: ICellRange.SetValuesOptions): this;
|
|
32100
32130
|
/** {@inheritDoc ICellRange.getValues} */
|
|
@@ -32106,7 +32136,7 @@ declare module "sheet/SheetRange" {
|
|
|
32106
32136
|
/** {@inheritDoc ICellRange.getCells} */
|
|
32107
32137
|
getCells(options?: ICellRange.GetValuesOptions): ICell[][];
|
|
32108
32138
|
/** {@inheritDoc ICellRange.getCell} */
|
|
32109
|
-
getCell(): ICell;
|
|
32139
|
+
getCell(address?: ICell.Address): ICell;
|
|
32110
32140
|
/** {@inheritDoc ICellRange.select} */
|
|
32111
32141
|
select(options?: ICellRange.SelectOptions): Promise<this>;
|
|
32112
32142
|
/** {@inheritDoc ICellRange.find} */
|
|
@@ -32205,8 +32235,6 @@ declare module "sheet/SheetRange" {
|
|
|
32205
32235
|
setHyperlink(hyperlink: IHyperlink.Update, options?: ITransaction.OperationOptions): this;
|
|
32206
32236
|
/** {@inheritDoc ICellRange.setComments} */
|
|
32207
32237
|
setComments(comments: IComment.Properties, options?: ITransaction.OperationOptions): this;
|
|
32208
|
-
/** {@inheritDoc ICellRange.setFormula} */
|
|
32209
|
-
setFormula(formula: string, options?: ITransaction.OperationOptions): this;
|
|
32210
32238
|
/** {@inheritDoc ICellRange.updateStyle} */
|
|
32211
32239
|
updateStyle(style: IStyle.Update, options?: IStyle.UpdateOptions): this;
|
|
32212
32240
|
/** {@inheritDoc ICellRange.getStyleUpdater} */
|
|
@@ -32523,6 +32551,8 @@ declare module "sheet/Sheet" {
|
|
|
32523
32551
|
protected _createRanges(coords: readonly IRange.Coords[], getOptions?: ICellRange.GetRangeOptions, readOnly?: string): ICellRanges;
|
|
32524
32552
|
/** {@inheritDoc ISheet.getRange} */
|
|
32525
32553
|
getRange(address: ICellRange.Address, options?: ICellRange.GetRangeOptions): ICellRange;
|
|
32554
|
+
/** {@inheritDoc ISheet.getCell} */
|
|
32555
|
+
getCell(address: ICell.Address): ICell;
|
|
32526
32556
|
/** {@inheritDoc ISheet.getRange} */
|
|
32527
32557
|
getRanges(address: ICellRanges.Address, options?: ICellRange.GetRangeOptions): ICellRanges;
|
|
32528
32558
|
/** {@inheritDoc ISheet.getSelectedRange} */
|
|
@@ -33153,6 +33183,13 @@ declare module "workbook/IWorkbook" {
|
|
|
33153
33183
|
* Returns the collection of sheets within the workbook.
|
|
33154
33184
|
*/
|
|
33155
33185
|
getSheets(): ISheetCollection;
|
|
33186
|
+
/**
|
|
33187
|
+
* Adds a new sheet to the workbook.
|
|
33188
|
+
*
|
|
33189
|
+
* @remarks
|
|
33190
|
+
* This is a convenience method that wraps `getSheets().add`.
|
|
33191
|
+
*/
|
|
33192
|
+
addSheet(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
33156
33193
|
/**
|
|
33157
33194
|
* Returns the sheet at the given offset.
|
|
33158
33195
|
*
|
|
@@ -33776,7 +33813,7 @@ declare module "sheet/SheetCollection" {
|
|
|
33776
33813
|
private _get;
|
|
33777
33814
|
constructor(add: (options: ISheetCollection.AddOptions) => ISheet, get: (name?: string, visibility?: ISheet.Visibility) => ISheet[]);
|
|
33778
33815
|
/** {@inheritDoc ISheetCollection.add} */
|
|
33779
|
-
add(options?: ISheetCollection.AddOptions): ISheet;
|
|
33816
|
+
add(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
33780
33817
|
/** {@inheritDoc ISheetCollection.getItems} */
|
|
33781
33818
|
getItems(options?: ISheetCollection.GetItemsOptions): ISheet[];
|
|
33782
33819
|
/** {@inheritDoc ISheetCollection.getByName} */
|
|
@@ -34023,6 +34060,8 @@ declare module "workbook/Workbook" {
|
|
|
34023
34060
|
getSheetAt(index: number, visibility?: ISheet.Visibility): ISheet;
|
|
34024
34061
|
/** {@inheritDoc IWorkbook.getSheets} */
|
|
34025
34062
|
getSheets(): ISheetCollection;
|
|
34063
|
+
/** {@inheritDoc IWorkbook.addSheet} */
|
|
34064
|
+
addSheet(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
34026
34065
|
protected _getSheets(visibility?: ISheet.Visibility): ISheet[];
|
|
34027
34066
|
protected _getSheetRefs(visibility?: ISheet.Visibility): SheetRef[];
|
|
34028
34067
|
/** @internal */
|
|
@@ -34034,7 +34073,7 @@ declare module "workbook/Workbook" {
|
|
|
34034
34073
|
/** {@inheritDoc IWorkbook.isValidSheetNameCharacter} */
|
|
34035
34074
|
isValidSheetNameCharacter(character: string): boolean;
|
|
34036
34075
|
/** @internal */
|
|
34037
|
-
protected _addSheetOptions(options?: ISheetCollection.AddOptions): ISheet;
|
|
34076
|
+
protected _addSheetOptions(options?: ISheetCollection.AddOptions | string | number): ISheet;
|
|
34038
34077
|
/** @internal */
|
|
34039
34078
|
protected _nextSheetName(sheetName?: string): string;
|
|
34040
34079
|
/** @internal */
|