@sheetxl/sdk 0.7.25 → 0.7.27

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/{sGVR8lHduWTCWzIy.cjs → -P9BHlnCf8OF6D_m.cjs} +1 -1
  2. package/browser/cjs/{Cu_lR4UxijlhNUnz.cjs → 4kU87sIrnTEoJHwl.cjs} +1 -1
  3. package/browser/cjs/{CfgoQnYb5uy3l5ms.cjs → B8mBx-uU2X9Qvdnr.cjs} +1 -1
  4. package/browser/cjs/{DAabwoxY2_tlDgcm.cjs → BD9lJn7w8OVsIwgC.cjs} +1 -1
  5. package/browser/cjs/{Cite3700mZtuBz7d.cjs → BI57E6P5MbZI3G2Z.cjs} +1 -1
  6. package/browser/cjs/{CiXLZLjNfEKM5IdW.cjs → BRgYzaAY9tLpJe7C.cjs} +1 -1
  7. package/browser/cjs/{CSSWzpE42ThlcDZW.cjs → BdoGTvcTjso5IcRq.cjs} +2 -2
  8. package/browser/cjs/{DHFVfkZxOVaPrP21.cjs → C3ScwpfBnQ8JeHF-.cjs} +1 -1
  9. package/browser/cjs/CI8H5FLYtzy-Y2TO.cjs +55 -0
  10. package/browser/cjs/{DcQHi8Dtx7dE7fIi.cjs → ClUc2Qdf-BFmgsJR.cjs} +1 -1
  11. package/browser/cjs/{CP3jwmmlL3T-4HyK.cjs → CsEmF6ZwF-2A9AvC.cjs} +1 -1
  12. package/browser/cjs/{DUt4ZcO5loeZMHx4.cjs → D6eH4loatnriRosn.cjs} +2 -2
  13. package/browser/cjs/{CFURf-TvhWcsSQ3E.cjs → DJTioC8laMAxiW-z.cjs} +1 -1
  14. package/browser/cjs/{CQJv5X1_oZSphD7z.cjs → DN6U4mb4Jt2b37q-.cjs} +3 -3
  15. package/browser/cjs/{wJ-p5AMSkSKx4VBQ.cjs → DfNwTsshId9JPwTK.cjs} +1 -1
  16. package/browser/cjs/{CczbLC10xg1HfvbD.cjs → DnQwOaG_1n5GvCnM.cjs} +1 -1
  17. package/browser/cjs/{CS9e-s_IiacJ6T91.cjs → DtOYNHcDq5p3S21C.cjs} +1 -1
  18. package/browser/cjs/{6es1S1qn5FWHgcA9.cjs → Dy2xo5nrA4OFe7w4.cjs} +1 -1
  19. package/browser/cjs/{ObLc2qxvcKfh0PLy.cjs → EzhtX7d4GOngN0Se.cjs} +1 -1
  20. package/browser/cjs/{BicF2RsYTkiStFpF.cjs → FBky5iT5me5H1I0-.cjs} +1 -1
  21. package/browser/cjs/{DjuaGyO5xF3ML-Ov.cjs → JcziJrpVHeAEo8Iv.cjs} +1 -1
  22. package/browser/cjs/{DsHo6T7oUNHIkxT_.cjs → LABm2VcP5Duieabc.cjs} +1 -1
  23. package/browser/cjs/{LCuiK0LJq9U6BYeH.cjs → OZxxkm3CI5jiE3O-.cjs} +1 -1
  24. package/browser/cjs/{CZd58Vwp_0LMpyIi.cjs → W8_0e_fQB-spiB55.cjs} +1 -1
  25. package/browser/cjs/index.cjs +2 -2
  26. package/browser/cjs/{BxMfzBGUttf4YhHI.cjs → nS_oDgpzBeOV487v.cjs} +1 -1
  27. package/browser/cjs/{6w7MLE0s6iQaNFoK.cjs → srhqHYaGNtcM9evy.cjs} +1 -1
  28. package/browser/cjs/{_E1tYGd4Jlvvib9Z.cjs → v2J4J4s0rRAvsx4v.cjs} +1 -1
  29. package/browser/esm/{DvGFJ3jWgilDoY-o.mjs → 8Cdp6eg5fQM4U0CD.mjs} +1 -1
  30. package/browser/esm/{BbCnmork-2-FkrtP.mjs → BvtSjnucMGltTjeM.mjs} +2 -2
  31. package/{node/esm/CAqfk88YfIoliO4d.mjs → browser/esm/Bzw2Xms8ZtifZcAF.mjs} +1 -1
  32. package/{node/esm/CNIdIOjAvccyPXr3.mjs → browser/esm/C9ojFSLlGrdG3EDE.mjs} +1 -1
  33. package/browser/esm/{B6-x7sz_Zdr0ZQHC.mjs → CPxdCZqGhuQENst8.mjs} +1 -1
  34. package/{node/esm/DMxf-VFi_OTqd9gc.mjs → browser/esm/CQXqHgLFDd57bQSy.mjs} +1 -1
  35. package/browser/esm/{I7ph12fOizym4lF_.mjs → CRlsrdZLcL-QKyo2.mjs} +1 -1
  36. package/browser/esm/{CzhdzOqIuK76W-yj.mjs → CUqge0vhYI_M8Hpg.mjs} +1 -1
  37. package/{node/esm/Ba86PynoSVU5QOoi.mjs → browser/esm/C__wCYJcwKkBqp8t.mjs} +1 -1
  38. package/browser/esm/{sJp2IGtFTuDSGl1b.mjs → Cou0jxSdkKrqQBPA.mjs} +1 -1
  39. package/browser/esm/{F2UFGn8Fjo6dV1n3.mjs → CtGy0C3HHvNhQ3j5.mjs} +1 -1
  40. package/browser/esm/{D_39jOOBSVOoSkZo.mjs → Ctol2MswJyCxIJcQ.mjs} +1 -1
  41. package/{node/esm/DuvE8uORO-S8QWnA.mjs → browser/esm/D7tUJDQqPM4e3FEC.mjs} +1 -1
  42. package/browser/esm/{Byij1LAQ8P5vIjh4.mjs → DB5Wpq1m-bJ7gpBF.mjs} +1 -1
  43. package/browser/esm/{E_d9fKaCFKiz9_qU.mjs → DLXAhFMo3NyECo8b.mjs} +4161 -4140
  44. package/{node/esm/Bxd49KXOqKJMOqP1.mjs → browser/esm/DTlPJulnTLqG3WSw.mjs} +1 -1
  45. package/{node/esm/C87M9OV-luNLyaO8.mjs → browser/esm/DwfM2tfEPAzMl86c.mjs} +1 -1
  46. package/browser/esm/{vfw2WbpSkQNbA_F1.mjs → Dx0TIy0V5EVTNOEZ.mjs} +1 -1
  47. package/browser/esm/{BTOmc8PWsCecw_6i.mjs → Dxfd2MfY8kHHUtnu.mjs} +3 -3
  48. package/browser/esm/{BBzdTydLf0DZkvor.mjs → E0SwR3N6qggAhdBh.mjs} +1 -1
  49. package/browser/esm/{B0yWPxxOKkC32AeK.mjs → JGdZf2WBzvkRao7-.mjs} +1 -1
  50. package/browser/esm/{B35gr_IRtnx7liSK.mjs → NAcqiYlYK4mm9q_F.mjs} +1 -1
  51. package/browser/esm/{BeqUp9chD8-t-pGl.mjs → NGg21AIVBhRCHoOh.mjs} +1 -1
  52. package/browser/esm/{DlrINim9DnHswMyv.mjs → PjtmxdNFMVskYmPB.mjs} +1 -1
  53. package/{node/esm/LZsSu7999ReB31Wa.mjs → browser/esm/a_LQ18tLbXq3N9hu.mjs} +1 -1
  54. package/{node/esm/CWsGIc7iiJaReTFy.mjs → browser/esm/hXx5ZKLpc4RvmCjH.mjs} +1 -1
  55. package/browser/esm/index.mjs +2 -2
  56. package/browser/esm/{C9Qj9_kWjZmtuOTn.mjs → zoqPtKWJmGQs1ZUb.mjs} +2 -2
  57. package/node/esm/{PlobeZAeWN5xo94p.mjs → 7QlvuodPxz-B25P9.mjs} +1 -1
  58. package/node/esm/{DvGFJ3jWgilDoY-o.mjs → 8Cdp6eg5fQM4U0CD.mjs} +1 -1
  59. package/node/esm/{COwR3Fxheu0DPRLP.mjs → B94PecmbGgqY0k9O.mjs} +1 -1
  60. package/node/esm/{DQ5ElBxh3p4eEf-S.mjs → BpvIVwL4NNRKuaD7.mjs} +1 -1
  61. package/{browser/esm/CAqfk88YfIoliO4d.mjs → node/esm/Bzw2Xms8ZtifZcAF.mjs} +1 -1
  62. package/{browser/esm/CNIdIOjAvccyPXr3.mjs → node/esm/C9ojFSLlGrdG3EDE.mjs} +1 -1
  63. package/{browser/esm/DMxf-VFi_OTqd9gc.mjs → node/esm/CQXqHgLFDd57bQSy.mjs} +1 -1
  64. package/node/esm/{BmfULQ9Tvl9Tj6g6.mjs → CSg2ysafDv5h1zz2.mjs} +2 -2
  65. package/node/esm/{CzhdzOqIuK76W-yj.mjs → CUqge0vhYI_M8Hpg.mjs} +1 -1
  66. package/{browser/esm/Ba86PynoSVU5QOoi.mjs → node/esm/C__wCYJcwKkBqp8t.mjs} +1 -1
  67. package/node/esm/{sJp2IGtFTuDSGl1b.mjs → Cou0jxSdkKrqQBPA.mjs} +1 -1
  68. package/node/esm/{Cn5UNNumSC9XfUB6.mjs → CtlHMovXY4x1NgI6.mjs} +1 -1
  69. package/node/esm/{D_39jOOBSVOoSkZo.mjs → Ctol2MswJyCxIJcQ.mjs} +1 -1
  70. package/node/esm/{B5lrJQ7Wmo-0lges.mjs → Cv3hTIkdeILrJGYc.mjs} +1 -1
  71. package/{browser/esm/DuvE8uORO-S8QWnA.mjs → node/esm/D7tUJDQqPM4e3FEC.mjs} +1 -1
  72. package/{browser/esm/Bxd49KXOqKJMOqP1.mjs → node/esm/DTlPJulnTLqG3WSw.mjs} +1 -1
  73. package/node/esm/{Dt-u2nR0LA5z4KAx.mjs → Dvg1Ay14DLNhMgmD.mjs} +1 -1
  74. package/{browser/esm/C87M9OV-luNLyaO8.mjs → node/esm/DwfM2tfEPAzMl86c.mjs} +1 -1
  75. package/node/esm/{vfw2WbpSkQNbA_F1.mjs → Dx0TIy0V5EVTNOEZ.mjs} +1 -1
  76. package/node/esm/{Bq2Fy-FoUxnSIVVu.mjs → F5A4vdvxqRt8hFAs.mjs} +1 -1
  77. package/node/esm/{BeqUp9chD8-t-pGl.mjs → NGg21AIVBhRCHoOh.mjs} +1 -1
  78. package/node/esm/{DlrINim9DnHswMyv.mjs → PjtmxdNFMVskYmPB.mjs} +1 -1
  79. package/{browser/esm/LZsSu7999ReB31Wa.mjs → node/esm/a_LQ18tLbXq3N9hu.mjs} +1 -1
  80. package/{browser/esm/CWsGIc7iiJaReTFy.mjs → node/esm/hXx5ZKLpc4RvmCjH.mjs} +1 -1
  81. package/node/esm/index.mjs +766 -744
  82. package/node/esm/{64xhOVrPXMWmdSZV.mjs → lUsLEOryW9viP9g7.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/types/index.d.ts +9 -7
  85. package/types/scripting.d.ts +10 -8
  86. package/browser/cjs/CQtDFiTvjGl3sYuO.cjs +0 -55
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.25
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.27
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.25",
4
+ "version": "0.7.27",
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.25",
47
- "@sheetxl/scripting": "^0.7.25",
48
- "@sheetxl/utils": "^0.7.25",
46
+ "@sheetxl/primitives": "^0.7.27",
47
+ "@sheetxl/scripting": "^0.7.27",
48
+ "@sheetxl/utils": "^0.7.27",
49
49
  "bahttext": "^2.3.0",
50
50
  "bessel": "^1.0.2",
51
51
  "chalk": "^5.6.2",
package/types/index.d.ts CHANGED
@@ -624,8 +624,8 @@ export declare class Calculation extends AbstractModel<State_2, ICalculation.JSO
624
624
  stop(): Promise<void>;
625
625
  /** @inheritdoc ICalculation.getStatus */
626
626
  getStatus(): ICalculation.Status;
627
- /** @inheritdoc ICalculation.calculate */
628
- calculate(options?: ICalculation.CalculateOptions): Promise<void>;
627
+ /** @inheritdoc ICalculation.ready */
628
+ ready(options?: ICalculation.CalculateOptions): Promise<void>;
629
629
  /** @inheritdoc ICalculation.getFunctions */
630
630
  getFunctions(): IFunctionCollection;
631
631
  /** @inheritdoc IFormulaContext.getRuntime */
@@ -2910,12 +2910,13 @@ export declare interface ICalculation extends IModel {
2910
2910
  /** @inheritdoc IFormulaContext.getRuntime */
2911
2911
  getRuntime(): IRuntime;
2912
2912
  /**
2913
- * Calculates all items or waits for current calculations to finished
2913
+ * Returns when all calculations are complete and there are no pending calculations.
2914
2914
  *
2915
2915
  * @remarks
2916
- * This is useful when needing to ensure that the values in the calculation cycle are up-to-date.
2916
+ * * This is useful when needing to ensure that the values in the calculation cycle are up-to-date.
2917
+ * * For streaming functions still will return the current value.
2917
2918
  */
2918
- calculate(options?: ICalculation.CalculateOptions): Promise<void>;
2919
+ ready(): Promise<void>;
2919
2920
  /**
2920
2921
  * Add Listeners.
2921
2922
  *
@@ -14814,12 +14815,13 @@ export declare interface IStyleCollection {
14814
14815
  * Converts a list of `IStyle.Modifiers` that contain shorthand values into native values.
14815
14816
  *
14816
14817
  * @param modifiers {@link IStyle.Modifiers}
14818
+ * @param name Name used to normalize against. This overrides any specified in the modifiers.
14817
14819
  * @returns A valid IStyle.Modifiers with values that match the normal style removed.
14818
14820
  *
14819
14821
  * @remarks
14820
14822
  * Will also remove any value that resolve to the same values as the referenced named style (or Normal if this is not specified).
14821
14823
  */
14822
- normalize(modifiers: IStyle.Modifiers): Partial<IStyle.Modifiers>;
14824
+ normalize(modifiers: IStyle.Modifiers, name?: string): Partial<IStyle.Modifiers>;
14823
14825
  /**
14824
14826
  * Convenience mechanism (and slightly faster) way to call getNamed('Normal').getRanged();
14825
14827
  */
@@ -20375,7 +20377,7 @@ export declare class StyleCollection implements IStyleCollection {
20375
20377
  /** {@inheritDoc IStyleCollection.validateStyleName} */
20376
20378
  validateStyleName(name: string, checkDuplicates?: boolean): void;
20377
20379
  /** {@inheritDoc IStyleCollection.normalize} */
20378
- normalize(values: IStyle.Modifiers): Partial<IStyle.Properties>;
20380
+ normalize(values: IStyle.Modifiers, name?: string): Partial<IStyle.Properties>;
20379
20381
  /** {@inheritDoc IStyleCollection.schemeLookup} */
20380
20382
  schemeLookup(): IColor.SchemeLookup;
20381
20383
  /** {@inheritDoc IStyleCollection.indexedLookup} */
@@ -10135,12 +10135,13 @@ declare module "calculation/ICalculation" {
10135
10135
  /** @inheritdoc IFormulaContext.getRuntime */
10136
10136
  getRuntime(): IRuntime;
10137
10137
  /**
10138
- * Calculates all items or waits for current calculations to finished
10138
+ * Returns when all calculations are complete and there are no pending calculations.
10139
10139
  *
10140
10140
  * @remarks
10141
- * This is useful when needing to ensure that the values in the calculation cycle are up-to-date.
10141
+ * * This is useful when needing to ensure that the values in the calculation cycle are up-to-date.
10142
+ * * For streaming functions still will return the current value.
10142
10143
  */
10143
- calculate(options?: ICalculation.CalculateOptions): Promise<void>;
10144
+ ready(): Promise<void>;
10144
10145
  /**
10145
10146
  * Add Listeners.
10146
10147
  *
@@ -25800,7 +25801,7 @@ declare module "calculation/graph/CalcGraph" {
25800
25801
  import { Tuple, ISparseGrid, ISpatialMap } from "collections/index";
25801
25802
  import { ICalculation } from "calculation/ICalculation";
25802
25803
  import type { ICalcGraph } from "calculation/graph/ICalcGraph";
25803
- import { CalcNode } from "calculation/graph/CalcState";
25804
+ import { type CalcNode } from "calculation/graph/CalcState";
25804
25805
  import type { IFormulaParser } from "calculation/formula/index";
25805
25806
  import { FormulaBlockEntry, PrecedentEntry } from "calculation/spatial/index";
25806
25807
  import { IStringCollection } from "string/index";
@@ -29984,8 +29985,8 @@ declare module "calculation/Calculation" {
29984
29985
  stop(): Promise<void>;
29985
29986
  /** @inheritdoc ICalculation.getStatus */
29986
29987
  getStatus(): ICalculation.Status;
29987
- /** @inheritdoc ICalculation.calculate */
29988
- calculate(options?: ICalculation.CalculateOptions): Promise<void>;
29988
+ /** @inheritdoc ICalculation.ready */
29989
+ ready(options?: ICalculation.CalculateOptions): Promise<void>;
29989
29990
  /** @inheritdoc ICalculation.getFunctions */
29990
29991
  getFunctions(): IFunctionCollection;
29991
29992
  /** @inheritdoc IFormulaContext.getRuntime */
@@ -31234,12 +31235,13 @@ declare module "style/IStyleCollection" {
31234
31235
  * Converts a list of `IStyle.Modifiers` that contain shorthand values into native values.
31235
31236
  *
31236
31237
  * @param modifiers {@link IStyle.Modifiers}
31238
+ * @param name Name used to normalize against. This overrides any specified in the modifiers.
31237
31239
  * @returns A valid IStyle.Modifiers with values that match the normal style removed.
31238
31240
  *
31239
31241
  * @remarks
31240
31242
  * Will also remove any value that resolve to the same values as the referenced named style (or Normal if this is not specified).
31241
31243
  */
31242
- normalize(modifiers: IStyle.Modifiers): Partial<IStyle.Modifiers>;
31244
+ normalize(modifiers: IStyle.Modifiers, name?: string): Partial<IStyle.Modifiers>;
31243
31245
  /**
31244
31246
  * Convenience mechanism (and slightly faster) way to call getNamed('Normal').getRanged();
31245
31247
  */
@@ -31551,7 +31553,7 @@ declare module "style/StyleCollection" {
31551
31553
  /** {@inheritDoc IStyleCollection.validateStyleName} */
31552
31554
  validateStyleName(name: string, checkDuplicates?: boolean): void;
31553
31555
  /** {@inheritDoc IStyleCollection.normalize} */
31554
- normalize(values: IStyle.Modifiers): Partial<IStyle.Properties>;
31556
+ normalize(values: IStyle.Modifiers, name?: string): Partial<IStyle.Properties>;
31555
31557
  /** {@inheritDoc IStyleCollection.schemeLookup} */
31556
31558
  schemeLookup(): IColor.SchemeLookup;
31557
31559
  /** {@inheritDoc IStyleCollection.indexedLookup} */