@sheetxl/sdk 0.7.13 → 0.7.15
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/{FmMGqD2eGNSxs_tp.cjs → 0pLhOg987qawV93k.cjs} +1 -1
- package/browser/cjs/{m-BThCiOY0U2UHKz.cjs → 6DS_4r38oivFRcGY.cjs} +1 -1
- package/browser/cjs/{DgKonEP5su-An4tv.cjs → B-f8Gw_3U9f5XRcG.cjs} +1 -1
- package/browser/cjs/{D9ALzAAPbqKp0qG4.cjs → B0SD5WeBfs8k_SqP.cjs} +1 -1
- package/browser/cjs/{BuldQ3tfFYodOk9H.cjs → B5t_Lsa7BiJT6UhY.cjs} +1 -1
- package/browser/cjs/{CFvba6QKlCV7_Kvg.cjs → BWz5tLo5_iRwlsXR.cjs} +1 -1
- package/browser/cjs/{Djw2mPk9DA_xDR48.cjs → BZSD1s6wftRCToV3.cjs} +2 -2
- package/browser/cjs/{C9AVwqTuY33VzH4e.cjs → B_Bcv5sVXcV-wQ0r.cjs} +3 -3
- package/browser/cjs/{D0rqCTa18JiwtkFg.cjs → Bx5wstgohF-L8jSG.cjs} +1 -1
- package/browser/cjs/{B7jslq9oFR6njKnW.cjs → CN4TpkXRcJL-LJ-m.cjs} +1 -1
- package/browser/cjs/{CDWlJ97tWSqdWRrC.cjs → CPDEl5cXcUrl4ugk.cjs} +1 -1
- package/browser/cjs/CYTyHX4Ldb2B7Nzp.cjs +55 -0
- package/browser/cjs/{CXsCIuAjTadPMZ2k.cjs → CmkSoeb0lQl3tFCk.cjs} +1 -1
- package/browser/cjs/{CbHx0iP74qQiiFGA.cjs → CqvDKcxJ3zqakmyT.cjs} +2 -2
- package/browser/cjs/{CY7qa68VhzxfCks0.cjs → CrXwDwDZ0HuzkidZ.cjs} +1 -1
- package/browser/cjs/{NwQUH5RlCwVclTou.cjs → Cv1pyi0ObT63e9Hi.cjs} +1 -1
- package/browser/cjs/{CgnB_AUJ9_aLjrjf.cjs → DCBAyPF22v_DlVEM.cjs} +1 -1
- package/browser/cjs/{CWcLBz5wacAKZ65z.cjs → DFvhXVfABCfq8LtP.cjs} +1 -1
- package/browser/cjs/{N8D-AiKZvmSpJoyk.cjs → DZeXyE01bPidWYUs.cjs} +1 -1
- package/browser/cjs/{84Qf-nDnKiLQ7HBc.cjs → Dx56eNH2eWgWVGH1.cjs} +1 -1
- package/browser/cjs/{DrE0C6ruqS4-YkDG.cjs → Gpv1cC4NTQJKRfrk.cjs} +1 -1
- package/browser/cjs/{BibVdFisqTXEG0Y9.cjs → LV7_UiJepQT86spw.cjs} +1 -1
- package/browser/cjs/{DYOYeMed2UXw1HaH.cjs → VKnNstUO14qmqnbV.cjs} +1 -1
- package/browser/cjs/{BRkze9nkXD-OqXPT.cjs → _BK6EoSwHKy2CEKD.cjs} +1 -1
- package/browser/cjs/{BWZocbfJ9j-b4EWY.cjs → _Q9KuH82kLx8G6BZ.cjs} +1 -1
- package/browser/cjs/{DBL1LvXwFpR7MLsM.cjs → bvx-EHm4faAxb-4L.cjs} +1 -1
- package/browser/cjs/{CKFAjAwy-5z8a99W.cjs → e47dnQMAWCjVA9wn.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/esm/{C-rY9IQnclqMvLhW.mjs → B7DmxpBnK2gJQMPf.mjs} +1 -1
- package/browser/esm/{BXMGu5NmEgJKrpDn.mjs → BJH04TU8EGjiKudW.mjs} +2 -2
- package/browser/esm/{DrgyAIoXbBJ7XEJz.mjs → Bh23x6cy1uph1i3D.mjs} +1 -1
- package/{node/esm/CsjFegG9ZsVPWgLy.mjs → browser/esm/BprjsarWatXjy19s.mjs} +1 -1
- package/{node/esm/obyONN_ql1eCkYqn.mjs → browser/esm/C5WJ6Wy-RMrP8BbR.mjs} +1 -1
- package/browser/esm/{DmzWhWp1sSLTOJmk.mjs → CKUDqmnawPorYRbo.mjs} +1 -1
- package/browser/esm/{D5SlMU39knV0sfaE.mjs → CRB1gktoUejmst5J.mjs} +1 -1
- package/{node/esm/B1mQhILY_Ee8mZj6.mjs → browser/esm/CTHzO8JcEcqXFYQT.mjs} +1 -1
- package/browser/esm/{DECRnCXvKcFm5UW_.mjs → CXo1AHJ6jpxmQegF.mjs} +3 -3
- package/{node/esm/DVs7wiZMt1NvmibL.mjs → browser/esm/CojBNmv0rs6--m5C.mjs} +1 -1
- package/browser/esm/{DPGNTew-J9BDfx7H.mjs → Cqthq61SucHgsh95.mjs} +1 -1
- package/browser/esm/{B0zJo_YhAJZgLFb2.mjs → CrSH5SmnL7A2qbWO.mjs} +1 -1
- package/browser/esm/{D2aynnS_ZvhUymlW.mjs → D0GR4LiAxhMx6jZj.mjs} +2 -2
- package/browser/esm/{C3UqdgBtXrjr9U7B.mjs → DEyHSm1kCI5gYJKZ.mjs} +1 -1
- package/{node/esm/JBuDAROw1IhzpBDK.mjs → browser/esm/D_AOPeO3D9feVjKw.mjs} +1 -1
- package/browser/esm/{B6s60UZeDi9sgRHT.mjs → DbzbM0LzoaLCzbWj.mjs} +1 -1
- package/browser/esm/{BelRhaFYXfqn3xBt.mjs → DdEpapeYIN8fycQs.mjs} +1 -1
- package/browser/esm/{B8TYkzlDKU9Ggkas.mjs → DgA_GXAeC4r70yCd.mjs} +1 -1
- package/{node/esm/BqrAMV-sxGrw_IGy.mjs → browser/esm/DgwqHtLcypBDh-zw.mjs} +1 -1
- package/{node/esm/DdFgB4nRiWb-x8MU.mjs → browser/esm/Dpm0yV3zq3Zvz8hV.mjs} +1 -1
- package/{node/esm/Cz5dfo_pXqz_RSCW.mjs → browser/esm/DwDakQ5QRAGh80TX.mjs} +1 -1
- package/{node/esm/CZzcgxj1VfTcHOLD.mjs → browser/esm/OfqNIsX13UgYYwBf.mjs} +1 -1
- package/browser/esm/{BUh4gZOH8Uxd-hWh.mjs → TQaj42f0Z1oFQSSJ.mjs} +5345 -5335
- package/browser/esm/{SAWt7fxsw4YrVlsO.mjs → fYe0fJ92tw7LbtwS.mjs} +1 -1
- package/browser/esm/index.mjs +53 -51
- package/browser/esm/{czwXw8arBOM78nIR.mjs → k8hee2l1XqwOp3uj.mjs} +1 -1
- package/{node/esm/Byme5OT9_LV09DwE.mjs → browser/esm/l3tn87ncYK9Blf8x.mjs} +1 -1
- package/{node/esm/BTrXUcjikfiXBuQs.mjs → browser/esm/mvIvramfQ4Fv7wNx.mjs} +1 -1
- package/node/esm/{C-rY9IQnclqMvLhW.mjs → B7DmxpBnK2gJQMPf.mjs} +1 -1
- package/node/esm/{DvtObSijnfKp4hVX.mjs → BcjlHtuqMeFGR4GJ.mjs} +1 -1
- package/node/esm/{DrgyAIoXbBJ7XEJz.mjs → Bh23x6cy1uph1i3D.mjs} +1 -1
- package/{browser/esm/CsjFegG9ZsVPWgLy.mjs → node/esm/BprjsarWatXjy19s.mjs} +1 -1
- package/node/esm/{DpSNP5QMfZvpJ_wv.mjs → BtfwWy-GLGP2s6sC.mjs} +1 -1
- package/{browser/esm/obyONN_ql1eCkYqn.mjs → node/esm/C5WJ6Wy-RMrP8BbR.mjs} +1 -1
- package/node/esm/{D5SlMU39knV0sfaE.mjs → CRB1gktoUejmst5J.mjs} +1 -1
- package/{browser/esm/B1mQhILY_Ee8mZj6.mjs → node/esm/CTHzO8JcEcqXFYQT.mjs} +1 -1
- package/node/esm/{DBCmVfDXH2Gjy1gb.mjs → CYvBeLnJktdlLaAm.mjs} +1 -1
- package/node/esm/{BSchhHzd9LhOSQyh.mjs → C_Hpc-ylHg4UdBXV.mjs} +2 -2
- package/{browser/esm/DVs7wiZMt1NvmibL.mjs → node/esm/CojBNmv0rs6--m5C.mjs} +1 -1
- package/node/esm/{jQQyFKgcBYKkYy5u.mjs → CrFzB-c_ZuHcZG4-.mjs} +1 -1
- package/node/esm/{B0zJo_YhAJZgLFb2.mjs → CrSH5SmnL7A2qbWO.mjs} +1 -1
- package/node/esm/{DGPSmLySgorgnRpF.mjs → CxOZXri1uM-xHLG8.mjs} +1 -1
- package/node/esm/{D76Ug5nx4id19sWo.mjs → DOH6GM8nrcHVTFU2.mjs} +1 -1
- package/{browser/esm/JBuDAROw1IhzpBDK.mjs → node/esm/D_AOPeO3D9feVjKw.mjs} +1 -1
- package/{browser/esm/BqrAMV-sxGrw_IGy.mjs → node/esm/DgwqHtLcypBDh-zw.mjs} +1 -1
- package/{browser/esm/DdFgB4nRiWb-x8MU.mjs → node/esm/Dpm0yV3zq3Zvz8hV.mjs} +1 -1
- package/node/esm/{YEoEG9HlehI4GxoO.mjs → DvnRCL2zsfg2Ro2J.mjs} +1 -1
- package/{browser/esm/Cz5dfo_pXqz_RSCW.mjs → node/esm/DwDakQ5QRAGh80TX.mjs} +1 -1
- package/{browser/esm/CZzcgxj1VfTcHOLD.mjs → node/esm/OfqNIsX13UgYYwBf.mjs} +1 -1
- package/node/esm/{SAWt7fxsw4YrVlsO.mjs → fYe0fJ92tw7LbtwS.mjs} +1 -1
- package/node/esm/{ne4Ow4B53KelbGbA.mjs → hTa-egD_uHkDqbPI.mjs} +1 -1
- package/node/esm/index.mjs +2630 -2618
- package/{browser/esm/Byme5OT9_LV09DwE.mjs → node/esm/l3tn87ncYK9Blf8x.mjs} +1 -1
- package/{browser/esm/BTrXUcjikfiXBuQs.mjs → node/esm/mvIvramfQ4Fv7wNx.mjs} +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +32 -1
- package/types/scripting.d.ts +12 -1
- package/browser/cjs/rCv0GyYPZv7sdNXw.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.15
|
|
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.15
|
|
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.15",
|
|
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.15",
|
|
47
|
+
"@sheetxl/scripting": "^0.7.15",
|
|
48
|
+
"@sheetxl/utils": "^0.7.15",
|
|
49
49
|
"bahttext": "^2.3.0",
|
|
50
50
|
"bessel": "^1.0.2",
|
|
51
51
|
"chalk": "^5.6.2",
|
package/types/index.d.ts
CHANGED
|
@@ -1042,10 +1042,21 @@ declare const DateUnit: {
|
|
|
1042
1042
|
|
|
1043
1043
|
declare type DateUnit = typeof DateUnit[keyof typeof DateUnit];
|
|
1044
1044
|
|
|
1045
|
+
export declare namespace DateUtils {
|
|
1046
|
+
export {
|
|
1047
|
+
nowWithPrecision
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1045
1051
|
declare const deepCull: (value: any, _min: number, _max: number) => boolean;
|
|
1046
1052
|
|
|
1047
1053
|
declare const deepUpdate: (prevValue: any | null, newValue: any | null) => any | null;
|
|
1048
1054
|
|
|
1055
|
+
/**
|
|
1056
|
+
* A list of font sizes for showing in drop downs.
|
|
1057
|
+
*/
|
|
1058
|
+
declare const DefaultFontSizes: readonly number[];
|
|
1059
|
+
|
|
1049
1060
|
declare class DefaultProtection<T, P extends IProtection.Properties, J extends IProtection.JSON> implements IProtection<T, P, J> {
|
|
1050
1061
|
protected _emitter: ListenerEmitter<this, IProtection.IListeners>;
|
|
1051
1062
|
protected _isPaused: boolean;
|
|
@@ -1174,6 +1185,11 @@ declare const findIntersectMath: (p1: Point, p2: Point, min: number, max: number
|
|
|
1174
1185
|
max: number;
|
|
1175
1186
|
};
|
|
1176
1187
|
|
|
1188
|
+
/**
|
|
1189
|
+
* Searches an array of numbers for the next value.
|
|
1190
|
+
*/
|
|
1191
|
+
declare const findNextFontSize: (size: number, increase?: boolean, steps?: readonly number[]) => number;
|
|
1192
|
+
|
|
1177
1193
|
/**
|
|
1178
1194
|
* Looks for a run going in a certain direction. If there isn't a run for this it will look for the next
|
|
1179
1195
|
* run. If you only want the run if it is found then use {@link findRun}.
|
|
@@ -1227,6 +1243,13 @@ declare interface FontHandle {
|
|
|
1227
1243
|
loaded: boolean;
|
|
1228
1244
|
}
|
|
1229
1245
|
|
|
1246
|
+
export declare namespace FontUtils {
|
|
1247
|
+
export {
|
|
1248
|
+
DefaultFontSizes,
|
|
1249
|
+
findNextFontSize
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1230
1253
|
declare class FormulaBlockEntry implements ISpatialMap.IUpdatableEntry<FormulaBlockEntry> {
|
|
1231
1254
|
ref: IRange.Coords;
|
|
1232
1255
|
formula: ICalcGraph.IFormulaBlock;
|
|
@@ -4288,7 +4311,7 @@ export declare namespace ICellHeaderRange {
|
|
|
4288
4311
|
/**
|
|
4289
4312
|
* An `ICellHeaderRanges` is a collection of {@link ICellHeaderRange}s.
|
|
4290
4313
|
*
|
|
4291
|
-
* Useful when working with a discontinuous set of
|
|
4314
|
+
* Useful when working with a discontinuous set of headers.
|
|
4292
4315
|
*/
|
|
4293
4316
|
export declare interface ICellHeaderRanges {
|
|
4294
4317
|
/**
|
|
@@ -18092,6 +18115,14 @@ declare interface NotifyOptions<T = any> {
|
|
|
18092
18115
|
transactional?: boolean;
|
|
18093
18116
|
}
|
|
18094
18117
|
|
|
18118
|
+
/**
|
|
18119
|
+
* Returns Date.now() rounded to a nearest time.
|
|
18120
|
+
*
|
|
18121
|
+
* @param precision The precision of time. Set to 1 if exact.
|
|
18122
|
+
* @defaultValue The nearest minute.
|
|
18123
|
+
*/
|
|
18124
|
+
declare const nowWithPrecision: (precision?: number) => Date;
|
|
18125
|
+
|
|
18095
18126
|
/**
|
|
18096
18127
|
* Capabilities for defining and applying number formats to cells.
|
|
18097
18128
|
*
|
package/types/scripting.d.ts
CHANGED
|
@@ -4628,10 +4628,21 @@ declare module "font/IFontCollection" {
|
|
|
4628
4628
|
*/
|
|
4629
4629
|
export const findBestMatch: (fontName: string, options?: FindBestMatchOptions) => FontHandle;
|
|
4630
4630
|
}
|
|
4631
|
+
declare module "font/FontUtils" {
|
|
4632
|
+
/**
|
|
4633
|
+
* A list of font sizes for showing in drop downs.
|
|
4634
|
+
*/
|
|
4635
|
+
export const DefaultFontSizes: readonly number[];
|
|
4636
|
+
/**
|
|
4637
|
+
* Searches an array of numbers for the next value.
|
|
4638
|
+
*/
|
|
4639
|
+
export const findNextFontSize: (size: number, increase?: boolean, steps?: readonly number[]) => number;
|
|
4640
|
+
}
|
|
4631
4641
|
declare module "font/index" {
|
|
4632
4642
|
export * as IFontCollection from "font/IFontCollection";
|
|
4633
4643
|
export * from "font/IFont";
|
|
4634
4644
|
export * from "font/Font";
|
|
4645
|
+
export * as FontUtils from "font/FontUtils";
|
|
4635
4646
|
}
|
|
4636
4647
|
declare module "text/richtext/IStyledFont" {
|
|
4637
4648
|
import { Properties as CSSProperties } from 'csstype';
|
|
@@ -32073,7 +32084,7 @@ declare module "cellRange/ICellHeaderRanges" {
|
|
|
32073
32084
|
/**
|
|
32074
32085
|
* An `ICellHeaderRanges` is a collection of {@link ICellHeaderRange}s.
|
|
32075
32086
|
*
|
|
32076
|
-
* Useful when working with a discontinuous set of
|
|
32087
|
+
* Useful when working with a discontinuous set of headers.
|
|
32077
32088
|
*/
|
|
32078
32089
|
export interface ICellHeaderRanges {
|
|
32079
32090
|
/**
|