@sheetxl/sdk 0.7.4 → 0.7.6
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 +9 -5
- package/browser/cjs/{DuoFuWP0BvbLLCAD.cjs → B2UodXpOUlHSIzTE.cjs} +1 -1
- package/browser/cjs/{CKGkl06tQxSfzCEf.cjs → B3YChoE8uWYsB8po.cjs} +1 -1
- package/browser/cjs/{Cu0OjAaSGydVOqQc.cjs → BZAZH_QaXxk759nf.cjs} +1 -1
- package/browser/cjs/{DHDNF3ClCECfm2m_.cjs → BZfhxke18dRksnQh.cjs} +1 -1
- package/browser/cjs/{BfmWN26SvG8tBHs_.cjs → BgiB4XbmHXoBeMWF.cjs} +1 -1
- package/browser/cjs/{Dun_ScVyxgqcMnAB.cjs → BhHMwt5EMpxbIO1H.cjs} +1 -1
- package/browser/cjs/{DxJQljGGzlSzjfYh.cjs → BuqLM2n-G-8Ui2F7.cjs} +3 -3
- package/browser/cjs/{njvuIZ97qPWWGyjC.cjs → C2_540YzBFF_QkDW.cjs} +1 -1
- package/browser/cjs/{hxeutVHyEunOrasg.cjs → CEtIcmQJ79QEYsHX.cjs} +1 -1
- package/browser/cjs/{BGqDvbRLQA9bc7Kv.cjs → CJ-JCnqmrXv6jcq1.cjs} +1 -1
- package/browser/cjs/{BPkfDnqvffKUJAK8.cjs → CXkmHi9CjNO6gYPR.cjs} +1 -1
- package/browser/cjs/{CUyaRG8DeY0xDitI.cjs → C_VnfNj8tvpyEYog.cjs} +1 -1
- package/browser/cjs/{dex2rdArhLQ52Egv.cjs → CaMZMnpoI0WtZTbE.cjs} +1 -1
- package/browser/cjs/{Bcuu1mWWncUgkXK_.cjs → Cqy2wsiwafkaaIm8.cjs} +1 -1
- package/browser/cjs/{CD7lXVZiM6OrWcgm.cjs → DAf36QsWu-aUG8NR.cjs} +1 -1
- package/browser/cjs/{kCljFnJCGsloEui0.cjs → DJeZQ4TP0COwx3O5.cjs} +1 -1
- package/browser/cjs/{DirjelozrMnIzaCe.cjs → DLCbJzSKGL4mz2Kg.cjs} +1 -1
- package/browser/cjs/{hFM5apBllVZcg-5Z.cjs → DbK-bmadwvDP96VG.cjs} +1 -1
- package/browser/cjs/{Pu2c0D7_pnbn3Z-a.cjs → DdsV7dwQvwbPY8fN.cjs} +2 -2
- package/browser/cjs/{CmvU19_w5KX6GAEA.cjs → Dn8oMACSoivY4EOy.cjs} +2 -2
- package/browser/cjs/{DM2Q-1akHZiWAtQv.cjs → Dv9NPjCDXh75BR6a.cjs} +1 -1
- package/browser/cjs/{BIazXUFpNxGfmqcw.cjs → GqxScT8Z6UJbzYyH.cjs} +1 -1
- package/browser/cjs/bc5m0TQg7Iw3Onom.cjs +55 -0
- package/browser/cjs/{DUczEYfDFUWOBRj0.cjs → cSC1y3rV2P0gjlRW.cjs} +1 -1
- package/browser/cjs/{D-RDKyYstcWQNkfP.cjs → gbRetbAohpiKzQhQ.cjs} +1 -1
- package/browser/cjs/{C-zwq90yF5QSb3cB.cjs → gw50ngla3lsqtuyV.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{B4oHEc-tcBl9Kv78.cjs → lNxQ_AMcQbOPxqxj.cjs} +1 -1
- package/{node/esm/DQKVVcT5SYbx2kc9.mjs → browser/esm/3yGyCGozqXEE_Svv.mjs} +1 -1
- package/browser/esm/{DT3o0r55-gsQS_Rh.mjs → B2kJPp2FBeibEpKP.mjs} +1 -1
- package/browser/esm/{BAT5AJ99Cf0LRZtZ.mjs → B8luvRhebJCRtg4p.mjs} +2 -2
- package/browser/esm/{BDnf73C0crNnvaya.mjs → B9OX1POR2H9SGVs8.mjs} +1 -1
- package/{node/esm/Dyx2ShvhhiHCSuYt.mjs → browser/esm/B9qammonvxPsV8Iu.mjs} +1 -1
- package/{node/esm/DycJTeDEnbjgJylX.mjs → browser/esm/BLDtS5iA1exqm98u.mjs} +1 -1
- package/browser/esm/{BEhxdl4d0aII3YRX.mjs → BbFqDU0XLWpYAAWh.mjs} +3 -3
- package/browser/esm/{CoAQVXze8XIQnBd_.mjs → BdFX2KKZjlTKZNcR.mjs} +1 -1
- package/{node/esm/2rYXtOCDr6ewiHtO.mjs → browser/esm/BmtqxNpwt0GsUDOk.mjs} +1 -1
- package/{node/esm/D6CwnvhCKuh60Bsf.mjs → browser/esm/Bofhu64WxcOCKHmw.mjs} +1 -1
- package/{node/esm/YMtqdHwkU20JUjr2.mjs → browser/esm/BvNa8CReZ1U0Evf2.mjs} +1 -1
- package/browser/esm/{DNMYLsbIIu38XYoH.mjs → C6uXPQDNQJQfUgTL.mjs} +1 -1
- package/browser/esm/{BwkrpardUygia2yp.mjs → CFCLa0c2_SlLrvYp.mjs} +1 -1
- package/browser/esm/{Cn5D6vmBVwtcg4xX.mjs → CJDLBKcsUVm3wUZo.mjs} +5709 -5691
- package/{node/esm/CVFEbAgSgLquHCXN.mjs → browser/esm/CK44O-jioQqnJwi9.mjs} +1 -1
- package/browser/esm/{GQb8m83PbuJhyEUL.mjs → CUzLy8WK2Ct0bDsi.mjs} +1 -1
- package/{node/esm/CA1RsvY5XbEF4pwT.mjs → browser/esm/CfHam9cHrr9o_pzU.mjs} +1 -1
- package/{node/esm/B5Lo3SvMUsfmXy7y.mjs → browser/esm/Ciu-v7Am3JjYNeF3.mjs} +1 -1
- package/{node/esm/CWPFTZMRFpYZr7wB.mjs → browser/esm/Cl00c7N-0p_J9ueD.mjs} +1 -1
- package/{node/esm/ptGNFOgaz_fOLjuD.mjs → browser/esm/Cn1dxSTCmglyaB2p.mjs} +1 -1
- package/browser/esm/{OmJumDEhHKvHdhLD.mjs → Cu--bFW0A9F3eOBg.mjs} +1 -1
- package/browser/esm/{DLge5xgtX8n0UXXC.mjs → D-X8WkG0PAHeuAZ9.mjs} +1 -1
- package/browser/esm/{H-rvPgX6gIg1L_Kr.mjs → DaYq0AErpGzt0TDL.mjs} +1 -1
- package/browser/esm/{XjRrnax7j-Yout6v.mjs → DptxrjfOlvBGROOc.mjs} +1 -1
- package/browser/esm/{d87zzVGyGeofGP6G.mjs → J9gqZ_riHTnXRbXR.mjs} +1 -1
- package/browser/esm/{C8RGKXsRyLdQFEoU.mjs → O4HYxW1CK9LJ59k4.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{BSXcEX1dCLWEqbk_.mjs → jJ7v5a6zu09dIALd.mjs} +1 -1
- package/{browser/esm/DQKVVcT5SYbx2kc9.mjs → node/esm/3yGyCGozqXEE_Svv.mjs} +1 -1
- package/node/esm/{C7mnV1p7QT184Ogm.mjs → 4TCSsIA1FcFUpZq3.mjs} +1 -1
- package/node/esm/{DT3o0r55-gsQS_Rh.mjs → B2kJPp2FBeibEpKP.mjs} +1 -1
- package/{browser/esm/Dyx2ShvhhiHCSuYt.mjs → node/esm/B9qammonvxPsV8Iu.mjs} +1 -1
- package/{browser/esm/DycJTeDEnbjgJylX.mjs → node/esm/BLDtS5iA1exqm98u.mjs} +1 -1
- package/node/esm/{BiucvCgCfHNkzrld.mjs → Bg_rTo4xKokET-4k.mjs} +1 -1
- package/{browser/esm/2rYXtOCDr6ewiHtO.mjs → node/esm/BmtqxNpwt0GsUDOk.mjs} +1 -1
- package/{browser/esm/D6CwnvhCKuh60Bsf.mjs → node/esm/Bofhu64WxcOCKHmw.mjs} +1 -1
- package/node/esm/{D7ivCWR9p0ugh9xA.mjs → BuYmvitBD4AXa0au.mjs} +1 -1
- package/{browser/esm/YMtqdHwkU20JUjr2.mjs → node/esm/BvNa8CReZ1U0Evf2.mjs} +1 -1
- package/node/esm/{DLEeCTPUm2Vk-EEQ.mjs → CEFyYUoqP_lZR6j6.mjs} +1 -1
- package/{browser/esm/CVFEbAgSgLquHCXN.mjs → node/esm/CK44O-jioQqnJwi9.mjs} +1 -1
- package/{browser/esm/CA1RsvY5XbEF4pwT.mjs → node/esm/CfHam9cHrr9o_pzU.mjs} +1 -1
- package/node/esm/{DkozV-HybXSLJ2w8.mjs → ChHVRl-XsyzH_zEo.mjs} +1 -1
- package/{browser/esm/B5Lo3SvMUsfmXy7y.mjs → node/esm/Ciu-v7Am3JjYNeF3.mjs} +1 -1
- package/node/esm/{x5Yx2OU_76aoKQ2-.mjs → CjGou4cuFLy0BTGR.mjs} +1 -1
- package/{browser/esm/CWPFTZMRFpYZr7wB.mjs → node/esm/Cl00c7N-0p_J9ueD.mjs} +1 -1
- package/node/esm/{hC1Hd5iuGtXbhHMK.mjs → Cl09BvfaM01sYDXU.mjs} +2 -2
- package/{browser/esm/ptGNFOgaz_fOLjuD.mjs → node/esm/Cn1dxSTCmglyaB2p.mjs} +1 -1
- package/node/esm/{fWxBPiGAwmGSVZlb.mjs → D79WI4obIT9MT4N9.mjs} +1 -1
- package/node/esm/{H-rvPgX6gIg1L_Kr.mjs → DaYq0AErpGzt0TDL.mjs} +1 -1
- package/node/esm/{XjRrnax7j-Yout6v.mjs → DptxrjfOlvBGROOc.mjs} +1 -1
- package/node/esm/{8ASI7lTb55tpSFfA.mjs → GCNf-I5s0xvLW5do.mjs} +1 -1
- package/node/esm/{d87zzVGyGeofGP6G.mjs → J9gqZ_riHTnXRbXR.mjs} +1 -1
- package/node/esm/index.mjs +2656 -2626
- package/node/esm/{BSXcEX1dCLWEqbk_.mjs → jJ7v5a6zu09dIALd.mjs} +1 -1
- package/package.json +17 -5
- package/types/index.d.ts +38 -30
- package/types/scripting.d.ts +81 -62
- package/browser/cjs/YHnxgjC1Q6A1IRq8.cjs +0 -54
|
@@ -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.6
|
|
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.6",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -21,19 +21,31 @@
|
|
|
21
21
|
"node": ">=20 <21 || >=22"
|
|
22
22
|
},
|
|
23
23
|
"engineStrict": true,
|
|
24
|
+
"homepage": "https://sheetxl.com",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/sheetxl/sheetxl.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/sheetxl/sheetxl/issues"
|
|
31
|
+
},
|
|
24
32
|
"keywords": [
|
|
25
33
|
"sheetxl",
|
|
26
34
|
"spreadsheet",
|
|
27
|
-
"
|
|
35
|
+
"javascript",
|
|
28
36
|
"typescript",
|
|
37
|
+
"data grid",
|
|
38
|
+
"excel",
|
|
39
|
+
"xlsx",
|
|
40
|
+
"api",
|
|
29
41
|
"sdk",
|
|
30
42
|
"headless",
|
|
31
43
|
"automation"
|
|
32
44
|
],
|
|
33
45
|
"dependencies": {
|
|
34
|
-
"@sheetxl/primitives": "^0.7.
|
|
35
|
-
"@sheetxl/scripting": "^0.7.
|
|
36
|
-
"@sheetxl/utils": "^0.7.
|
|
46
|
+
"@sheetxl/primitives": "^0.7.6",
|
|
47
|
+
"@sheetxl/scripting": "^0.7.6",
|
|
48
|
+
"@sheetxl/utils": "^0.7.6",
|
|
37
49
|
"bahttext": "^2.3.0",
|
|
38
50
|
"bessel": "^1.0.2",
|
|
39
51
|
"chalk": "^5.5.0",
|
package/types/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { CompiledModule } from '@sheetxl/scripting';
|
|
|
5
5
|
import { CompileOptions } from '@sheetxl/scripting';
|
|
6
6
|
import { CompileResults } from '@sheetxl/scripting';
|
|
7
7
|
import { CoordUtils } from '@sheetxl/utils';
|
|
8
|
-
import { Dimensions } from '@sheetxl/utils';
|
|
9
8
|
import { Direction } from '@sheetxl/utils';
|
|
10
9
|
import { EditMode } from '@sheetxl/utils';
|
|
11
10
|
import { FetchArgs } from '@sheetxl/utils';
|
|
@@ -29,6 +28,7 @@ import { RunCoords } from '@sheetxl/utils';
|
|
|
29
28
|
import { Scalar } from '@sheetxl/primitives';
|
|
30
29
|
import { ScalarType } from '@sheetxl/primitives';
|
|
31
30
|
import { SelectionCoords } from '@sheetxl/utils';
|
|
31
|
+
import { Size } from '@sheetxl/utils';
|
|
32
32
|
import { TextAlign } from 'csstype';
|
|
33
33
|
import { TopLeft } from '@sheetxl/utils';
|
|
34
34
|
import { UndoManager } from '@sheetxl/utils';
|
|
@@ -805,7 +805,7 @@ declare const clampString: (str: string, maxLength?: number) => string;
|
|
|
805
805
|
* Takes an an inner un-rotated dimension and an outer un-rotated dimension and then will return
|
|
806
806
|
* an un-rotated rectangle that if rotated will fit inside the outer rectangle.
|
|
807
807
|
*/
|
|
808
|
-
declare const clipToOuterRect: (dimInner:
|
|
808
|
+
declare const clipToOuterRect: (dimInner: Size, dimOuter: Size, rotation?: number) => Size;
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
811
|
* Capabilities for working with {@link IColor | colors}.
|
|
@@ -1321,7 +1321,7 @@ declare const getFileNameExtension: (path: string) => string;
|
|
|
1321
1321
|
declare function getFontList(): readonly FontHandle[];
|
|
1322
1322
|
|
|
1323
1323
|
declare interface GetRangeEntriesOptions<T = any, E = any> {
|
|
1324
|
-
|
|
1324
|
+
ignoreHidden?: boolean | IRange.Orientation;
|
|
1325
1325
|
fullyContained?: boolean;
|
|
1326
1326
|
onEntry?: (value: E, entry: ISpatialMap.Entry<T>) => T | void;
|
|
1327
1327
|
noCache?: boolean;
|
|
@@ -3302,12 +3302,10 @@ export declare interface ICell {
|
|
|
3302
3302
|
/**
|
|
3303
3303
|
* Returns the cell's value as a formatted string, applying any number formatting.
|
|
3304
3304
|
*
|
|
3305
|
-
* @param numFmt A custom number format to apply (optional).
|
|
3306
|
-
*
|
|
3307
3305
|
* @see
|
|
3308
3306
|
* {@link toTextUnformatted}
|
|
3309
3307
|
*/
|
|
3310
|
-
toText(
|
|
3308
|
+
toText(): string;
|
|
3311
3309
|
/**
|
|
3312
3310
|
* Returns the cell's value as an unformatted string.
|
|
3313
3311
|
*
|
|
@@ -3354,7 +3352,7 @@ export declare interface ICell {
|
|
|
3354
3352
|
* Returns `null` if this cell should be ignored for sizing purposes.
|
|
3355
3353
|
* Either dimension can also be `null`, indicating that the specific direction should not be used.
|
|
3356
3354
|
*/
|
|
3357
|
-
getBestFit(colWidth?: number, minContent?: boolean): Readonly<Partial<
|
|
3355
|
+
getBestFit(colWidth?: number, minContent?: boolean): Readonly<Partial<Size>> | null;
|
|
3358
3356
|
/**
|
|
3359
3357
|
* Returns protection information.
|
|
3360
3358
|
*/
|
|
@@ -3369,7 +3367,7 @@ export declare interface ICell {
|
|
|
3369
3367
|
/**
|
|
3370
3368
|
* Returns the span dimensions for merged cells.
|
|
3371
3369
|
*/
|
|
3372
|
-
getSpans(): Readonly<
|
|
3370
|
+
getSpans(): Readonly<Size>;
|
|
3373
3371
|
/**
|
|
3374
3372
|
* Returns `true` if the cell is the top-left cell of a merged region, or if it is not part of a merged region.
|
|
3375
3373
|
*/
|
|
@@ -4134,7 +4132,7 @@ export declare namespace ICellHeaderRange {
|
|
|
4134
4132
|
* optionally a header orientation for skipping case be passed in.
|
|
4135
4133
|
* An example of this is for sorting where the sort direction (row) skips hidden rows but the column direction does not.
|
|
4136
4134
|
*/
|
|
4137
|
-
|
|
4135
|
+
ignoreHidden?: boolean;
|
|
4138
4136
|
}
|
|
4139
4137
|
/**
|
|
4140
4138
|
* Context for Iterators to provide access to the `IRange.CellCoords`, the `ICellHeader`, and additional operators.
|
|
@@ -4357,7 +4355,7 @@ export declare interface ICellRange {
|
|
|
4357
4355
|
* Returns the value for the top left `Scalar`.
|
|
4358
4356
|
*
|
|
4359
4357
|
* @remarks
|
|
4360
|
-
* The `
|
|
4358
|
+
* The `ignoreHidden` option is ignored.
|
|
4361
4359
|
*
|
|
4362
4360
|
* @see
|
|
4363
4361
|
* {@link ICellRange.getValues}
|
|
@@ -4567,6 +4565,10 @@ export declare interface ICellRange {
|
|
|
4567
4565
|
* * Setting {@link ICellRange.GetValuesOptions.asJSDate} to `true` will add make slower.
|
|
4568
4566
|
*/
|
|
4569
4567
|
getValues(options?: ICellRange.GetValuesOptions): Scalar[][];
|
|
4568
|
+
/**
|
|
4569
|
+
* Returns the range value as a string.
|
|
4570
|
+
*/
|
|
4571
|
+
toText(options?: ICellRange.ToTextOptions): string;
|
|
4570
4572
|
/**
|
|
4571
4573
|
* Set the value(s) of one or more cells within a range.
|
|
4572
4574
|
*
|
|
@@ -5227,10 +5229,16 @@ export declare namespace ICellRange {
|
|
|
5227
5229
|
* - Optionally, you can specify a `IRange.Orientation` to indicate the header orientation for skipping cases.
|
|
5228
5230
|
* For example, in sorting, you might want to skip hidden rows but not hidden columns.
|
|
5229
5231
|
*/
|
|
5230
|
-
|
|
5232
|
+
ignoreHidden?: boolean | IRange.Orientation;
|
|
5231
5233
|
/** {@inheritDoc ICellRange.IteratorOptions.includeMergeOverflow} */
|
|
5232
5234
|
includeMergeOverflow?: boolean;
|
|
5233
5235
|
}
|
|
5236
|
+
/**
|
|
5237
|
+
* Options for {@link ICellRange.toText}.
|
|
5238
|
+
*/
|
|
5239
|
+
export interface ToTextOptions extends ICellRange.GetValuesOptions {
|
|
5240
|
+
ignoreFormatting?: boolean;
|
|
5241
|
+
}
|
|
5234
5242
|
/**
|
|
5235
5243
|
* Options for {@link ICellRange.autoFit}.
|
|
5236
5244
|
*/
|
|
@@ -5669,7 +5677,7 @@ export declare namespace ICellRange {
|
|
|
5669
5677
|
* Optionally a header orientation for skipping case be passed in.
|
|
5670
5678
|
* An example of this is for sorting where the sort direction (row) skips hidden rows but the column direction does not.
|
|
5671
5679
|
*/
|
|
5672
|
-
|
|
5680
|
+
ignoreHidden?: boolean | IRange.Orientation;
|
|
5673
5681
|
/**
|
|
5674
5682
|
* If set to true the only the raw values will be visited.
|
|
5675
5683
|
*
|
|
@@ -5678,7 +5686,7 @@ export declare namespace ICellRange {
|
|
|
5678
5686
|
* @remarks
|
|
5679
5687
|
* This allows for much faster reading when only the value is needed.
|
|
5680
5688
|
*/
|
|
5681
|
-
|
|
5689
|
+
ignoreCellDetails?: boolean;
|
|
5682
5690
|
/**
|
|
5683
5691
|
* Includes any merge overflow in first element visited.
|
|
5684
5692
|
*
|
|
@@ -7901,7 +7909,7 @@ export declare namespace IConditionalFormatCollection {
|
|
|
7901
7909
|
*
|
|
7902
7910
|
* @defaultValue false
|
|
7903
7911
|
*/
|
|
7904
|
-
|
|
7912
|
+
ignoreHidden?: boolean;
|
|
7905
7913
|
/**
|
|
7906
7914
|
* Only return items that are completely contained with the search bounds.
|
|
7907
7915
|
*
|
|
@@ -10094,7 +10102,7 @@ export declare namespace IMovableCollection {
|
|
|
10094
10102
|
* Indicate if items that are in hidden headers or marked as hidden should be returned.
|
|
10095
10103
|
* @defaultValue false
|
|
10096
10104
|
*/
|
|
10097
|
-
|
|
10105
|
+
ignoreHidden?: boolean;
|
|
10098
10106
|
/**
|
|
10099
10107
|
* The type to search for. If not provided all items will be returned.
|
|
10100
10108
|
*/
|
|
@@ -10660,7 +10668,7 @@ export declare namespace IPicture {
|
|
|
10660
10668
|
/**
|
|
10661
10669
|
* The size of the image without any constraints. This info is determined by the file.
|
|
10662
10670
|
*/
|
|
10663
|
-
|
|
10671
|
+
getNaturalSize(): Size;
|
|
10664
10672
|
/**
|
|
10665
10673
|
* As a url that can be attached to the dom.
|
|
10666
10674
|
*/
|
|
@@ -11888,9 +11896,9 @@ export declare interface ISheet extends ITransaction.ITransactional, IListener.I
|
|
|
11888
11896
|
/**
|
|
11889
11897
|
* Returns a JSON representation of the sheet.
|
|
11890
11898
|
*
|
|
11891
|
-
* @param
|
|
11899
|
+
* @param ignoreData If `true` only meta data about the sheet will be saved.
|
|
11892
11900
|
*/
|
|
11893
|
-
toJSON(
|
|
11901
|
+
toJSON(ignoreData?: boolean): Promise<ISheet.JSON>;
|
|
11894
11902
|
/**
|
|
11895
11903
|
* Free all resources associated with the sheet.
|
|
11896
11904
|
*
|
|
@@ -13206,7 +13214,7 @@ export declare namespace ISort {
|
|
|
13206
13214
|
export interface DefaultSortCriteria {
|
|
13207
13215
|
/**
|
|
13208
13216
|
* The cords that will be sorted.
|
|
13209
|
-
* This may
|
|
13217
|
+
* This may ignore the header.
|
|
13210
13218
|
*/
|
|
13211
13219
|
coords: IRange.Coords;
|
|
13212
13220
|
/**
|
|
@@ -14139,7 +14147,7 @@ export declare interface IStyle {
|
|
|
14139
14147
|
/**
|
|
14140
14148
|
* Returns the best fit size assuming no content.
|
|
14141
14149
|
*/
|
|
14142
|
-
getBestFit(): Partial<
|
|
14150
|
+
getBestFit(): Partial<Size> | null;
|
|
14143
14151
|
/**
|
|
14144
14152
|
* Returns insets used for content. This does not taking into account indent because
|
|
14145
14153
|
* this is alignment and type specific.
|
|
@@ -14884,7 +14892,7 @@ export declare interface IStyledFont {
|
|
|
14884
14892
|
* Additionally due to the nature of css having different properties for the same logic value
|
|
14885
14893
|
* (for example color, backgroundColor)
|
|
14886
14894
|
*/
|
|
14887
|
-
toCSS(darkMode?: boolean, zoom?: number,
|
|
14895
|
+
toCSS(darkMode?: boolean, zoom?: number, ignoreNormal?: boolean): Properties;
|
|
14888
14896
|
/**
|
|
14889
14897
|
* Serializes to a JSON object.
|
|
14890
14898
|
*/
|
|
@@ -15406,7 +15414,7 @@ export declare namespace ITableCollection {
|
|
|
15406
15414
|
*
|
|
15407
15415
|
* @defaultValue false
|
|
15408
15416
|
*/
|
|
15409
|
-
|
|
15417
|
+
ignoreHidden?: boolean;
|
|
15410
15418
|
/**
|
|
15411
15419
|
* Only return items that are completely contained with the filter bounds.
|
|
15412
15420
|
*
|
|
@@ -15968,7 +15976,7 @@ export declare interface ITextFrame {
|
|
|
15968
15976
|
*
|
|
15969
15977
|
* @param dimensions will cause the text to wrap. If bounds are not specified or only a dimension then it will not wrap.
|
|
15970
15978
|
*/
|
|
15971
|
-
layout(dimensions?: Partial<
|
|
15979
|
+
layout(dimensions?: Partial<Size>): ITextFrame;
|
|
15972
15980
|
/**
|
|
15973
15981
|
* This is the bound of a textfield include any whitespace
|
|
15974
15982
|
*/
|
|
@@ -17291,9 +17299,9 @@ export declare interface IWorkbook extends ITransaction.ITransactional, IListene
|
|
|
17291
17299
|
/**
|
|
17292
17300
|
* Serialize the workbook to a JSON.
|
|
17293
17301
|
*
|
|
17294
|
-
* @param
|
|
17302
|
+
* @param ignoreData If `true` only meta data about the workbook will be saved.
|
|
17295
17303
|
*/
|
|
17296
|
-
toJSON(
|
|
17304
|
+
toJSON(ignoreData?: boolean): Promise<IWorkbook.JSON>;
|
|
17297
17305
|
/**
|
|
17298
17306
|
* Returns any custom workbook options that are provided in constructor.
|
|
17299
17307
|
*/
|
|
@@ -18397,7 +18405,7 @@ declare namespace RangeState {
|
|
|
18397
18405
|
interface IteratorOptions extends OverlappingRange.IteratorOptions {
|
|
18398
18406
|
includeRangeTypes: boolean | SearchTypes;
|
|
18399
18407
|
bounds?: IRange.Coords;
|
|
18400
|
-
|
|
18408
|
+
ignoreHidden?: boolean | IRange.Orientation;
|
|
18401
18409
|
includeMergeOverflow?: boolean;
|
|
18402
18410
|
}
|
|
18403
18411
|
interface Entry {
|
|
@@ -18626,7 +18634,7 @@ export declare class Sheet implements ISheet {
|
|
|
18626
18634
|
};
|
|
18627
18635
|
protected _lastGetRangeRead: Record<string, {
|
|
18628
18636
|
ranges: readonly IRange.Coords[];
|
|
18629
|
-
|
|
18637
|
+
ignoreHidden: boolean | IRange.Orientation;
|
|
18630
18638
|
results: any[];
|
|
18631
18639
|
}>;
|
|
18632
18640
|
protected _lastUsedCoordsRead: {
|
|
@@ -18669,7 +18677,7 @@ export declare class Sheet implements ISheet {
|
|
|
18669
18677
|
protected _closed: boolean;
|
|
18670
18678
|
protected _defaultColWidthCache: number;
|
|
18671
18679
|
protected _defaultRowHeightCache: number;
|
|
18672
|
-
protected _defaultFontBoundsCache: Readonly<
|
|
18680
|
+
protected _defaultFontBoundsCache: Readonly<Size>;
|
|
18673
18681
|
constructor(options?: ISheet.ConstructorOptions);
|
|
18674
18682
|
/* Excluded from this release type: _createRange */
|
|
18675
18683
|
/* Excluded from this release type: _createRanges */
|
|
@@ -18786,7 +18794,7 @@ export declare class Sheet implements ISheet {
|
|
|
18786
18794
|
/** {@inheritDoc ISheet.getColumnHeaders} */
|
|
18787
18795
|
getColumnHeaders(): ISheetHeader;
|
|
18788
18796
|
/** {@inheritDoc ISheet.toJSON} */
|
|
18789
|
-
toJSON(
|
|
18797
|
+
toJSON(ignoreData?: boolean): Promise<ISheet.JSON>;
|
|
18790
18798
|
/** {@inheritDoc ISheet.getStyles} */
|
|
18791
18799
|
getStyles(): IStyleCollection;
|
|
18792
18800
|
/** {@inheritDoc ISheet.getResources} */
|
|
@@ -20927,7 +20935,7 @@ export declare class Workbook implements IWorkbook {
|
|
|
20927
20935
|
/* Excluded from this release type: _fromJSON */
|
|
20928
20936
|
/* Excluded from this release type: _createScripts */
|
|
20929
20937
|
/** {@inheritDoc IWorkbook.toJSON} */
|
|
20930
|
-
toJSON(
|
|
20938
|
+
toJSON(ignoreData?: boolean): Promise<IWorkbook.JSON>;
|
|
20931
20939
|
/** {@inheritDoc IWorkbook.isClosed} */
|
|
20932
20940
|
isClosed(): boolean;
|
|
20933
20941
|
/** {@inheritDoc IWorkbook.close} */
|