@sheetxl/sdk 0.6.2 → 0.6.3

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.
Files changed (86) hide show
  1. package/browser/cjs/{B8kkabhwmRjnmR5v.cjs → B7aSrdNhAu3YPmKY.cjs} +1 -1
  2. package/browser/cjs/{cm5TmWgHO54boKRC.cjs → BX5T3MKMPhtGCuWI.cjs} +1 -1
  3. package/browser/cjs/{C0v4zEZg7hjd8UTM.cjs → Bem8IEdD3zw5V2Il.cjs} +1 -1
  4. package/browser/cjs/{BkQoSo_3Cq1y1U0B.cjs → Bse8YStFOPTm75yq.cjs} +1 -1
  5. package/browser/cjs/{DgecgZaUsBQIqn_b.cjs → BuqJzhXsgW7u5MYG.cjs} +1 -1
  6. package/browser/cjs/{DIIXRdfui69j6bkZ.cjs → C-78O5T-glBvYaQL.cjs} +1 -1
  7. package/browser/cjs/{DJa4DM8ZpY9mK7VO.cjs → C37EQ6wTy6zRi0b_.cjs} +1 -1
  8. package/browser/cjs/{BcqlkUfS8uDl8ajh.cjs → C6QXyjy1PGyEX68F.cjs} +1 -1
  9. package/browser/cjs/{itKUtdnp_hnv18Mz.cjs → C8jkUk-iY0bu9Bc2.cjs} +1 -1
  10. package/browser/cjs/{m_c-_R3r43LlH1Oz.cjs → CTdOZfswQOKeCaPF.cjs} +1 -1
  11. package/browser/cjs/{Cq_h7kIwrkGVlAWz.cjs → CqF41LKo7R0Hyf2h.cjs} +1 -1
  12. package/browser/cjs/{dSxMgNE-m5kqapgY.cjs → D36nRoLYLx7i_aS9.cjs} +1 -1
  13. package/browser/cjs/{CiTCbDpD3yOKkZOa.cjs → D5KrA2TSGsH7WBpn.cjs} +1 -1
  14. package/browser/cjs/Du7q96hwiHKCBYsI.cjs +54 -0
  15. package/browser/cjs/{DqqitWA8UXcXcv9W.cjs → Hf8USYcItoojGATA.cjs} +3 -3
  16. package/browser/cjs/{DCRExL3f-LaADs7D.cjs → IKg7k-beNg74DZ3L.cjs} +2 -2
  17. package/browser/cjs/{BcDGtnIqSJPDZ4sR.cjs → I_VfhXNyTWVzJH17.cjs} +1 -1
  18. package/browser/cjs/{DB1Mw5P6Ky5fi6sG.cjs → M-THW9W66wtKo2hj.cjs} +1 -1
  19. package/browser/cjs/{B_qkC3AyU8i7-Uuy.cjs → MMqKicnyH0WnMgQt.cjs} +1 -1
  20. package/browser/cjs/{CmSZ9Wuvcy8vU6M9.cjs → OpUBKLAOF1oHKqjb.cjs} +1 -1
  21. package/browser/cjs/{Bxoq-9u-12zHrhpx.cjs → RcN6zAGgrwyHOrlO.cjs} +1 -1
  22. package/browser/cjs/{BRdTGuUigoB1NUcI.cjs → fStg4-9fenwnVE6E.cjs} +1 -1
  23. package/browser/cjs/index.cjs +2 -2
  24. package/browser/cjs/{Cmfit2FMEKGcD5U9.cjs → j3ddmq8gezG5RCdi.cjs} +1 -1
  25. package/browser/cjs/{BPpFpHlueE7gPyag.cjs → jTv-mLbezNGe8EUD.cjs} +1 -1
  26. package/browser/cjs/{ER_oaX4tTmqQxTDf.cjs → km9cnbV7di2dq2Ff.cjs} +1 -1
  27. package/browser/cjs/{QTcY51QN8CkcROmw.cjs → o89elSRRIGLs0hvL.cjs} +1 -1
  28. package/browser/cjs/{JHW-PeBCUY1IQ0JF.cjs → zsHrQ-zbAlQ0tA9v.cjs} +2 -2
  29. package/browser/esm/{D7EAv4Yrej-O1rvi.mjs → B5_hE71PsStnzdBO.mjs} +1 -1
  30. package/browser/esm/{Ps7eawwxSuV8kGKv.mjs → BBFQTm4WF6ZdLn_s.mjs} +1 -1
  31. package/{node/esm/Bf75as9Q3Qc-ypIa.mjs → browser/esm/BMC24Q0xN7guTENW.mjs} +1 -1
  32. package/browser/esm/{avoafXC3wFDUXth0.mjs → BNN5q2NnsatyJlGR.mjs} +1 -1
  33. package/browser/esm/{DBkCPQqetWJLuu56.mjs → BjlYIWEgeSyv4wz2.mjs} +1 -1
  34. package/browser/esm/{CthnjrkHcV3vBELm.mjs → CDenTnFR8DqmqdbH.mjs} +1 -1
  35. package/browser/esm/{Bos8gc5QIdDN9lPV.mjs → CYKwEkvT1JA24zbO.mjs} +1 -1
  36. package/browser/esm/{CarKj6rMhrrtk8RS.mjs → CaZEU1k6epwCB3xV.mjs} +1 -1
  37. package/browser/esm/{B9DaOd3r3WwsnUva.mjs → Cq00SglUWB2ucZOS.mjs} +1 -1
  38. package/browser/esm/{C8nZ4K79nJAk7d5I.mjs → Cu1x26RQdb96IZj5.mjs} +1 -1
  39. package/browser/esm/{DRf_RSGRf6V-t8w4.mjs → Cwn1pv316wS8Tvhm.mjs} +4561 -4556
  40. package/{node/esm/Bl4TblmHh2ZZEOeM.mjs → browser/esm/DLYGMNx8kQI4xeo2.mjs} +1 -1
  41. package/browser/esm/{C8wxvzViedP3BIAP.mjs → DLbtnQx_HH3gYRiU.mjs} +1 -1
  42. package/browser/esm/{BTHmeRgd80Ks4gLU.mjs → DMEYBbUqMiMm4APB.mjs} +1 -1
  43. package/{node/esm/D0SKZIVpNxQG99wj.mjs → browser/esm/DeNVVj-Te4OSmVxj.mjs} +1 -1
  44. package/{node/esm/LIUTDl0upH5W7a4T.mjs → browser/esm/DeXdulcbXtPSKIC5.mjs} +1 -1
  45. package/browser/esm/{JqHG8LB7H0fj5IGk.mjs → DlLVTu3Y-FMfbu_n.mjs} +2 -2
  46. package/{node/esm/ZxDi0FtPA6wSON0q.mjs → browser/esm/DvNHjmU-XB5SN2Ye.mjs} +1 -1
  47. package/browser/esm/{P107wAWsf_qQU0Yo.mjs → E_I8C2Lp5z4JCaQs.mjs} +2 -2
  48. package/browser/esm/{B3Fq3iN-USyhc36v.mjs → OfmoZFR3Nv7IR8ba.mjs} +1 -1
  49. package/browser/esm/{B4jj7iizIObLcCF5.mjs → Vo2gdpW5nSPwZTqF.mjs} +1 -1
  50. package/browser/esm/{ogjAVOURv3Dw64DC.mjs → YZlMulquudnZjDrf.mjs} +1 -1
  51. package/browser/esm/{AmNdwcF6KLBFjjrP.mjs → bxvj7SfTPz4IgjJ3.mjs} +3 -3
  52. package/{node/esm/D89YHALKlXYeVYnk.mjs → browser/esm/hvRiRIKk-vLVqy9h.mjs} +1 -1
  53. package/browser/esm/index.mjs +2 -2
  54. package/browser/esm/{YFRUYXkHCBAqmxd6.mjs → reTbqkUQn_8r1Gjg.mjs} +1 -1
  55. package/{node/esm/BWX4Z3gLOqLnGq5-.mjs → browser/esm/tAdsxJ6GZTOjbZaj.mjs} +1 -1
  56. package/browser/esm/{Cz2wPTStHfeaq0j7.mjs → zaWM4ZhyMWMFvdi0.mjs} +1 -1
  57. package/node/esm/{D7EAv4Yrej-O1rvi.mjs → B5_hE71PsStnzdBO.mjs} +1 -1
  58. package/node/esm/{Ps7eawwxSuV8kGKv.mjs → BBFQTm4WF6ZdLn_s.mjs} +1 -1
  59. package/{browser/esm/Bf75as9Q3Qc-ypIa.mjs → node/esm/BMC24Q0xN7guTENW.mjs} +1 -1
  60. package/node/esm/{aRD5OH6MI2hprUio.mjs → BgSDlYglpSKo1A5s.mjs} +1 -1
  61. package/node/esm/{DQkht0SFCSHDLAXM.mjs → BjCfh27EcOZz63HB.mjs} +1 -1
  62. package/node/esm/{DBkCPQqetWJLuu56.mjs → BjlYIWEgeSyv4wz2.mjs} +1 -1
  63. package/node/esm/{CthnjrkHcV3vBELm.mjs → CDenTnFR8DqmqdbH.mjs} +1 -1
  64. package/node/esm/{D0R7etXj7-AJQXPH.mjs → CDp7CZJ27n55UJJS.mjs} +1 -1
  65. package/node/esm/{Bv6OTDaKokrcvlVS.mjs → CKx5g_8FfhAJva_D.mjs} +1 -1
  66. package/node/esm/{Bos8gc5QIdDN9lPV.mjs → CYKwEkvT1JA24zbO.mjs} +1 -1
  67. package/node/esm/{CNMOZ8sWsZO0r3Po.mjs → Cfnn9kiE5KnRR-z4.mjs} +1 -1
  68. package/node/esm/{TxAhOic8i70At_lA.mjs → DKWxioBweqUuAjwR.mjs} +1 -1
  69. package/{browser/esm/Bl4TblmHh2ZZEOeM.mjs → node/esm/DLYGMNx8kQI4xeo2.mjs} +1 -1
  70. package/node/esm/{C8wxvzViedP3BIAP.mjs → DLbtnQx_HH3gYRiU.mjs} +1 -1
  71. package/node/esm/{BTHmeRgd80Ks4gLU.mjs → DMEYBbUqMiMm4APB.mjs} +1 -1
  72. package/node/esm/{Du8UZXf9Hijkb3hs.mjs → DZBZ7kYNW5bcZ7tQ.mjs} +1 -1
  73. package/{browser/esm/D0SKZIVpNxQG99wj.mjs → node/esm/DeNVVj-Te4OSmVxj.mjs} +1 -1
  74. package/{browser/esm/LIUTDl0upH5W7a4T.mjs → node/esm/DeXdulcbXtPSKIC5.mjs} +1 -1
  75. package/{browser/esm/ZxDi0FtPA6wSON0q.mjs → node/esm/DvNHjmU-XB5SN2Ye.mjs} +1 -1
  76. package/node/esm/{CTP7pUjB4kt-dlJt.mjs → P1-6wk2bFx0eAYQd.mjs} +2 -2
  77. package/node/esm/{BSNdHZaRYd8Spnxw.mjs → d1Ola8sUNmUZOmTN.mjs} +1 -1
  78. package/{browser/esm/D89YHALKlXYeVYnk.mjs → node/esm/hvRiRIKk-vLVqy9h.mjs} +1 -1
  79. package/node/esm/index.mjs +1036 -1029
  80. package/node/esm/{YFRUYXkHCBAqmxd6.mjs → reTbqkUQn_8r1Gjg.mjs} +1 -1
  81. package/{browser/esm/BWX4Z3gLOqLnGq5-.mjs → node/esm/tAdsxJ6GZTOjbZaj.mjs} +1 -1
  82. package/node/esm/{Cz2wPTStHfeaq0j7.mjs → zaWM4ZhyMWMFvdi0.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/types/index.d.ts +4 -6
  85. package/types/scripting.d.ts +27 -24
  86. package/browser/cjs/iimoiZX_lPZZlxrK.cjs +0 -54
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.2
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.3
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.6.2
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.3
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.6.2
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.3
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.6.2",
4
+ "version": "0.6.3",
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.2",
35
- "@sheetxl/scripting": "^0.6.2",
36
- "@sheetxl/utils": "^0.6.2",
34
+ "@sheetxl/primitives": "^0.6.3",
35
+ "@sheetxl/scripting": "^0.6.3",
36
+ "@sheetxl/utils": "^0.6.3",
37
37
  "bahttext": "^2.3.0",
38
38
  "bessel": "^1.0.2",
39
39
  "chalk": "^5.5.0",
package/types/index.d.ts CHANGED
@@ -3401,9 +3401,8 @@ export declare interface ICell {
3401
3401
  select(options?: ITypes.SelectOptions): Promise<boolean>;
3402
3402
  /**
3403
3403
  * Returns the Sheet.
3404
- * @template S - The callback return type.
3405
3404
  */
3406
- getSource<S>(): S;
3405
+ getSheet(): ISheet;
3407
3406
  /**
3408
3407
  * For runtime type checking.
3409
3408
  */
@@ -4870,9 +4869,8 @@ export declare interface ICellRange {
4870
4869
  isEmpty(): boolean;
4871
4870
  /**
4872
4871
  * Returns the Sheet.
4873
- * @template S - The callback return type.
4874
4872
  */
4875
- getSource<S>(): S;
4873
+ getSheet(): ISheet;
4876
4874
  /**
4877
4875
  * The IRange.Coords.
4878
4876
  */
@@ -5803,9 +5801,9 @@ export declare interface ICellRanges {
5803
5801
  */
5804
5802
  getMerges(): IRange.Coords[];
5805
5803
  /**
5806
- * {@inheritDoc ICellRange.getSource}
5804
+ * {@inheritDoc ICellRange.getSheet}
5807
5805
  */
5808
- getSource<S>(): S;
5806
+ getSheet(): ISheet;
5809
5807
  /**
5810
5808
  * {@inheritDoc ICellRange.getStyleUpdater}
5811
5809
  */
@@ -17958,8 +17958,8 @@ declare module "sheet/SheetCell" {
17958
17958
  getCoords(): IRange.CellCoords;
17959
17959
  /** {@inheritDoc ICell.getA1} */
17960
17960
  getA1(): string;
17961
- /** {@inheritDoc ICell.getSource} */
17962
- getSource<ISheet>(): ISheet;
17961
+ /** {@inheritDoc ICell.getSheet} */
17962
+ getSheet(): ISheet;
17963
17963
  /** {@inheritDoc ICell.select} */
17964
17964
  select(options?: ITypes.SelectOptions): Promise<boolean>;
17965
17965
  /** {@inheritDoc ICell.getColumnFilter} */
@@ -23991,6 +23991,7 @@ declare module "cell/ICell" {
23991
23991
  import type { IStyle } from "style/index";
23992
23992
  import type { ICellRange } from "cellRange/index";
23993
23993
  import type { ICalculation } from "calculation/index";
23994
+ import type { ISheet } from "sheet/index";
23994
23995
  import type { ICellProtection } from "cell/ICellProtection";
23995
23996
  /**
23996
23997
  * A single unit of data and meta data within an `ICellRange`, located at a specific row and column.
@@ -24235,9 +24236,8 @@ declare module "cell/ICell" {
24235
24236
  select(options?: ITypes.SelectOptions): Promise<boolean>;
24236
24237
  /**
24237
24238
  * Returns the Sheet.
24238
- * @template S - The callback return type.
24239
24239
  */
24240
- getSource<S>(): S;
24240
+ getSheet(): ISheet;
24241
24241
  /**
24242
24242
  * For runtime type checking.
24243
24243
  */
@@ -26257,6 +26257,7 @@ declare module "cellRange/ICellRanges" {
26257
26257
  import type { ITransaction } from "transaction/index";
26258
26258
  import type { IStyle } from "style/index";
26259
26259
  import type { ICell } from "cell/index";
26260
+ import type { ISheet } from "sheet/index";
26260
26261
  import type { ICellRange } from "cellRange/ICellRange";
26261
26262
  /**
26262
26263
  * An `ICellRanges` is a collection of {@link ICellRange}s.
@@ -26269,9 +26270,9 @@ declare module "cellRange/ICellRanges" {
26269
26270
  */
26270
26271
  getMerges(): IRange.Coords[];
26271
26272
  /**
26272
- * {@inheritDoc ICellRange.getSource}
26273
+ * {@inheritDoc ICellRange.getSheet}
26273
26274
  */
26274
- getSource<S>(): S;
26275
+ getSheet(): ISheet;
26275
26276
  /**
26276
26277
  * {@inheritDoc ICellRange.getStyleUpdater}
26277
26278
  */
@@ -26851,6 +26852,7 @@ declare module "cellRange/ICellRange" {
26851
26852
  import type { ISort } from "sort/index";
26852
26853
  import type { IAutoFill } from "autoFill/index";
26853
26854
  import type { IStyle } from "style/index";
26855
+ import { ISheet } from "sheet/index";
26854
26856
  import { ICell } from "cell/index";
26855
26857
  import type { ICellRanges } from "cellRange/ICellRanges";
26856
26858
  import type { ICellHeaderRange } from "cellRange/ICellHeaderRange";
@@ -27476,9 +27478,8 @@ declare module "cellRange/ICellRange" {
27476
27478
  isEmpty(): boolean;
27477
27479
  /**
27478
27480
  * Returns the Sheet.
27479
- * @template S - The callback return type.
27480
27481
  */
27481
- getSource<S>(): S;
27482
+ getSheet(): ISheet;
27482
27483
  /**
27483
27484
  * The IRange.Coords.
27484
27485
  */
@@ -31957,11 +31958,12 @@ declare module "sheet/protection/SheetProtection" {
31957
31958
  }
31958
31959
  declare module "sheet/SheetRanges" {
31959
31960
  import { Scalar, IRange } from '@sheetxl/primitives';
31960
- import { ITransaction } from "transaction/index";
31961
- import { IListener } from "listener/index";
31962
- import { ICell } from "cell/index";
31963
- import { ICellRanges, ICellRange } from "cellRange/index";
31964
- import { IStyle } from "style/index";
31961
+ import type { ITransaction } from "transaction/index";
31962
+ import type { IListener } from "listener/index";
31963
+ import type { ICell } from "cell/index";
31964
+ import type { ICellRanges, ICellRange } from "cellRange/index";
31965
+ import type { IStyle } from "style/index";
31966
+ import type { ISheet } from "sheet/index";
31965
31967
  export interface SheetRangesOptions {
31966
31968
  excludeHidden?: boolean;
31967
31969
  readOnly?: string;
@@ -32058,8 +32060,8 @@ declare module "sheet/SheetRanges" {
32058
32060
  isInvalid(): boolean;
32059
32061
  /** {@inheritDoc ICellRanges.getA1} */
32060
32062
  getA1(): string;
32061
- /** {@inheritDoc ICellRanges.getSource} */
32062
- getSource<S>(): S;
32063
+ /** {@inheritDoc ICellRanges.getSheet} */
32064
+ getSheet(): ISheet;
32063
32065
  /** {@inheritDoc ICellRanges.doBatch} */
32064
32066
  doBatch<R>(callback: (commit: ITransaction.ICommit) => R | Promise<R>, options?: string | ITransaction.OperationOptions): R | Promise<R>;
32065
32067
  get [Symbol.toStringTag](): string;
@@ -32073,12 +32075,13 @@ declare module "sheet/SheetRange" {
32073
32075
  import { Scalar, ScalarUpdate, JSScalar, IRange } from '@sheetxl/primitives';
32074
32076
  import { ITransaction } from "transaction/index";
32075
32077
  import { IListener } from "listener/index";
32076
- import { ICell } from "cell/index";
32077
- import { ICellRange, ICellRanges, ICellHeaderRange } from "cellRange/index";
32078
- import { IComment } from "comment/index";
32079
- import { IStyle } from "style/index";
32080
- import { IHyperlink } from "hyperlink/index";
32081
- import { ISort } from "sort/index";
32078
+ import type { ICell } from "cell/index";
32079
+ import type { ICellRange, ICellRanges, ICellHeaderRange } from "cellRange/index";
32080
+ import type { IComment } from "comment/index";
32081
+ import type { IStyle } from "style/index";
32082
+ import type { IHyperlink } from "hyperlink/index";
32083
+ import type { ISort } from "sort/index";
32084
+ import type { ISheet } from "sheet/ISheet";
32082
32085
  import { Sheet } from "sheet/Sheet";
32083
32086
  export interface SheetRangeOptions {
32084
32087
  excludeHidden?: boolean;
@@ -32223,8 +32226,8 @@ declare module "sheet/SheetRange" {
32223
32226
  addListener2(listener: ICellRange.Listener, options?: ICellRange.ListenerOptions): IListener.Remove;
32224
32227
  /** {@inheritDoc ICellRange.addListener} */
32225
32228
  addListener(listener: ICellRange.Listener, options?: ICellRange.ListenerOptions): IListener.Remove;
32226
- /** {@inheritDoc ICellRange.getSource} */
32227
- getSource<S>(): S;
32229
+ /** {@inheritDoc ICellRange.getSheet} */
32230
+ getSheet(): ISheet;
32228
32231
  /** {@inheritDoc ICellRange.autoFill} */
32229
32232
  autoFill(destination: ICellRange.Address, options?: ICellRange.AutoFillOptions): this;
32230
32233
  /** {@inheritDoc ICellRange.autoFit} */
@@ -32268,7 +32271,7 @@ declare module "sheet/SheetRange" {
32268
32271
  }
32269
32272
  declare module "sheet/Sheet" {
32270
32273
  import { Scalar, JSScalar, IRange } from '@sheetxl/primitives';
32271
- import { Dimensions, Bounds, CoordUtils } from '@sheetxl/utils';
32274
+ import { Dimensions, type Bounds, CoordUtils } from '@sheetxl/utils';
32272
32275
  import { ITypes, ICollection, IProperties } from "type/index";
32273
32276
  import type { IListener } from "listener/index";
32274
32277
  import { type ITransaction } from "transaction/index";